github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/gitlab/testdata/templates/cache_policy.yaml.golden (about) 1 kind: pipeline 2 spec: 3 stages: 4 - name: test 5 spec: 6 cache: 7 enabled: true 8 key: gems 9 paths: 10 - vendor/bundle 11 policy: pull 12 steps: 13 - name: prepare-dependencies-job 14 spec: 15 run: |- 16 echo "This job only downloads dependencies and builds the cache." 17 echo "Downloading dependencies..." 18 type: script 19 - name: faster-test-job 20 spec: 21 run: |- 22 echo "This job script uses the cache, but does not update it." 23 echo "Running tests..." 24 type: script 25 type: ci 26 version: 1