Skip to content

Commit

Permalink
Use helmchart name for pact identifier.
Browse files Browse the repository at this point in the history
This pairs with DataBiosphere/terra-workspace-data-service#384, where `wds` also renames its reference from `sam-provider` to just `sam`.

* See [thread](https://broadinstitute.slack.com/archives/C043YJ40719/p1698068076950019) discussing the `-consumer` and `-provider` suffix anti-pattern.
* See [thread](https://broadinstitute.slack.com/archives/C043YJ40719/p1698241095600099) discussing the recommendation to use the helm chart name.
* See [thread](https://broadinstitute.slack.com/archives/C043YJ40719/p1698262189799389) discussing doing this for `sam`.
  • Loading branch information
jladieu committed Nov 2, 2023
1 parent a3a3622 commit a7c40bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/verify_consumer_pacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -310,4 +310,4 @@ jobs:
repo: broadinstitute/terra-github-workflows
ref: refs/heads/main
token: ${{ secrets.BROADBOT_TOKEN }} # github token for access to kick off a job in the private repo
inputs: '{ "pacticipant": "sam-provider", "version": "${{ needs.verify-consumer-pact.outputs.provider-sha }}" }'
inputs: '{ "pacticipant": "sam", "version": "${{ needs.verify-consumer-pact.outputs.provider-sha }}" }'
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ class SamProviderSpec
.getOrElse(NoOpFilter)

val provider: ProviderInfoBuilder = ProviderInfoBuilder(
name = "sam-provider",
name = "sam",
pactSource = PactSource
.PactBrokerWithSelectors(
brokerUrl = pactBrokerUrl
Expand Down

0 comments on commit a7c40bc

Please sign in to comment.