Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GÉANT Automation Platform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
GÉANT Automation Platform
Commits
c9e17cb4
Verified
Commit
c9e17cb4
authored
1 year ago
by
Karel van Klink
Browse files
Options
Downloads
Patches
Plain Diff
more sensible naming scheme for pipeline stages
Signed-off-by:
Karel van Klink
<
karel.vanklink@geant.org
>
parent
90aa5e02
No related branches found
No related tags found
2 merge requests
!6
[2023-07-14] publish docs
,
!5
add publishing steps for both prod VMs
Pipeline
#83726
failed
1 year ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
.gitlab-ci.yml
docs/.gitlab-ci.yml
+5
-5
5 additions, 5 deletions
docs/.gitlab-ci.yml
with
7 additions
and
6 deletions
.gitlab-ci.yml
+
2
−
1
View file @
c9e17cb4
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
...
...
This diff is collapsed.
Click to expand it.
docs/.gitlab-ci.yml
+
5
−
5
View file @
c9e17cb4
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment