From 40694b5d73c3f52144784e9d38a75c07ca6bf342 Mon Sep 17 00:00:00 2001
From: Timo Furrer <tfurrer@gitlab.com>
Date: Tue, 5 Nov 2024 16:48:01 +0100
Subject: [PATCH] Remove unused cache setup in `fmt` job

Changelog: removed
---
 templates/fmt.yml | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/templates/fmt.yml b/templates/fmt.yml
index ff0e58d..9dba383 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 ]]"
-- 
GitLab