Skip to content

Commit

Permalink
chore: pass GIT_COMMIT/GIT_BRANCH to provider container
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F authored and PauloGoncalvesBH committed Mar 6, 2024
1 parent 38eb78f commit 552750f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/provider-ci-triggered-by-webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: Provider contract test performed via webhook
# With this it is possible to guarantee that every new contract published is
# compatible or not with the version of the production provider.

# Using this webhook event allows the changed pact to be tested against the head, test and production versions of the provider,
# Using this webhook event allows the changed pact to be tested against the head, test and production versions of the provider,
# in the same way as the consumer version selectors allow the head, test and production versions of the pact to be tested against a version of the provider.

on:
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ services:
- PACT_BROKER_TOKEN
- PACT_URL
- CI
- GIT_COMMIT
- GIT_BRANCH

consumer-test-contract:
build:
Expand Down

0 comments on commit 552750f

Please sign in to comment.