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

ci: printing variables

parent 041c9b49
No related branches found
No related tags found
1 merge request!451After cmake and const refactor
Pipeline #10506 canceled
...@@ -6,7 +6,7 @@ stages: ...@@ -6,7 +6,7 @@ stages:
- deploy_ros - deploy_ros
############ YAML ANCHORS ############ ############ YAML ANCHORS ############
.preliminaries_template: &preliminaries_definition .print_variables_template: &print_variables_definition
# Print variables # Print variables
- echo $CI_COMMIT_BRANCH - echo $CI_COMMIT_BRANCH
- echo $WOLF_IMU_BRANCH - echo $WOLF_IMU_BRANCH
...@@ -25,6 +25,7 @@ stages: ...@@ -25,6 +25,7 @@ stages:
- echo $WOLF_ROS_APRILTAG_BRANCH - echo $WOLF_ROS_APRILTAG_BRANCH
- echo $WOLF_ROS_BODYDYNAMICS_BRANCH - echo $WOLF_ROS_BODYDYNAMICS_BRANCH
.preliminaries_template: &preliminaries_definition
## Install ssh-agent if not already installed, it is required by Docker. ## Install ssh-agent if not already installed, it is required by Docker.
## (change apt-get to yum if you use an RPM-based image) ## (change apt-get to yum if you use an RPM-based image)
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
...@@ -98,6 +99,7 @@ license_header: ...@@ -98,6 +99,7 @@ license_header:
stage: license stage: license
image: labrobotica/wolf_deps:20.04 image: labrobotica/wolf_deps:20.04
before_script: before_script:
- *print_variables_definition
- *preliminaries_definition - *preliminaries_definition
script: script:
- *license_header_definition - *license_header_definition
...@@ -107,6 +109,7 @@ build_and_test:bionic: ...@@ -107,6 +109,7 @@ build_and_test:bionic:
stage: build_and_test stage: build_and_test
image: labrobotica/wolf_deps:18.04 image: labrobotica/wolf_deps:18.04
script: script:
- *print_variables_definition
- *build_and_test_definition - *build_and_test_definition
############ UBUNTU 20.04 TESTS ############ ############ UBUNTU 20.04 TESTS ############
...@@ -114,6 +117,7 @@ build_and_test:focal: ...@@ -114,6 +117,7 @@ build_and_test:focal:
stage: build_and_test stage: build_and_test
image: labrobotica/wolf_deps:20.04 image: labrobotica/wolf_deps:20.04
script: script:
- *print_variables_definition
- *build_and_test_definition - *build_and_test_definition
############ DEPLOY PLUGINS ANY BRANCY EXCEPT FOR main ############ ############ DEPLOY PLUGINS ANY BRANCY EXCEPT FOR main ############
......
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