Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

Commit 0c4080c

Browse files
author
Micah Young
committed
Fixes S3 bucket
- Use backblaze bucket - CI script: use newer bosh CLI that supports rosetta v2
1 parent 2e53519 commit 0c4080c

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

ci/bosh-deployment.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,17 @@ if [ -n ${RESET:-""} ]; then
1818
RECREATE_VM="y"
1919
fi
2020

21-
bosh_cli_linux_url="https://s3.amazonaws.com/bosh-cli-artifacts/bosh-cli-5.1.1-linux-amd64"
22-
bosh_cli_darwin_url="https://s3.amazonaws.com/bosh-cli-artifacts/bosh-cli-5.1.1-darwin-amd64"
21+
bosh_cli_linux_url="https://s3.amazonaws.com/bosh-cli-artifacts/bosh-cli-6.4.7-linux-amd64"
22+
bosh_cli_darwin_url="https://s3.amazonaws.com/bosh-cli-artifacts/bosh-cli-6.4.7-darwin-amd64"
2323
bosh_bin="bin/bosh-$OSTYPE"
2424
if ! [ -f $bosh_bin ]; then
25-
curl -L $bosh_cli_linux_url > bin/bosh-linux-gnu
26-
curl -L $bosh_cli_darwin_url > bin/bosh-darwin17
27-
chmod +x bin/bosh*
25+
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
26+
curl -L $bosh_cli_linux_url > "$bosh_bin"
27+
elif [[ "$OSTYPE" == "darwin"* ]]; then
28+
curl -L $bosh_cli_darwin_url > "$bosh_bin"
29+
fi
30+
31+
chmod +x "$bosh_bin"
2832
fi
2933

3034
bosh_deployment_url="https://github.com/cloudfoundry/bosh-deployment.git"

config/final.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ blobstore:
44
provider: s3
55
options:
66
bucket_name: bosh-vmrun-cpi-blobs
7-
host: https://bosh-vmrun-storage.cfapps.io
7+
host: https://s3.us-west-001.backblazeb2.com

0 commit comments

Comments
 (0)