Harry
01/31/2023, 10:11 AMYousaf Nabi (pactflow.io)
Harry
01/31/2023, 1:39 PMYousaf Nabi (pactflow.io)
[--dry-run], [--no-dry-run]
# When dry-run is enabled, always exit process with a success
code. Can also be enabled by setting the environment variable
PACT_BROKER_CAN_I_DEPLOY_DRY_RUN=true. This mode is useful when
setting up your CI/CD pipeline for the first time, or in a
'break glass' situation where you need to knowingly deploy what
Pact considers a breaking change. For the second scenario, it
is recommended to use the environment variable and just set it
for the build required to deploy that particular version, so you don't accidentally leave the dry run mode enabled.