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

random branch name

parent 440a19aa
No related branches found
No related tags found
1 merge request!430Resolve "Change destination of libxxx.so for WOLF and dependencies"
Pipeline #7761 failed
stages:
- license
- build_and_test
- deploy
- final
############ YAML ANCHORS ############ ############ YAML ANCHORS ############
.preliminaries_template: &preliminaries_definition .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.
...@@ -24,7 +30,8 @@ ...@@ -24,7 +30,8 @@
- cd $CI_PROJECT_DIR - cd $CI_PROJECT_DIR
# configure git # configure git
- export CI_NEW_BRANCH=ci_processing$CI_COMMIT_SHORT_SHA - export CI_NEW_BRANCH=ci_processing$RANDOM
- echo creating new temporary branch... $CI_NEW_BRANCH
- git config --global user.email "${CI_EMAIL}" - git config --global user.email "${CI_EMAIL}"
- git config --global user.name "${CI_USERNAME}" - git config --global user.name "${CI_USERNAME}"
- git checkout -b $CI_NEW_BRANCH # temporary branch - git checkout -b $CI_NEW_BRANCH # temporary branch
...@@ -67,12 +74,7 @@ ...@@ -67,12 +74,7 @@
- ../bin/hello_wolf_autoconf - ../bin/hello_wolf_autoconf
- make install - make install
stages: ############ LICENSE HEADERS ############
- license
- build_and_test
- deploy
- final
license_header: license_header:
stage: license stage: license
image: labrobotica/wolf_deps:16.04 image: labrobotica/wolf_deps:16.04
...@@ -81,6 +83,7 @@ license_header: ...@@ -81,6 +83,7 @@ license_header:
script: script:
- *license_header_definition - *license_header_definition
############ UBUNTU 16.04 TESTS ############
build_and_test:xenial: build_and_test:xenial:
stage: build_and_test stage: build_and_test
image: labrobotica/wolf_deps:16.04 image: labrobotica/wolf_deps:16.04
...@@ -89,6 +92,7 @@ build_and_test:xenial: ...@@ -89,6 +92,7 @@ build_and_test:xenial:
script: script:
- *build_and_test_definition - *build_and_test_definition
############ UBUNTU 18.04 TESTS ############
build_and_test:bionic: build_and_test:bionic:
stage: build_and_test stage: build_and_test
image: labrobotica/wolf_deps:18.04 image: labrobotica/wolf_deps:18.04
...@@ -97,6 +101,7 @@ build_and_test:bionic: ...@@ -97,6 +101,7 @@ build_and_test:bionic:
script: script:
- *build_and_test_definition - *build_and_test_definition
############ DEPLOY PLUGINS ############
deploy_imu: deploy_imu:
stage: deploy stage: deploy
variables: variables:
...@@ -145,7 +150,8 @@ deploy_bodydynamics: ...@@ -145,7 +150,8 @@ deploy_bodydynamics:
project: mobile_robotics/wolf_projects/wolf_lib/plugins/bodydynamics project: mobile_robotics/wolf_projects/wolf_lib/plugins/bodydynamics
strategy: depend strategy: depend
############ WAIT FOR PLUGINS ############
final_all: final_all:
stage: final stage: final
script: script:
- echo "ALL PLUGINS PIPELINES SUCCEED!!!" - echo "ALL PLUGINS PIPELINES SUCCEED!!!"
\ No newline at end of file
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