You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rust/pact_verifier_cli/Dockerfile
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,15 @@ FROM --platform=$BUILDPLATFORM rust:1-alpine3.21 AS builder
3
3
ARG BIN_ARCH=x86_64
4
4
ARG VERSION=1.1.1
5
5
6
-
RUN wget -O pact_verifier_cli.gz https://github.com/pact-foundation/pact-reference/releases/download/pact_verifier_cli-v${VERSION}/pact_verifier_cli-linux-${BIN_ARCH}.gz
7
-
RUN gunzip pact_verifier_cli.gz
8
-
RUN chmod +x pact_verifier_cli
6
+
RUN wget -O pact-verifier.gz https://github.com/pact-foundation/pact-reference/releases/download/pact_verifier_cli-v${VERSION}/pact-verifier-linux-${BIN_ARCH}.gz
7
+
RUN gunzip pact-verifier.gz
8
+
RUN chmod +x pact-verifier
9
9
10
10
# Now, we need to build our _real_ Docker container, copying in the executable.
Copy file name to clipboardExpand all lines: rust/pact_verifier_cli/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,14 @@ back against the one defined in the pact file. All mismatches will then be repor
11
11
12
12
## Command line interface
13
13
14
-
The pact verifier is bundled as a single binary executable `pact_verifier_cli`. Running this without any options
14
+
The pact verifier is bundled as a single binary executable `pact-verifier`. Running this without any options
15
15
displays the standard help.
16
16
17
17
```console
18
-
$ pact_verifier_cli,ignore
18
+
$ pact-verifier,ignore
19
19
Standalone pact verifier for provider pact verification
20
20
21
-
Usage: pact_verifier_cli [OPTIONS]
21
+
Usage: pact-verifier [OPTIONS]
22
22
23
23
Options:
24
24
--help Print help and exit
@@ -253,7 +253,7 @@ The `--last-failed` option will only execute interactions that have previously f
253
253
This will verify all the pacts for the `happy_provider` found in the pact broker (running on localhost) against the provider running on localhost port 5050. Only the pacts for the consumers `Consumer` and `Consumer2` will be verified.
21:59:28 [WARN] pact_matching::models: No metadata found in pact file "http://localhost/pacts/provider/happy_provider/consumer/Consumer/version/1.0.0", assuming V1.1 specification
258
258
21:59:28 [WARN] pact_matching::models: No metadata found in pact file "http://localhost/pacts/provider/happy_provider/consumer/Consumer2/version/1.0.0", assuming V1.1 specification
0 commit comments