From 552750fcd48ec3ee3c18714e94b31d9769d42e35 Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Fri, 7 Oct 2022 19:54:34 +0100 Subject: [PATCH] chore: pass GIT_COMMIT/GIT_BRANCH to provider container --- .github/workflows/provider-ci-triggered-by-webhook.yml | 2 +- docker-compose.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/provider-ci-triggered-by-webhook.yml b/.github/workflows/provider-ci-triggered-by-webhook.yml index bf2e132..765a7cb 100644 --- a/.github/workflows/provider-ci-triggered-by-webhook.yml +++ b/.github/workflows/provider-ci-triggered-by-webhook.yml @@ -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: diff --git a/docker-compose.yml b/docker-compose.yml index 7521c96..6fec4ab 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,6 +13,8 @@ services: - PACT_BROKER_TOKEN - PACT_URL - CI + - GIT_COMMIT + - GIT_BRANCH consumer-test-contract: build: