Skip to content
Snippets Groups Projects
Unverified Commit 40694b5d authored by Timo Furrer's avatar Timo Furrer
Browse files

Remove unused cache setup in `fmt` job

Changelog: removed
parent 65debdd2
No related branches found
No related tags found
No related merge requests found
...@@ -87,11 +87,6 @@ spec: ...@@ -87,11 +87,6 @@ spec:
type: array type: array
description: 'Defines the `rules` of the job.' description: 'Defines the `rules` of the job.'
cache_policy:
default: pull-push
type: string
description: 'Defines the cache policy of the job.'
--- ---
'$[[ inputs.as ]]': '$[[ inputs.as ]]':
...@@ -99,11 +94,6 @@ spec: ...@@ -99,11 +94,6 @@ spec:
needs: $[[ inputs.needs ]] needs: $[[ inputs.needs ]]
rules: $[[ inputs.rules ]] rules: $[[ inputs.rules ]]
allow_failure: $[[ inputs.allow_failure ]] allow_failure: $[[ inputs.allow_failure ]]
cache:
key: "$__CACHE_KEY_HACK"
policy: $[[ inputs.cache_policy ]]
paths:
- $TF_ROOT/.terraform/
variables: variables:
# FIXME: work around to make slashes work in `cache:key`. see https://gitlab.com/gitlab-org/gitlab/-/issues/439898 # FIXME: work around to make slashes work in `cache:key`. see https://gitlab.com/gitlab-org/gitlab/-/issues/439898
__CACHE_KEY_HACK: "$[[ inputs.root_dir ]]" __CACHE_KEY_HACK: "$[[ inputs.root_dir ]]"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment