Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
wolf
Commits
a214d976
Commit
a214d976
authored
3 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
ci: printing variables
parent
041c9b49
No related branches found
No related tags found
1 merge request
!451
After cmake and const refactor
Pipeline
#10506
canceled
3 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-1
5 additions, 1 deletion
.gitlab-ci.yml
with
5 additions
and
1 deletion
.gitlab-ci.yml
+
5
−
1
View file @
a214d976
...
@@ -6,7 +6,7 @@ stages:
...
@@ -6,7 +6,7 @@ stages:
-
deploy_ros
-
deploy_ros
############ YAML ANCHORS ############
############ YAML ANCHORS ############
.pr
eliminari
es_template
:
&pr
eliminari
es_definition
.pr
int_variabl
es_template
:
&pr
int_variabl
es_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 ############
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment