Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux.cern.ch
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
linuxsupport
websites
linux.cern.ch
Commits
63ded0f5
Commit
63ded0f5
authored
3 years ago
by
Alex Iribarren
Committed by
Daniel Juarez
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Retry builds up to 3 times
parent
0047eae6
No related branches found
No related tags found
1 merge request
!70
Retry builds up to 3 times
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-2
5 additions, 2 deletions
.gitlab-ci.yml
with
5 additions
and
2 deletions
.gitlab-ci.yml
+
5
−
2
View file @
63ded0f5
...
...
@@ -15,7 +15,7 @@ stages:
.common_script
:
&common_script
|
oc start-build linux-docs --wait
build_test
:
stage
:
build
image
:
gitlab-registry.cern.ch/paas-tools/openshift-client
...
...
@@ -27,6 +27,7 @@ build_test:
# Use double quotes so variable interpolation works, but this requires scaping JSON patch
-
oc patch buildconfig linux-docs -p "{\"spec\":{\"source\":{\"git\":{\"ref\":\"$CI_COMMIT_REF_NAME\"}}}}"
-
*common_script
retry
:
3
except
:
-
master
variables
:
...
...
@@ -40,12 +41,13 @@ build_prod:
-
*common_functions
script
:
-
*common_script
retry
:
3
variables
:
<<
:
*prod_variables
only
:
-
master
# We make linux-qa have the latest pushed changes to master as well so they are synchroni
s
ed
# We make linux-qa have the latest pushed changes to master as well so they are synchroni
z
ed
sync test with prod
:
stage
:
build
image
:
gitlab-registry.cern.ch/paas-tools/openshift-client
...
...
@@ -57,6 +59,7 @@ sync test with prod:
# Use double quotes so variable interpolation works, but this requires scaping JSON patch
-
oc patch buildconfig linux-docs -p "{\"spec\":{\"source\":{\"git\":{\"ref\":\"$CI_COMMIT_REF_NAME\"}}}}"
-
*common_script
retry
:
3
only
:
-
master
variables
:
...
...
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