Skip to content

Instantly share code, notes, and snippets.

@jsloyer
Last active October 23, 2018 12:52
Show Gist options
  • Save jsloyer/4aed1bcf1b1ca119d6ee to your computer and use it in GitHub Desktop.
Save jsloyer/4aed1bcf1b1ca119d6ee to your computer and use it in GitHub Desktop.
A/B deployments on Cloud Foundry using autopilot plugin
go get github.com/concourse/autopilot
cf install-plugin $GOPATH/bin/autopilot
cf login -a ${CF_API} -u ${CF_USERNAME} -p ${CF_PASSWORD} -o ${CF_ORG} -s ${CF_SPACE}
cf zero-downtime-push myapp -f manifest.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment