github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/gitlab/testdata/templates/cache_policy.yaml (about)

     1  prepare-dependencies-job:
     2    stage: build
     3    cache:
     4      key: gems
     5      paths:
     6        - vendor/bundle
     7      policy: push
     8    script:
     9      - echo "This job only downloads dependencies and builds the cache."
    10      - echo "Downloading dependencies..."
    11  
    12  faster-test-job:
    13    stage: test
    14    cache:
    15      key: gems
    16      paths:
    17        - vendor/bundle
    18      policy: pull
    19    script:
    20      - echo "This job script uses the cache, but does not update it."
    21      - echo "Running tests..."