Last active
May 19, 2019 23:02
-
-
Save drnic/777e344bb34e32e102b67f2eb2e79bc1 to your computer and use it in GitHub Desktop.
Upgrade cfdev 0.0.15 to support sidecars (capi 1.79.0)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export BOSH_DEPLOYMENT=${CF_DEPLOYMENT:-cf} | |
# https://github.com/cloudfoundry/cf-deployment/blob/v7.11.0/operations/use-compiled-releases.yml#L1-L9 | |
capi_update=$(cat <<-YAML | |
- type: replace | |
path: /releases/name=capi/url | |
value: https://storage.googleapis.com/cf-deployment-compiled-releases/capi-1.79.0-ubuntu-xenial-250.29-20190411-165538-039089481.tgz | |
- type: replace | |
path: /releases/name=capi/version | |
value: 1.79.0 | |
- type: replace | |
path: /releases/name=capi/sha1 | |
value: 4272f201eae09063efc959444a9ed44e4adfb412 | |
YAML | |
) | |
bosh -n deploy <(bosh int <(bosh manifest) -o <(echo "$capi_update")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment