Sha256: e4365079ca6506fa1766c5cd3d1d27cfc9449bf9e03a43b7b8a705431df44089
Contents?: true
Size: 1.01 KB
Versions: 38
Compression:
Stored size: 1.01 KB
Contents
#!/bin/bash # Use this to stop unnecessary verifications from running when triggered by the # `contract_content_changed` webhook, or when using the webhookless flow. set -eu PACT_CLI_VERSION="0.47.0.0" : "${PACT_URL:?PACT_URL is not set, cannot run verification.}" : "${CONSUMER_NAME:?CONSUMER_NAME is not set, cannot check if verification is required.}" : "${CONSUMER_VERSION_NUMBER:?CONSUMER_VERSION_NUMBER is not set, cannot check if verification is required.}" # Delete unnecessary username/password/token if docker run --rm \ -e PACT_BROKER_BASE_URL \ -e PACT_BROKER_TOKEN \ -e PACT_BROKER_USERNAME \ -e PACT_BROKER_PASSWORD \ -e PACT_BROKER_FEATURES="verification_required" \ -it \ pactfoundation/pact-cli:$PACT_CLI_VERSION \ broker verification-required \ --pacticipant pactflow-application-saas \ --version ${RELEASE_VERSION} \ --pacticipant ${CONSUMER_NAME} \ --version ${CONSUMER_VERSION_NUMBER} \ --verbose ; then echo "Run the verification here" fi
Version data entries
38 entries across 38 versions & 1 rubygems