Skip to content

Commit

Permalink
Run record-release command for pact (#4900)
Browse files Browse the repository at this point in the history
  • Loading branch information
divolgin authored Sep 17, 2024
1 parent ef2dab3 commit 548af28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ jobs:
PACT_BROKER_BASE_URL: ${{ vars.PACT_BROKER_BASE_URL }}
PACT_BROKER_TOKEN: ${{ secrets.PACT_BROKER_TOKEN }}
PACT_PUBLISH_CONTRACT: true
PACT_VERSION: ${{ github.sha }}
GIT_TAG: ${{ needs.generate-tag.outputs.tag }}
run: |
set -x
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ pact-consumer:
pact-broker publish ./pacts/consumer \
--auto-detect-version-properties \
--consumer-app-version ${GIT_TAG} || true; \

pact-broker record-release \
--pacticipant kots \
--version ${PACT_VERSION} \
--environment production \
--verbose
fi

.PHONY: e2e
Expand Down

0 comments on commit 548af28

Please sign in to comment.