Commit 6f932cf7 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Aktualisieren .gitlab-ci.yml

parent 534605f5
Pipeline #21539 passed with stages
in 15 seconds
......@@ -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: [""]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment