Skip to content

Commit

Permalink
Update Pact Broker URL
Browse files Browse the repository at this point in the history
We are currently migrating our Pact Broker instance from PaaS to Heroku. `gds-api-adapters` has already been updated to publish pacts to both instances, now we need to update each of our API providers to fetch from the new instance instead of the old one.
  • Loading branch information
robinjam authored Nov 6, 2023
1 parent 7967a5b commit 140f2dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/service_consumers/pact_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def url_encode(str)
if ENV["PACT_URI"]
pact_uri(ENV["PACT_URI"])
else
base_url = "https://pact-broker.cloudapps.digital"
base_url = "https://govuk-pact-broker-6991351eca05.herokuapp.com"
path = "pacts/provider/#{url_encode(name)}/consumer/#{url_encode(consumer_name)}"
version_modifier = "versions/#{url_encode(ENV.fetch('PACT_CONSUMER_VERSION', 'branch-main'))}"

Expand Down

0 comments on commit 140f2dc

Please sign in to comment.