Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Schwieger, Jana
lab-k8s
Commits
6f932cf7
Commit
6f932cf7
authored
Nov 12, 2020
by
Nane Kratzke
Browse files
Aktualisieren .gitlab-ci.yml
parent
534605f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6f932cf7
...
...
@@ -3,7 +3,7 @@ variables:
PRIME
:
"
yes"
CACHE
:
"
no"
PERSISTENT_CACHE
:
"
no"
TERMINATE
:
"
yes
"
TERMINATE
:
"
no
"
stages
:
-
prepare
...
...
@@ -26,10 +26,12 @@ prepare:
claim-volume
:
stage
:
prepare
except
:
variables
:
-
$TERMINATE == "yes"
only
:
variables
:
-
$PERSISTENT_CACHE == "yes"
-
$TERMINATE != "yes"
image
:
name
:
$KUBECTL
entrypoint
:
[
"
"
]
...
...
@@ -51,10 +53,12 @@ build-prime:
deploy-prime
:
stage
:
deploy
except
:
variables
:
-
$TERMINATE == "yes"
only
:
variables
:
-
$PRIME == "yes"
-
$TERMINATE != "yes"
image
:
name
:
$KUBECTL
entrypoint
:
[
"
"
]
...
...
@@ -69,11 +73,13 @@ deploy-prime:
deploy-cache
:
stage
:
deploy
except
:
variables
:
-
$TERMINATE == "yes"
only
:
variables
:
-
$CACHE == "yes"
-
$PERSISTENT_CACHE == "no"
-
$TERMINATE != "yes"
image
:
name
:
$KUBECTL
entrypoint
:
[
"
"
]
...
...
@@ -84,11 +90,13 @@ deploy-cache:
deploy-persistent-cache
:
stage
:
deploy
except
:
variables
:
-
$TERMINATE == "yes"
only
:
variables
:
-
$CACHE == "yes"
-
$PERSISTENT_CACHE == "yes"
-
$TERMINATE != "yes"
image
:
name
:
$KUBECTL
entrypoint
:
[
"
"
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment