Commit 46c4bf01 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Aktualisieren .gitlab-ci.yml

parent d42c1c7c
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:
changes:
- prime/*
variables:
- $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: [""]
......
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