Commit 602d8a1f authored by Olivier Stasse's avatar Olivier Stasse

[gitlab] Update gitlab-ci.

parent e01895b7
variables: variables:
GIT_SSL_NO_VERIFY: "true"
GIT_SUBMODULE_STRATEGY: "recursive" GIT_SUBMODULE_STRATEGY: "recursive"
GIT_DEPTH: "3" GIT_DEPTH: "3"
NAMESPACE: pyrene-dev NAMESPACE: pyrene-dev
PROJECT: talos_metapkg_ros_control_sot PROJECT: talos_metapkg_ros_control_sot
IMAGE: "${CI_REGISTRY}/${NAMESPACE}/${PROJECT}" REGISTRY: gepgitlab.laas.fr:4567
IMAGE: "${REGISTRY}/${NAMESPACE}/${PROJECT}"
CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"
cache: cache:
paths: paths:
- build/ccache - ccache
.robotpkg-talos-metapkg-ros-control-sot: &robotpkg-talos-metapkg-ros-control-sot .robotpkg-talos-metapkg-ros-control-sot: &robotpkg-talos-metapkg-ros-control-sot
variables: variables:
ROBOTPKG: talos-metapkg-ros-control-sot ROBOTPKG: talos-metapkg-ros-control-sot
CATEGORY: wip CATEGORY: wip
except:
- gh-pages
before_script: before_script:
- mkdir -p build/ccache - mkdir -p ccache
- cd build
- export CCACHE_BASEDIR=${PWD}
- export CCACHE_DIR=${PWD}/ccache
script: script:
- cd /root/robotpkg/${CATEGORY}/${ROBOTPKG} - cd /root/robotpkg/${CATEGORY}/${ROBOTPKG}
- git pull - git pull
- echo "MASTER_REPOSITORY = git ${CI_PROJECT_DIR}" >> Makefile - make checkout MASTER_REPOSITORY="dir ${CI_PROJECT_DIR}"
- echo "REPOSITORY.talos-metapkg-ros-control-sot = git ${CI_PROJECT_DIR}" >> /opt/openrobots/etc/robotpkg.conf
- make checkout
- make install - make install
- cd work.*/${PROJECT}*/ - cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
except:
- gh-pages
robotpkg-talos-metapkg-ros-control-sot-14.04: robotpkg-talos-metapkg-ros-control-sot-14.04:
<<: *robotpkg-talos-metapkg-ros-control-sot <<: *robotpkg-talos-metapkg-ros-control-sot
image: ${IMAGE}:14.04 image: ${IMAGE}:14.04
robotpkg-talos-metapkg-ros-control-sot-16.04: robotpkg-talos-metapkg-ros-control-sot-16.04:
<<: *robotpkg-talos-metapkg-ros-control-sot <<: *robotpkg-talos-metapkg-ros-control-sot
image: ${IMAGE}:16.04 image: ${IMAGE}:16.04
robotpkg-talos-metapkg-ros-control-sot-dubnium: robotpkg-talos-metapkg-ros-control-sot-dubnium:
<<: *robotpkg-talos-metapkg-ros-control-sot <<: *robotpkg-talos-metapkg-ros-control-sot
image: ${IMAGE}:dubnium image: ${IMAGE}:dubnium
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment