From 0364637b0d6194864500654932bb3a92ff9bd5b9 Mon Sep 17 00:00:00 2001 From: Timo Beller Date: Mon, 18 Jul 2022 23:41:17 +0200 Subject: [PATCH] =?UTF-8?q?refactor(cache):=20L=C3=B6se=20globalen-Cache?= =?UTF-8?q?=20aus=20common-ci-variablen=20heraus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Für nutzer ist es unerwartet und ggf. unerwünscht, dass beim Einbinden von Variablen ein Cache mitkommt. --- templates/common/common-ci-cache.gitlab-ci.yml | 12 ++++++++++++ templates/common/common-ci-variablen.gitlab-ci.yml | 14 -------------- 2 files changed, 12 insertions(+), 14 deletions(-) create mode 100644 templates/common/common-ci-cache.gitlab-ci.yml diff --git a/templates/common/common-ci-cache.gitlab-ci.yml b/templates/common/common-ci-cache.gitlab-ci.yml new file mode 100644 index 0000000..5ebc06b --- /dev/null +++ b/templates/common/common-ci-cache.gitlab-ci.yml @@ -0,0 +1,12 @@ +cache: + key: "$CI_JOB_NAME" + paths: + # Cache Maven + - .m2/repository + # Cache NPM + #- $FRONTEND_DIR/dist + # Cache Gradle + - .gradle + - '**/build' + - "**/target" + #- "**/node_modules" diff --git a/templates/common/common-ci-variablen.gitlab-ci.yml b/templates/common/common-ci-variablen.gitlab-ci.yml index 5aa84d3..da97c81 100644 --- a/templates/common/common-ci-variablen.gitlab-ci.yml +++ b/templates/common/common-ci-variablen.gitlab-ci.yml @@ -1,17 +1,3 @@ -cache: - key: "$CI_JOB_NAME" - paths: - # Cache Maven - - .m2/repository - # Cache NPM - #- $FRONTEND_DIR/dist - # Cache Gradle - - .gradle - - '**/build' - - "**/target" - #- "**/node_modules" - - variables: ##NPM / Node Settings