Commit 5f509818 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

CI: add deployment to EOS

parent f32007b2
Pipeline #584304 failed with stages
in 11 minutes and 55 seconds
variables:
EOS_PATH: "/eos/project/c/corryvreckan/www/"
variables: variables:
DOCKER_FILE: etc/docker/Dockerfile DOCKER_FILE: etc/docker/Dockerfile
...@@ -249,6 +252,49 @@ pkg:cc7-gcc: ...@@ -249,6 +252,49 @@ pkg:cc7-gcc:
# Automatic Deployment # # Automatic Deployment #
######################## ########################
# Automatically deploy documentation to the website
# Deployment job only executed for new tag pushs, not for every commit.
deploy-documentation:
stage: deployment
tags:
- docker
variables:
GIT_STRATEGY: none
# Only run for new tags:
only:
- tags
dependencies:
- cmp:usermanual
- cmp:doxygen
# Docker image with tools to deploy to EOS
image: gitlab-registry.cern.ch/ci-tools/ci-web-deployer:latest
script:
- deploy-eos
# do not run any globally defined before_script or after_script for this step
before_script: []
after_script: []
deploy-eos:
stage: deployment
tags:
- docker
variables:
GIT_STRATEGY: none
# Only run for new tags:
only:
- tags
- schedules # Only execute this on scheduled "nightly" pipelines
dependencies:
- pkg:cc7-gcc
- pkg:slc6-gcc
# Docker image with tools to deploy to EOS
image: gitlab-registry.cern.ch/ci-tools/ci-web-deployer:latest
script:
- deploy-eos
# do not run any globally defined before_script or after_script for this step
before_script: []
after_script: []
deploy-docker-latest: deploy-docker-latest:
stage: deployment stage: deployment
tags: tags:
......
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