github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/gitlab/yaml/testdata/job_keywords/cache/example-8.yaml (about) 1 # https://docs.gitlab.com/ee/ci/yaml/#cachepolicy 2 3 prepare-dependencies-job: 4 stage: build 5 cache: 6 key: gems 7 paths: 8 - vendor/bundle 9 policy: push 10 script: 11 - echo "This job only downloads dependencies and builds the cache." 12 - echo "Downloading dependencies..." 13 14 faster-test-job: 15 stage: test 16 cache: 17 key: gems 18 paths: 19 - vendor/bundle 20 policy: pull 21 script: 22 - echo "This job script uses the cache, but does not update it." 23 - echo "Running tests..."