From a214d9765f6ed8fd63b44c52352d37cbf509adbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu> Date: Mon, 9 May 2022 12:35:55 +0200 Subject: [PATCH] ci: printing variables --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f47ad12a5..ee8e12ffd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ stages: - deploy_ros ############ YAML ANCHORS ############ -.preliminaries_template: &preliminaries_definition +.print_variables_template: &print_variables_definition # Print variables - echo $CI_COMMIT_BRANCH - echo $WOLF_IMU_BRANCH @@ -25,6 +25,7 @@ stages: - echo $WOLF_ROS_APRILTAG_BRANCH - echo $WOLF_ROS_BODYDYNAMICS_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) - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' @@ -98,6 +99,7 @@ license_header: stage: license image: labrobotica/wolf_deps:20.04 before_script: + - *print_variables_definition - *preliminaries_definition script: - *license_header_definition @@ -107,6 +109,7 @@ build_and_test:bionic: stage: build_and_test image: labrobotica/wolf_deps:18.04 script: + - *print_variables_definition - *build_and_test_definition ############ UBUNTU 20.04 TESTS ############ @@ -114,6 +117,7 @@ build_and_test:focal: stage: build_and_test image: labrobotica/wolf_deps:20.04 script: + - *print_variables_definition - *build_and_test_definition ############ DEPLOY PLUGINS ANY BRANCY EXCEPT FOR main ############ -- GitLab