Sha256: 280fa620355a67dbfb9924f9ddfb4431ab5fa7b683ac5cc9b57edb63ff7e610d

Contents?: true

Size: 1.42 KB

Versions: 2

Compression:

Stored size: 1.42 KB

Contents

export PACT_BROKER_BASE_URL=${PACT_BROKER_BASE_URL:-"http://localhost:9292"}
export PACT_BROKER_TOKEN=${PACT_BROKER_TOKEN:-"localhost"}
#export PACT_BROKER_FEATURES=publish_pacts_using_old_api

# bundle exec bin/pact-broker create-or-update-webhook http://localhost:9393 \
#   --uuid d40f38c3-aaa3-47f5-9161-95c07bc16b14 \
#   --request POST \
#   --description "foo webhook" \
#   --contract-published

# bundle exec bin/pact-broker create-or-update-webhook http://localhost:9393 \
#   --uuid d40f38c3-aaa3-47f5-9161-95csfadfsd7 \
#   --description "This is quite a long description for a webhook that I hope will be truncated" \
#   --request POST \
#   --contract-published

# bundle exec bin/pact-broker publish spec/pacts/pact_broker_client-pact_broker.json spec/fixtures/foo-bar.json \
#   --consumer-app-version 1.2.12 \
#   --broker-base-url http://localhost:9292 \
#    --broker-username localhost --broker-password localhost \
#     --auto-detect-version-properties \
#     --build-url http://mybuild \
#     --branch master --tag foo5

# bundle exec bin/pact-broker create-or-update-webhook http://localhost:9393 \
#   --uuid d40f38c3-aaa3-47f5-9161-95c07bc16555 \
#   --provider Bar \
#   --request POST \
#   --contract-published


bundle exec bin/pact-broker publish scripts/foo-bar.json \
  --consumer-app-version 1.2.26 \
    --auto-detect-version-properties \
    --build-url http://mybuild \
    --branch master --tag foo5 --tag foo6

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pact_broker-client-1.72.0 script/publish-pact.sh
pact_broker-client-1.71.0 script/publish-pact.sh