Commit 75ef75d8 authored by Daniel Wortmann's avatar Daniel Wortmann

Modified gitlab-ci to use Registry for docker images

parent d447bf64
build-gfortran: build-gfortran:
image: ubuntu:16.10 image: iffregistry.fz-juelich.de/fleur/fleur:latest
stage: build stage: build
cache: cache:
paths: paths:
- build - build
script: script:
- apt-get update -qq && apt-get install -y -qq build-essential gfortran gfortran-6 g++-6 gcc-6 binutils-gold git cmake libxml2-dev liblapack-dev libblas-dev doxygen libopenmpi-dev libscalapack-mpi-dev
- cd /builds/fleur/fleur; ./configure.sh GITLAB; cd build; make - cd /builds/fleur/fleur; ./configure.sh GITLAB; cd build; make
test-gfortran: test-gfortran:
image: ubuntu:16.10 image: iffregistry.fz-juelich.de/fleur/fleur:latest
stage: test stage: test
cache: cache:
paths: paths:
- build - build
script: script:
- apt-get update -qq && apt-get install -y -qq build-essential gfortran gfortran-6 g++-6 gcc-6 binutils-gold git cmake libxml2-dev liblapack-dev libblas-dev libopenmpi-dev libscalapack-mpi-dev
- ulimit -s unlimited ;export juDFT_MPI="mpirun -n 2 --allow-run-as-root ";cd /builds/fleur/fleur/build;ctest - ulimit -s unlimited ;export juDFT_MPI="mpirun -n 2 --allow-run-as-root ";cd /builds/fleur/fleur/build;ctest
artifacts: artifacts:
paths: paths:
...@@ -24,13 +22,12 @@ test-gfortran: ...@@ -24,13 +22,12 @@ test-gfortran:
pages: pages:
image: ubuntu:16.10 image: iffregistry.fz-juelich.de/fleur/fleur:latest
stage: deploy stage: deploy
cache: cache:
paths: paths:
- build - build
script: script:
- apt-get update -qq && apt-get install build-essential gfortran gfortran-6 g++-6 gcc-6 binutils-gold git cmake libxml2-dev liblapack-dev libblas-dev libopenmpi-dev libscalapack-mpi-dev doxygen
- cd /builds/fleur/fleur/build ; make doc - cd /builds/fleur/fleur/build ; make doc
- mv docs/html/ ../public/ - mv docs/html/ ../public/
artifacts: artifacts:
......
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