Commit 7d205011 authored by Guilhem Saurel's avatar Guilhem Saurel Committed by jcarpent
Browse files

[Gitlab-ci] add zesty

parent b74dcb66
...@@ -27,3 +27,11 @@ build_minimal_16: ...@@ -27,3 +27,11 @@ build_minimal_16:
build_full_16: build_full_16:
<<: *build <<: *build
image: eur0c.laas.fr:4567/stack-of-tasks/pinocchio/full:16.04 image: eur0c.laas.fr:4567/stack-of-tasks/pinocchio/full:16.04
build_minimal_zesty:
<<: *build
image: eur0c.laas.fr:4567/stack-of-tasks/pinocchio/minimal:zesty
build_full_zesty:
<<: *build
image: eur0c.laas.fr:4567/stack-of-tasks/pinocchio/full:zesty
FROM eur0c.laas.fr:4567/stack-of-tasks/pinocchio/minimal:zesty
RUN apt install -qqy doxygen robotpkg-hpp-fcl liburdfdom-dev
FROM eur0c.laas.fr:4567/stack-of-tasks/pinocchio/robotpkg:zesty
RUN apt update -qqy && apt install -qqy \
cmake \
g++ \
pkg-config \
libboost-test-dev \
libboost-filesystem-dev \
libeigen3-dev \
libpython-dev \
libboost-python-dev \
python-numpy \
robotpkg-eigenpy
FROM ubuntu:zesty
RUN echo "deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub zesty robotpkg" > /etc/apt/sources.list.d/robotpkg.list
RUN apt-key adv --keyserver hkp://pgp.mit.edu --recv-key BC48D7C832FF7241
ENV OPENROB /opt/openrobots
ENV CMAKE_PREFIX_PATH $OPENROB:$CMAKE_PREFIX_PATH
ENV LD_LIBRARY_PATH $OPENROB/lib:$OPENROB/lib/plugin:$LD_LIBRARY_PATH
ENV PATH $OPENROB/bin:$OPENROB/sbin:$PATH
ENV PKG_CONFIG_PATH $OPENROB/lib/pkgconfig:$PKG_CONFIG_PATH
ENV PYTHONPATH $OPENROB/lib/python2.7/site-packages:$PYTHONPATH
ENV ROS_PACKAGE_PATH $OPENROB/share:$ROS_PACKAGE_PATH
```
docker build -t eur0c.laas.fr:4567/stack-of-tasks/pinocchio/robotpkg:16.04 -f Dockerfile.robotpkg.16 .
docker build -t eur0c.laas.fr:4567/stack-of-tasks/pinocchio/robotpkg:14.04 -f Dockerfile.robotpkg.14 .
docker build -t eur0c.laas.fr:4567/stack-of-tasks/pinocchio/minimal:16.04 -f Dockerfile.minimal.16 .
docker build -t eur0c.laas.fr:4567/stack-of-tasks/pinocchio/minimal:14.04 -f Dockerfile.minimal.14 .
docker build -t eur0c.laas.fr:4567/stack-of-tasks/pinocchio/full:16.04 -f Dockerfile.full.16 .
docker build -t eur0c.laas.fr:4567/stack-of-tasks/pinocchio/full:14.04 -f Dockerfile.full.14 .
docker push eur0c.laas.fr:4567/stack-of-tasks/pinocchio/robotpkg:16.04
docker push eur0c.laas.fr:4567/stack-of-tasks/pinocchio/robotpkg:14.04
docker push eur0c.laas.fr:4567/stack-of-tasks/pinocchio/minimal:16.04
docker push eur0c.laas.fr:4567/stack-of-tasks/pinocchio/minimal:14.04
docker push eur0c.laas.fr:4567/stack-of-tasks/pinocchio/full:16.04
docker push eur0c.laas.fr:4567/stack-of-tasks/pinocchio/full:14.04
```
#!/bin/bash
set -e
for tag in 14.04 16.04 zesty
do
(
docker pull ubuntu:$tag
docker build -t eur0c.laas.fr:4567/stack-of-tasks/pinocchio/robotpkg:$tag -f Dockerfile.robotpkg.$tag .
docker push eur0c.laas.fr:4567/stack-of-tasks/pinocchio/robotpkg:$tag &
docker build -t eur0c.laas.fr:4567/stack-of-tasks/pinocchio/minimal:$tag -f Dockerfile.minimal.$tag .
docker push eur0c.laas.fr:4567/stack-of-tasks/pinocchio/minimal:$tag &
docker build -t eur0c.laas.fr:4567/stack-of-tasks/pinocchio/full:$tag -f Dockerfile.full.$tag .
docker push eur0c.laas.fr:4567/stack-of-tasks/pinocchio/full:$tag
) &
done
wait
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