Commit 2ff9d8f6 authored by Auke Klazema's avatar Auke Klazema

TMSS-143: Use a separate stage for dockerizing

parent c6998971
stages:
- prepare
- build
- dockerize
- unit_test
- deploy
# - integration_test
......@@ -56,7 +57,20 @@ build_TMSS:
- cmake -DBUILD_PACKAGES=$PACKAGE -DCASACORE_ROOT_DIR=/opt/casacore/ -DCASAREST_ROOT_DIR=/opt/casarest/ -DCMAKE_INSTALL_PREFIX=/opt/lofar -DUSE_LOG4CPLUS=false ../..
- make -j 6
- make DESTDIR=../../install install
- cd ../..
dependencies:
- prepare_RAServices
artifacts:
expire_in: 6 hours
paths:
- install
#
# DOCKERIZE
#
dockerize_TMSS:
stage: dockerize
script:
- cd install
- docker build -t tmss_django:$CI_COMMIT_SHORT_SHA -f docker/Dockerfile-tmss .
- cd ..
......@@ -69,11 +83,7 @@ build_TMSS:
- docker push nexus.cep4.control.lofar:18080/tmss_testprovider:$CI_COMMIT_SHORT_SHA
- docker logout $CI_NEXUS_REGISTRY
dependencies:
- prepare_RAServices
artifacts:
expire_in: 6 hours
paths:
- install
- build_TMSS
#
# UNIT TEST STAGE
......
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