Skip to content
Snippets Groups Projects
user avatar
Jean-Baptiste Keck authored
ccf82942
History
Name Last commit Last update
..
docker_images
scripts
README.rst

Continuous integration howto

DRAFT !!

Docker reminder

Use docker_images/osname/Dockerfile to create a docker image :

For example:

cd docker_images/debian
docker build -t fperignon/hysop

To start the image:

docker run -ti fperignon/hysop bash

Images list:

docker images

Then tag and push image on docker hub (might need login):

docker tag image_id fperignon/hysop:debian
docker push fperignon/hysop:debian

Pick image id in docker images list.

Gitlab-ci

To use a given docker image in job:

image: fperignon/hysop:debian

The image will be pulled from docker hub.

yml driver

See gitlab-ci documentation : http://docs.gitlab.com/ce/ci/yaml/README.html

In script, use -DCI_CONFIG=<something> option for cmake to send runner information to dashboard.