diff --git a/templates/fmt.yml b/templates/fmt.yml index ff0e58d12b60629ae0a77a92ac8969eae556f18e..9dba38363391744410fbd17bf696b87643413490 100644 --- a/templates/fmt.yml +++ b/templates/fmt.yml @@ -87,11 +87,6 @@ spec: type: array description: 'Defines the `rules` of the job.' - cache_policy: - default: pull-push - type: string - description: 'Defines the cache policy of the job.' - --- '$[[ inputs.as ]]': @@ -99,11 +94,6 @@ spec: needs: $[[ inputs.needs ]] rules: $[[ inputs.rules ]] allow_failure: $[[ inputs.allow_failure ]] - cache: - key: "$__CACHE_KEY_HACK" - policy: $[[ inputs.cache_policy ]] - paths: - - $TF_ROOT/.terraform/ variables: # 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 ]]"