fix(cdn): purge the staging zone too #181
2 changed files with 12 additions and 2 deletions
|
|
@ -172,7 +172,12 @@ steps:
|
||||||
from_secret: BUNNYNET_API_KEY
|
from_secret: BUNNYNET_API_KEY
|
||||||
# cran.rpkgs.com and cran.allianceswisspass.devxy.io are on separate
|
# cran.rpkgs.com and cran.allianceswisspass.devxy.io are on separate
|
||||||
# Bunny pull zones, so both must be purged after the shared origin changes.
|
# Bunny pull zones, so both must be purged after the shared origin changes.
|
||||||
BUNNY_PULLZONES: '3857050 cran.allianceswisspass.devxy.io'
|
# The staging zone is listed too. It shares the B2 origin, so an index
|
||||||
|
# it still holds is a stale copy of the same object, and its
|
||||||
|
# cache_expiration_time is the same ~370 days: without a purge here it
|
||||||
|
# serves pre-reindex indexes indefinitely and any verification run
|
||||||
|
# against it measures the past.
|
||||||
|
BUNNY_PULLZONES: '3857050 cran.allianceswisspass.devxy.io cran-rpkgs-test.b-cdn.net'
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache -q bash curl jq
|
- apk add --no-cache -q bash curl jq
|
||||||
# Crow carries the checkout from the re-index step into this step.
|
# Crow carries the checkout from the re-index step into this step.
|
||||||
|
|
|
||||||
|
|
@ -175,7 +175,12 @@ steps:
|
||||||
from_secret: BUNNYNET_API_KEY
|
from_secret: BUNNYNET_API_KEY
|
||||||
# cran.rpkgs.com and cran.allianceswisspass.devxy.io are on separate
|
# cran.rpkgs.com and cran.allianceswisspass.devxy.io are on separate
|
||||||
# Bunny pull zones, so both must be purged after the shared origin changes.
|
# Bunny pull zones, so both must be purged after the shared origin changes.
|
||||||
BUNNY_PULLZONES: '3857050 cran.allianceswisspass.devxy.io'
|
# The staging zone is listed too. It shares the B2 origin, so an index
|
||||||
|
# it still holds is a stale copy of the same object, and its
|
||||||
|
# cache_expiration_time is the same ~370 days: without a purge here it
|
||||||
|
# serves pre-reindex indexes indefinitely and any verification run
|
||||||
|
# against it measures the past.
|
||||||
|
BUNNY_PULLZONES: '3857050 cran.allianceswisspass.devxy.io cran-rpkgs-test.b-cdn.net'
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache -q bash curl jq
|
- apk add --no-cache -q bash curl jq
|
||||||
# Crow carries the checkout from the re-index step into this step.
|
# Crow carries the checkout from the re-index step into this step.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue