Skip to content

[ Website ]: Remap routes on deployments#1308

Merged
juliasolorzano merged 1 commit into
stagingfrom
remap-routes-on-deployment
Jul 7, 2016
Merged

[ Website ]: Remap routes on deployments#1308
juliasolorzano merged 1 commit into
stagingfrom
remap-routes-on-deployment

Conversation

@rogeruiz

@rogeruiz rogeruiz commented Jul 7, 2016

Copy link
Copy Markdown
Contributor

Description

This patch adds a map-route command to remap the routes for
standards[-staging].usa.gov when deploying master and staging.
The explicit remapping needs to happen because the cf-plugin
zero-downtime-push doesn't support anything but a manifest and
path flag. Because all of our manifests inherit the production
manifest and we rely on the default mapping for our shard domain and
custom mapping for our private domain, we must run map-route manually
after a successful zero-downtime-push.

This patch adds a map-route command to remap the routes for
`standards[-staging].usa.gov` when deploying `master` and `staging`.
The explicit remapping needs to happen because the `cf-plugin`
`zero-downtime-push` doesn't support anything but a `manifest` and
`path` flag. Because all of our manifests inherit the production
manifest and we rely on the default mapping for our shard domain and
custom mapping for our private domain, we must run `map-route` manually
after a successful `zero-downtime-push`.
@juliasolorzano

Copy link
Copy Markdown

🚀

@juliasolorzano juliasolorzano merged commit 191ccd3 into staging Jul 7, 2016
@juliasolorzano juliasolorzano deleted the remap-routes-on-deployment branch July 7, 2016 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants