diff options
author | Andrew Harvey <andrew@alantgeo.com.au> | 2021-05-03 14:23:40 +1000 |
---|---|---|
committer | Andrew Harvey <andrew@alantgeo.com.au> | 2021-05-03 14:23:40 +1000 |
commit | b3a2bdb6fa9895519f608b4dc1737369cd612c82 (patch) | |
tree | 1af4436760e96cf6642b2805da5597fb3f57e888 | |
parent | 6f29aa3e590a77870ed8d857ccdac01009fae0c1 (diff) |
global cache
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0cf08ec..f0c9bc1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ image: "debian:buster-slim" -cache: +cache: &global_cache key: global paths: - .yarn @@ -14,6 +14,7 @@ stages: prepare: stage: prepare cache: + <<: *global_cache policy: push script: - apt-get update && apt-get install -y curl gnupg gdal-bin unzip wget make @@ -29,6 +30,7 @@ prepare: build: stage: build cache: + <<: *global_cache policy: pull script: - apt-get update && apt-get install -y curl gnupg make |