The code.ill.fr has been recreated and upgraded with the latest version this weekend, If you encounter any problem please inform the Helpdesk.

Commit 1d98f7ea authored by eric pellegrini's avatar eric pellegrini
Browse files

added docker support for mdanse build on ubuntu xenial

parent 1a955467
Pipeline #3753 failed with stages
in 10 minutes and 49 seconds
stages: stages:
- ci - ci
- deploy - deploy
- clean
# osx pipeline
ci:ubunutu-xenial:
stage: ci
image: docker:stable
# When using dind, it's wise to use the overlayfs driver for
# improved performance.
variables:
DOCKER_DRIVER: overlay2
services:
- docker.ill.fr/si/dind/image:latest
before_script:
- docker login -u gitlab-ci-token -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
script:
- docker build --force-rm --build-arg MDANSE_GIT_COMMIT=${CI_COMMIT_SHA} -t build_xenial -f ./BuildServer/Docker/build/Dockerfile_build .
after_script:
- docker logout
allow_failure: false
only:
- triggers
- tags
- release
- hotfix
- develop
- /^feature-.*$/
- /^bugfix-.*$/
tags:
- macos10.13
# osx pipeline # osx pipeline
ci:osx: ci:osx:
...@@ -10,7 +36,6 @@ ci:osx: ...@@ -10,7 +36,6 @@ ci:osx:
script: script:
- source ./BuildServer/Unix/definitions_macos.sh - source ./BuildServer/Unix/definitions_macos.sh
- source ./BuildServer/Unix/version.sh - source ./BuildServer/Unix/version.sh
- ./BuildServer/Unix/clean.sh
- ./BuildServer/Unix/build.sh - ./BuildServer/Unix/build.sh
- ./BuildServer/Unix/tests.sh - ./BuildServer/Unix/tests.sh
allow_failure: false allow_failure: false
...@@ -28,6 +53,7 @@ ci:osx: ...@@ -28,6 +53,7 @@ ci:osx:
expire_in: 1 day expire_in: 1 day
tags: tags:
- macos10.13 - macos10.13
deploy:osx: deploy:osx:
stage: deploy stage: deploy
script: script:
...@@ -42,13 +68,6 @@ deploy:osx: ...@@ -42,13 +68,6 @@ deploy:osx:
- BuildServer/MDANSE*.dmg - BuildServer/MDANSE*.dmg
tags: tags:
- macos10.13 - macos10.13
clean:osx:
stage: clean
script:
- source ./BuildServer/Unix/definitions_macos.sh
- ./BuildServer/Unix/clean.sh
tags:
- macos10.13
# windows 7 pipeline # windows 7 pipeline
# "call" is mandatory, see https://gitlab.com/gitlab-org/gitlab-runner/issues/1051 # "call" is mandatory, see https://gitlab.com/gitlab-org/gitlab-runner/issues/1051
...@@ -57,7 +76,6 @@ ci:windows: ...@@ -57,7 +76,6 @@ ci:windows:
script: script:
- call .\\BuildServer\\Windows\\definitions.bat - call .\\BuildServer\\Windows\\definitions.bat
- call .\\BuildServer\\Windows\\version.bat - call .\\BuildServer\\Windows\\version.bat
- call .\\BuildServer\\Windows\\clean.bat
- call .\\BuildServer\\Windows\\build.bat - call .\\BuildServer\\Windows\\build.bat
- call .\\BuildServer\\Windows\\tests.bat - call .\\BuildServer\\Windows\\tests.bat
allow_failure: false allow_failure: false
...@@ -75,6 +93,7 @@ ci:windows: ...@@ -75,6 +93,7 @@ ci:windows:
expire_in: 1 day expire_in: 1 day
tags: tags:
- windows10 - windows10
deploy:windows: deploy:windows:
stage: deploy stage: deploy
script: script:
...@@ -89,10 +108,4 @@ deploy:windows: ...@@ -89,10 +108,4 @@ deploy:windows:
- BuildServer\\MDANSE*.exe - BuildServer\\MDANSE*.exe
tags: tags:
- windows10 - windows10
clean:windows:
stage: clean
script:
- call .\\BuildServer\\Windows\\definitions.bat
- call .\\BuildServer\\Windows\\clean.bat
tags:
- windows10
FROM ubuntu:xenial
RUN apt-get update
RUN apt-get upgrade
RUN apt-get install -y --no-install-recommends fakeroot
RUN apt-get install -y --no-install-recommends git
RUN apt-get install -y --no-install-recommends graphviz
RUN apt-get install -y --no-install-recommends dos2unix
RUN apt-get install -y --no-install-recommends texlive-full
RUN apt-get install -y --no-install-recommends texlive-latex-extra
RUN apt-get install -y --no-install-recommends libnetcdf-dev
RUN apt-get install -y --no-install-recommends g++
RUN apt-get install -y --no-install-recommends cython
RUN apt-get install -y --no-install-recommends python-dev
RUN apt-get install -y --no-install-recommends python-wxmpl
RUN apt-get install -y --no-install-recommends python-vtk
RUN apt-get install -y --no-install-recommends python-nose
RUN apt-get install -y --no-install-recommends python-sphinx
RUN apt-get install -y --no-install-recommends pyro
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