Open mark-walle opened 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.
host:'caps.pathfinder.gov.bc.ca'
prod
config.js
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.
Workaround: Manually delete and recreate the route with a new host field.
host
Trying to replace the hostname, I added
host:'caps.pathfinder.gov.bc.ca'
to theprod
phase inconfig.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.