Skip to content

Commit f51e90b

Browse files
committed
Add an explicit fetch_tags
The check-for-patched-cves task compares the current commit with the tag of the last released version. Due to concourse caching, you can end up with a version of the bosh-cli repo resource that is newer than the last release tag, but does not have the tag. Adding fetch_tags to the get for the resource _should_ force Concourse to get any tags added to the repo since the commit first started flowing through the pipeline.
1 parent 01084d7 commit f51e90b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/pipeline.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ jobs:
146146
plan:
147147
- in_parallel:
148148
- get: bosh-cli
149+
params:
150+
fetch_tags: true
149151
trigger: true
150152
passed:
151153
- pre-release-fan-in
@@ -429,7 +431,7 @@ resources:
429431
regexp: bosh-cli-(.*)-darwin-amd64
430432
bucket: bosh-cli-artifacts
431433
json_key: ((bosh-cli/gcp_service_key_json))
432-
434+
433435

434436
- name: release-bucket-darwin-arm64
435437
type: gcs-resource

0 commit comments

Comments
 (0)