Skip to content
Snippets Groups Projects
Verified Commit c9e17cb4 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

more sensible naming scheme for pipeline stages

parent 90aa5e02
No related branches found
No related tags found
2 merge requests!6[2023-07-14] publish docs,!5add publishing steps for both prod VMs
Pipeline #83726 failed
stages: stages:
- documentation - documentation
- publish - publish-prod-2
- publish-prod-1
include: include:
# Documentation pipelines, both building and linting # Documentation pipelines, both building and linting
......
...@@ -42,8 +42,8 @@ lint-documentation: ...@@ -42,8 +42,8 @@ lint-documentation:
- vale $CI_PROJECT_DIR/docs/build/html/_sources - vale $CI_PROJECT_DIR/docs/build/html/_sources
##### Publish documentation artefacts ##### Publish documentation artefacts
publish-documentation-1: publish-prod-2:
stage: publish stage: publish-prod-2
# First deploy to prod-2 # First deploy to prod-2
tags: tags:
- gap-docs-prod-2 - gap-docs-prod-2
...@@ -60,14 +60,14 @@ publish-documentation-1: ...@@ -60,14 +60,14 @@ publish-documentation-1:
- mv $CI_PROJECT_DIR/docs/build/html/* /var/www/gap-docs/ - mv $CI_PROJECT_DIR/docs/build/html/* /var/www/gap-docs/
- nginx -s reload - nginx -s reload
publish-documentation-2: publish-prod-1:
stage: publish stage: publish-prod-1
# When successful, also deploy to prod-1 # When successful, also deploy to prod-1
tags: tags:
- gap-docs-prod-1 - gap-docs-prod-1
needs: needs:
- job: publish-documentation-1 # Only run when publishing to prod-2 was successful - job: publish-prod-2 # Only run when publishing to prod-2 was successful
artifacts: true artifacts: true
script: script:
......
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