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
Rogge, Torben
lab-k8s
Commits
46c4bf01
Commit
46c4bf01
authored
Nov 12, 2020
by
Nane Kratzke
Browse files
Aktualisieren .gitlab-ci.yml
parent
d42c1c7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
46c4bf01
variables
:
KUBECTL
:
"
quay.io/bitnami/kubectl:1.18"
PRIME
:
"
yes"
INMEM_CACHE
:
"
no"
PERSISTENT_CACHE
:
"
no"
PRIME
:
"
no"
CACHE
:
"
no"
# one of "no", "in-memory", "persistent"
TERMINATE
:
"
no"
stages
:
...
...
@@ -13,6 +12,9 @@ stages:
prepare
:
stage
:
prepare
only
:
variables
:
-
$PRIME == "yes"
image
:
name
:
$KUBECTL
entrypoint
:
[
"
"
]
...
...
@@ -30,7 +32,7 @@ claim-volume:
-
$TERMINATE == "yes"
only
:
variables
:
-
$
PERSISTENT_CACHE == "yes
"
-
$
CACHE == "persistent
"
image
:
name
:
$KUBECTL
entrypoint
:
[
"
"
]
...
...
@@ -40,8 +42,8 @@ claim-volume:
build-prime
:
stage
:
build
only
:
chang
es
:
-
prime/*
variabl
es
:
-
$PRIME == "yes"
services
:
-
docker:dind
script
:
...
...
@@ -77,7 +79,7 @@ deploy-cache:
-
$TERMINATE == "yes"
only
:
variables
:
-
$
INMEM_
CACHE == "
yes
"
-
$CACHE == "
in-memory
"
image
:
name
:
$KUBECTL
entrypoint
:
[
"
"
]
...
...
@@ -93,7 +95,7 @@ deploy-persistent-cache:
-
$TERMINATE == "yes"
only
:
variables
:
-
$
PERSISTENT_CACHE == "yes
"
-
$
CACHE == "persistent
"
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