From 20978f22e3cc88d38370324192cf6b3139c31d53 Mon Sep 17 00:00:00 2001 From: Carson Long Date: Mon, 11 Sep 2023 17:01:08 -0700 Subject: [PATCH] ci: setup autobumping for windows cf CLI blob (#22) --- ci/pipeline.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/ci/pipeline.yml b/ci/pipeline.yml index f657a67..b0f0b31 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -107,6 +107,13 @@ resources: source: uri: https://github.com/bosh-packages/golang-release.git +- name: cf-cli-release + type: github-release + source: + owner: cloudfoundry + repository: cli + tag_filter: "v8.*" + jobs: - name: update-cf-smoke-tests serial: true @@ -142,6 +149,8 @@ jobs: - get: golang-release trigger: true passed: [update-cf-smoke-tests] + - get: cf-cli-release + trigger: true - get: runtime-ci - get: cf-smoke-tests-release - task: bump-cf-smoke-tests-submodule @@ -163,6 +172,20 @@ jobs: options: access_key_id: ((cf_release_blobs_buckets_access_key_id)) secret_access_key: ((cf_release_blobs_buckets_secrect_access_key)) + - task: bump-cf-cli-windows-blob + file: runtime-ci/tasks/bump-cf-cli-windows-blob/task.yml + input_mapping: + release-repo: cf-smoke-tests-release + output_mapping: + updated-release-repo: cf-smoke-tests-release + params: + PRIVATE_YML: | + --- + blobstore: + provider: s3 + options: + access_key_id: ((cf_release_blobs_buckets_access_key_id)) + secret_access_key: ((cf_release_blobs_buckets_secrect_access_key)) - put: cf-smoke-tests-release params: repository: cf-smoke-tests-release