.gitlab-ci.yml 2.47 KB
Newer Older
Guilhem Saurel's avatar
Guilhem Saurel committed
1
variables:
2 3 4 5
  GIT_SUBMODULE_STRATEGY: "recursive"
  GIT_DEPTH: "3"
  NAMESPACE: pyrene-dev
  PROJECT: talos_metapkg_ros_control_sot
Olivier Stasse's avatar
Olivier Stasse committed
6 7 8 9
  REGISTRY: gepgitlab.laas.fr:4567
  IMAGE: "${REGISTRY}/${NAMESPACE}/${PROJECT}"
  CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
  CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"
Guilhem Saurel's avatar
Guilhem Saurel committed
10

11 12
cache:
  paths:
Olivier Stasse's avatar
Olivier Stasse committed
13
    - ccache
14 15 16 17 18 19


.robotpkg-talos-metapkg-ros-control-sot: &robotpkg-talos-metapkg-ros-control-sot
  variables:
    ROBOTPKG: talos-metapkg-ros-control-sot
    CATEGORY: wip
Olivier Stasse's avatar
Olivier Stasse committed
20 21
  except:
    - gh-pages
Guilhem Saurel's avatar
Guilhem Saurel committed
22
  before_script:
Olivier Stasse's avatar
Olivier Stasse committed
23
    - mkdir -p ccache
Guilhem Saurel's avatar
Guilhem Saurel committed
24
  script:
25
    - cd /root/robotpkg/${CATEGORY}/${ROBOTPKG}
Guilhem Saurel's avatar
Guilhem Saurel committed
26
    - git pull
27
<<<<<<< HEAD
Olivier Stasse's avatar
Olivier Stasse committed
28
    - make checkout MASTER_REPOSITORY="dir ${CI_PROJECT_DIR}"
29
=======
Olivier Stasse's avatar
Olivier Stasse committed
30 31
    - echo "MASTER_REPOSITORY = git ${CI_PROJECT_DIR}" >> Makefile
    - echo "REPOSITORY.talos-metapkg-ros-control-sot = git ${CI_PROJECT_DIR}" >> /opt/openrobots/etc/robotpkg.conf
32
    - echo "ACCEPTABLE_LICENSES+=pal-license" >> /opt/openrobots/etc/robotpkg.conf
Olivier Stasse's avatar
Olivier Stasse committed
33
    - make checkout
34
>>>>>>> 6c3328158e5a7d6aaad1001c19e64e76df813aa1
35
    - make install
Olivier Stasse's avatar
Olivier Stasse committed
36 37 38
    - cd work.$(hostname)/$(make show-var VARNAME=DISTNAME)
    
    
39

Guilhem Saurel's avatar
Guilhem Saurel committed
40

41 42
robotpkg-talos-metapkg-ros-control-sot-14.04:
  <<: *robotpkg-talos-metapkg-ros-control-sot
Olivier Stasse's avatar
Olivier Stasse committed
43 44 45 46 47
  before_script:
    - mkdir -p build/ccache
    - cd build
    - export CCACHE_BASEDIR=${PWD}
    - export CCACHE_DIR=${PWD}/ccache
Olivier Stasse's avatar
Olivier Stasse committed
48
    - apt-get update    
49
    - apt-get install -y ros-indigo-twist-mux ros-indigo-joy-teleop ros-indigo-moveit-ros-move-group  ros-indigo-humanoid-nav-msgs ros-indigo-four-wheel-steering-msgs 
50
  image: ${IMAGE}:14.04
Guilhem Saurel's avatar
Guilhem Saurel committed
51

Olivier Stasse's avatar
Olivier Stasse committed
52

53 54
robotpkg-talos-metapkg-ros-control-sot-16.04:
  <<: *robotpkg-talos-metapkg-ros-control-sot
Olivier Stasse's avatar
Olivier Stasse committed
55 56 57 58 59
  before_script:
    - mkdir -p build/ccache
    - cd build
    - export CCACHE_BASEDIR=${PWD}
    - export CCACHE_DIR=${PWD}/ccache
60
    - apt-get update        
61
    - apt-get install -y ros-kinetic-twist-mux ros-kinetic-joy-teleop ros-kinetic-moveit-ros-move-group  ros-kinetic-humanoid-nav-msgs ros-kinetic-four-wheel-steering-msgs ros-kinetic-urdf-geometry-parser  
62
  image: ${IMAGE}:16.04
Olivier Stasse's avatar
Olivier Stasse committed
63 64


Olivier Stasse's avatar
Olivier Stasse committed
65 66
robotpkg-talos-metapkg-ros-control-sot-dubnium:
  <<: *robotpkg-talos-metapkg-ros-control-sot
Olivier Stasse's avatar
Olivier Stasse committed
67 68 69 70 71
  before_script:
    - mkdir -p build/ccache
    - cd build
    - export CCACHE_BASEDIR=${PWD}
    - export CCACHE_DIR=${PWD}/ccache
Olivier Stasse's avatar
Olivier Stasse committed
72
    - apt-get update
73
    - apt-get install ros-indigo-twist-mux ros-indigo-joy-teleop ros-indigo-moveit-ros-move-group  ros-indigo-humanoid-nav-msgs ros-indigo-four-wheel-steering-msgs ros-indigo-urdf-geometry-parser
Olivier Stasse's avatar
Olivier Stasse committed
74
  image: ${IMAGE}:dubnium
Olivier Stasse's avatar
Olivier Stasse committed
75 76 77