Skip to content

Commit

Permalink
auto bump the azure storage cli
Browse files Browse the repository at this point in the history
Co-authored-by: Chun Yuan <[email protected]>
  • Loading branch information
fmoehler and Malsourie committed Jul 18, 2023
1 parent d643608 commit c3b1cd0
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,8 @@ jobs:
trigger: true
- get: bosh-blobstore-s3
trigger: true
- get: bosh-blobstore-azure-storage
trigger: true
- get: verify-multidigest-cli
trigger: true
- get: nats-server-github-release
Expand Down Expand Up @@ -1107,6 +1109,22 @@ jobs:
options:
credentials_source: static
json_key: '((bosh_release_blobs_gcp_credentials_json))'
- task: bump-bosh-blobstore-azure-storage
file: bosh-src/ci/tasks/bump-blobstore-cli.yml
input_mapping:
bosh-src: bosh-src-out
bosh-blobstore-cli: bosh-blobstore-azure-storage
output_mapping:
bosh-src: bosh-src-out
params:
BLOBSTORE_TYPE: azure-storage
GIT_USER_NAME: CI Bot
GIT_USER_EMAIL: [email protected]
PRIVATE_YML: |
blobstore:
options:
credentials_source: static
json_key: '((bosh_release_blobs_gcp_credentials_json))'
- task: bump-verify-multidigest-cli
file: bosh-src/ci/tasks/bump-verify-multidigest-cli.yml
input_mapping:
Expand Down Expand Up @@ -1220,6 +1238,12 @@ resources:
regexp: s3cli-(.*)-linux-amd64
bucket: bosh-s3cli-artifacts

- name: bosh-blobstore-azure-storage
type: s3
source:
regexp: azure-storage-cli-(.*)-linux-amd64
bucket: bosh-azure-storage-cli-artifacts

- name: verify-multidigest-cli
type: s3
source:
Expand Down
2 changes: 2 additions & 0 deletions ci/tasks/bump-blobstore-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ gcs)
cli_name="bosh-gcscli";;
s3)
cli_name="s3cli";;
azure-storage)
cli_name="azure-storage-cli";;
*)
echo "Error: unknown BLOBSTORE_TYPE='${BLOBSTORE_TYPE}'; exiting"
exit 1;;
Expand Down

0 comments on commit c3b1cd0

Please sign in to comment.