Skip to content
Snippets Groups Projects
Commit 61996a56 authored by Ben Couturier's avatar Ben Couturier
Browse files

Added stage to trigger deployment to CVMFS

parent 836ea5e8
No related branches found
No related tags found
1 merge request!23Added tool to trigger the update of CVMFS
Pipeline #2624243 failed
......@@ -11,6 +11,7 @@
stages:
- test
- run
- deploy
image: registry.cern.ch/docker.io/library/python:3.8
......@@ -92,3 +93,11 @@ generate_projects_platforms:
expire_in: 1 year
script:
- lb-projects-platforms /cvmfs/lhcb.cern.ch/lib/ ./data/stacks | tee projects_platforms.json
trigger_deploy_to_cvmfs:
extends: .setup_environment
stage: deploy
only:
- master
script:
- lb-deploy-metadata "${CI_PIPELINE_ID}"
......@@ -39,6 +39,7 @@ console_scripts =
lb-projects = lhcbstacks.cli:projects_json
lb-projects-platforms = lhcbstacks.cli:projects_platforms_json
lb-cmp-projects-platforms = lhcbstacks.cli:compare_projects_platforms_json
lb-deploy-metadata = lhcbstacks.deploy:main
###############################################################################
# Linting
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment