diff --git a/includes/cache.yml b/includes/cache.yml index 434f372cbde4c77caddf41b83bb03342793dada3..a3bde03fca1d7943d74aa57d4aaf07f697af2478 100644 --- a/includes/cache.yml +++ b/includes/cache.yml @@ -1,6 +1,8 @@ .cache-node-modules: cache: - key: "$CI_COMMIT_REF_SLUG" # we have a fallback configured using CACHE_FALLBACK_KEY + key: node-modules + # unfortunatly CACHE_FALLBACK_KEY is broken https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27293 + #key: "$CI_COMMIT_REF_SLUG" # we have a fallback configured using CACHE_FALLBACK_KEY policy: pull-push paths: - "$APP_DIR/node_modules/" diff --git a/panter-kubernetes-base.yml b/panter-kubernetes-base.yml index c6f041c48f065cf0ef785069995335be41eb3906..5d54eccccc8dd11d389f177c719c850450e951b8 100644 --- a/panter-kubernetes-base.yml +++ b/panter-kubernetes-base.yml @@ -41,7 +41,9 @@ variables: # see https://on.cypress.io/caching CYPRESS_CACHE_FOLDER: "$CI_PROJECT_DIR/.cache/Cypress" - CACHE_FALLBACK_KEY: $CI_DEFAULT_BRANCH + + # currently completly useless because of a bug: https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27293 + #CACHE_FALLBACK_KEY: $CI_DEFAULT_BRANCH # Docker DOCKER_HOST: tcp://0.0.0.0:2375