-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ID-377 Add drshub consumer test url resolution #7142
ID-377 Add drshub consumer test url resolution #7142
Conversation
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": "cromwell-consumer", "version": "${{ needs.init-github-context.outputs.repo-version }}" }' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is all copied straight from leo's workflows with 'leo' -> 'cromwell'
d1ce835
to
54d5fe2
Compare
|
||
can-i-deploy: | ||
runs-on: ubuntu-latest | ||
if: ${{ needs.init-github-context.outputs.fork == 'false' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can disable can-i-deploy
and publish the cromwell
contract to pact broker if you like. Later, when your drshub
provider test in this PR is done you can add a webhook (essentially just like https://github.com/broadinstitute/sam/blob/develop/.github/workflows/verify_consumer_pacts.yml and you can reenable can-i-deploy
again. This is just a suggestion.
if: ${{ needs.init-github-context.outputs.fork == 'false' }} | |
if: ${{ needs.init-github-context.outputs.fork == 'false' && false }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds good thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. This is awesome to have!
54d5fe2
to
476aaff
Compare
Added pact github actions workflows from leo.
Added consumer test for drshub url resolution.