Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mick, Johanna
lab-k8s
Commits
9e50e3c2
Commit
9e50e3c2
authored
Nov 12, 2020
by
Nane Kratzke
Browse files
Aktualisieren .gitlab-ci.yml
parent
6f932cf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9e50e3c2
variables
:
KUBECTL
:
"
quay.io/bitnami/kubectl:1.18"
PRIME
:
"
yes"
CACHE
:
"
no"
INMEM_
CACHE
:
"
no"
PERSISTENT_CACHE
:
"
no"
TERMINATE
:
"
no"
...
...
@@ -17,7 +17,6 @@ prepare:
name
:
$KUBECTL
entrypoint
:
[
"
"
]
script
:
-
kubectl apply -f deploy/storage
-
kubectl delete secret gitlab-registry-credentials ||
true
-
"
kubectl
create
secret
docker-registry
gitlab-registry-credentials
\
--docker-server=$CI_REGISTRY
\
...
...
@@ -78,8 +77,7 @@ deploy-cache:
-
$TERMINATE == "yes"
only
:
variables
:
-
$CACHE == "yes"
-
$PERSISTENT_CACHE == "no"
-
$INMEM_CACHE == "yes"
image
:
name
:
$KUBECTL
entrypoint
:
[
"
"
]
...
...
@@ -95,7 +93,6 @@ deploy-persistent-cache:
-
$TERMINATE == "yes"
only
:
variables
:
-
$CACHE == "yes"
-
$PERSISTENT_CACHE == "yes"
image
:
name
:
$KUBECTL
...
...
Write
Preview
Markdown
is supported
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