Commit 2ceb3de5 authored by eric pellegrini's avatar eric pellegrini
Browse files

Implemented the artefact build for xenial

parent f0ec442d
Pipeline #3760 failed with stages
in 10 minutes and 16 seconds
......@@ -15,7 +15,9 @@ ci:ubuntu_xenial:
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/Builder/Dockerfile_build .
- docker build --force-rm --build-arg MDANSE_GIT_COMMIT=${CI_COMMIT_SHA} -t build_xenial -f ./BuildServer/Docker/Builder/Dockerfile_deploy .
- docker cp build_xenial:/mdanse/BuildServer/*.deb .
- docker rmi build_xenial
after_script:
- docker logout
allow_failure: false
......@@ -27,6 +29,9 @@ ci:ubuntu_xenial:
- develop
- /^feature-.*$/
- /^bugfix-.*$/
artifacts:
paths:
- ./*.deb
tags:
- docker
- sci
......
FROM docker.ill.fr/scientific-software/mdanse:ubuntu-xenial
SHELL ["/bin/bash", "-c"]
ARG MDANSE_GIT_COMMIT
RUN GIT_SSL_NO_VERIFY=true git clone https://code.ill.fr/scientific-software/mdanse.git
WORKDIR mdanse
RUN git checkout ${MDANSE_GIT_COMMIT}
RUN source ./BuildServer/Unix/definitions_debian.sh ; source ./BuildServer/Unix/version.sh ; ./BuildServer/Unix/build.sh
RUN source ./BuildServer/Unix/definitions_debian.sh ; source ./BuildServer/Unix/version.sh ; ./BuildServer/Unix/tests.sh
RUN source ./BuildServer/Unix/definitions_debian.sh ; source ./BuildServer/Unix/version.sh ; ./BuildServer/Unix/deploy_debian.sh
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