Skip to content
Snippets Groups Projects
Commit 9482b0a6 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

[skip ci] take and print variables

parent d18d25e3
No related branches found
No related tags found
2 merge requests!6After cmake and const refactor,!5Resolve "Adapt to core cmake refactor"
......@@ -4,6 +4,13 @@ stages:
- demos
############ YAML ANCHORS ############
.print_variables_template: &print_variables_definition
# Print variables
- echo $WOLF_CORE_BRANCH
- echo $CI_COMMIT_BRANCH
- echo $WOLF_LASER_BRANCH
- echo $LASERSCANUTILS_BRANCH
.preliminaries_template: &preliminaries_definition
## Install ssh-agent if not already installed, it is required by Docker.
## (change apt-get to yum if you use an RPM-based image)
......@@ -91,9 +98,12 @@ stages:
- if [ -d laser_scan_utils ]; then
- echo "directory laser_scan_utils exists"
- cd laser_scan_utils
- git checkout main
- git pull
- git checkout $LASERSCANUTILS_BRANCH
- git pull
- else
- git clone https://gitlab.iri.upc.edu/labrobotica/algorithms/laser_scan_utils.git
- git clone -b $LASERSCANUTILS_BRANCH https://gitlab.iri.upc.edu/labrobotica/algorithms/laser_scan_utils.git
- cd laser_scan_utils
- fi
- mkdir -pv build
......@@ -179,6 +189,7 @@ license_headers:
image: labrobotica/wolf_deps_ros:20.04
cache: []
before_script:
- *print_variables_definition
- *preliminaries_definition
- *install_wolf_definition
script:
......@@ -193,6 +204,7 @@ build_and_test:bionic:
paths:
- ci_deps
before_script:
- *print_variables_definition
- *preliminaries_definition
- *install_wolf_definition
- *install_csm_definition
......@@ -212,6 +224,7 @@ build_and_test:focal:
paths:
- ci_deps
before_script:
- *print_variables_definition
- *preliminaries_definition
- *install_wolf_definition
- *install_csm_definition
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment