Commit d20f938b authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Update .gitlab-ci.yml

parent aecae66a
image: "transit/kubectl-plus:v1.19.4"
variables:
KUBECTL: "quay.io/bitnami/kubectl:1.18"
PRIME: "no"
CACHE: "no" # one of "no", "in-memory", "persistent"
TERMINATE: "no"
......@@ -15,9 +16,6 @@ prepare:
only:
variables:
- $PRIME == "yes"
image:
name: $KUBECTL
entrypoint: [""]
script:
- kubectl delete secret gitlab-registry-credentials || true
- "kubectl create secret docker-registry gitlab-registry-credentials \
......@@ -63,9 +61,6 @@ deploy-prime:
only:
variables:
- $PRIME == "yes"
image:
name: $KUBECTL
entrypoint: [""]
script:
- echo prime-$GITLAB_USER_ID.loki.th-luebeck.dev
- wget -q https://github.com/mikefarah/yq/releases/download/3.4.0/yq_linux_amd64 -O ./yq && chmod +x yq
......@@ -81,9 +76,6 @@ deploy-cache:
only:
variables:
- $CACHE == "in-memory"
image:
name: $KUBECTL
entrypoint: [""]
script:
- kubectl delete -f deploy/persistent-redis || true
- kubectl apply -f deploy/redis
......@@ -96,9 +88,6 @@ deploy-persistent-cache:
only:
variables:
- $CACHE == "persistent"
image:
name: $KUBECTL
entrypoint: [""]
script:
- kubectl delete -f deploy/redis || true
- kubectl apply -f deploy/persistent-redis
......@@ -108,9 +97,6 @@ terminate:
only:
variables:
- $TERMINATE == "yes"
image:
name: $KUBECTL
entrypoint: [""]
script:
- kubectl delete -f deploy/redis || true
- kubectl delete -f deploy/redis-persistent || true
......
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