Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wolf_ros_gnss
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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_ros
wolf_ros_gnss
Commits
24612721
Commit
24612721
authored
3 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
[skip ci] Update .gitlab-ci.yml file
parent
8465df95
No related branches found
Branches containing commit
No related tags found
2 merge requests
!3
After cmake and const refactor
,
!2
Resolve "Adapt to core cmake refactor"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+20
-8
20 additions, 8 deletions
.gitlab-ci.yml
with
20 additions
and
8 deletions
.gitlab-ci.yml
+
20
−
8
View file @
24612721
...
...
@@ -4,6 +4,15 @@ stages:
-
demos
############ YAML ANCHORS ############
.print_variables_template
:
&print_variables_definition
# Print variables
-
echo $WOLF_CORE_BRANCH
-
echo $WOLF_GNSS_BRANCH
-
echo $CI_COMMIT_BRANCH
-
echo $WOLF_ROS_NODE_BRANCH
-
echo $WOLF_ROS_GNSS_BRANCH
-
echo $GNSSUTILS_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)
...
...
@@ -90,9 +99,12 @@ stages:
-
if [ -d gnss_utils ]; then
-
echo "directory gnss_utils exists"
-
cd gnss_utils
-
git checkout devel
-
git pull
-
git checkout $GNSSUTILS_BRANCH
-
git pull
-
else
-
git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/gauss_project/gnss_utils.git
-
git clone
-b $GNSSUTILS_BRANCH
ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/gauss_project/gnss_utils.git
-
cd gnss_utils
-
git submodule update --init
-
fi
...
...
@@ -124,17 +136,13 @@ stages:
.clone_wolfrosnode_template
:
&clone_wolfrosnode_definition
-
roscd
-
cd ../src
-
git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_ros/wolf_ros_node.git
-
cd wolf_ros_node
-
git checkout $WOLF_ROS_CORE_BRANCH
-
git clone -b $WOLF_ROS_CORE_BRANCH ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_ros/wolf_ros_node.git
.build_and_test_template
:
&build_and_test_definition
-
roscd
-
cd ../src
-
git clone ssh://git@gitlab.iri.upc.edu:2202/${CI_PROJECT_PATH}.git
-
cd wolf_ros_gnss
-
git checkout $CI_COMMIT_BRANCH
-
cd ../..
-
git clone -b $CI_COMMIT_BRANCH ssh://git@gitlab.iri.upc.edu:2202/${CI_PROJECT_PATH}.git
-
cd ..
-
catkin_make
############ LICENSE HEADERS ############
...
...
@@ -143,6 +151,7 @@ license_headers:
image
:
labrobotica/wolf_deps_ros:20.04
cache
:
[]
before_script
:
-
*print_variables_definition
-
*preliminaries_definition
-
*install_wolf_definition
script
:
...
...
@@ -163,6 +172,7 @@ build_and_test:bionic:
paths
:
-
ci_deps/gnss/
before_script
:
-
*print_variables_definition
-
*preliminaries_definition
-
*install_wolf_definition
-
*install_gnssutils_definition
...
...
@@ -187,6 +197,7 @@ build_and_test:focal:
paths
:
-
ci_deps/gnss/
before_script
:
-
*print_variables_definition
-
*preliminaries_definition
-
*install_wolf_definition
-
*install_gnssutils_definition
...
...
@@ -202,6 +213,7 @@ demo_gnss:
variables
:
WOLF_CORE_BRANCH
:
$WOLF_CORE_BRANCH
WOLF_GNSS_BRANCH
:
$WOLF_GNSS_BRANCH
GNSSUTILS_BRANCH
:
$GNSSUTILS_BRANCH
WOLF_ROS_CORE_BRANCH
:
$WOLF_ROS_CORE_BRANCH
WOLF_ROS_GNSS_BRANCH
:
$CI_COMMIT_BRANCH
trigger
:
...
...
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