BCDevOps / pipeline-cli

Apache License 2.0
2 stars 10 forks source link

Cannot update route to a changed hostname #3

Open mark-walle opened 5 years ago

mark-walle commented 5 years ago

Trying to replace the hostname, I added host:'caps.pathfinder.gov.bc.ca' to the prod phase in config.js. This was a single commit which I created a PR for immediately to impact the route hostname change in Prod.

Commit record here: https://github.com/bcgov/GDX-Analytics-OpenShift-Snowplow-Gateway-Service/commit/02e80a84fb339764801657260fe83a1f5965e54e

The PR triggered a build and appeared to be deploying successfully at all phases. Once deployed to prod, I observed that the Route in our project did not update to a new hostname: https://console.pathfinder.gov.bc.ca:8443/console/project/8gsiqa-prod/browse/routes/caps

The hostname remained as https://caps-8gsiqa-prod.pathfinder.gov.bc.ca when I expected to see https://caps.pathfinder.gov.bc.ca as the exposed route to the prod app.

cvarjao commented 5 years ago

Workaround: Manually delete and recreate the route with a new host field.