File tree 3 files changed +10
-10
lines changed
example-k8s-deployment/infrastructure
3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -157,10 +157,10 @@ If you are running more than one Pact Broker Docker container at a time for the
157
157
You can see a working example in the [ docker-compose-clean.yml] ( ./docker-compose-clean.yml ) file. To run the example locally, run:
158
158
159
159
```
160
- docker- compose -f docker-compose-clean.yml up pact-broker
160
+ docker compose -f docker-compose-clean.yml up pact-broker
161
161
162
162
# in another console
163
- docker- compose -f docker-compose-clean.yml up clean
163
+ docker compose -f docker-compose-clean.yml up clean
164
164
```
165
165
166
166
### Known issues with the data clean up task
@@ -173,8 +173,8 @@ For a quick start with the Pact Broker and Postgres, we have an example
173
173
[ Docker Compose] [ docker-compose ] setup you can use:
174
174
175
175
1 . Modify the ` docker-compose.yml ` file as required.
176
- 2 . Run ` docker- compose build ` to build the pact_broker container locally.
177
- 3 . Run ` docker- compose up ` to get a running Pact Broker and a clean Postgres database.
176
+ 2 . Run ` docker compose build ` to build the pact_broker container locally.
177
+ 3 . Run ` docker compose up ` to get a running Pact Broker and a clean Postgres database.
178
178
179
179
Now you can access your local broker:
180
180
Original file line number Diff line number Diff line change 3
3
stack=$1
4
4
env=$2
5
5
6
- docker- compose run --rm stackup-" $env " pact-broker-" $stack " up \
6
+ docker compose run --rm stackup-" $env " pact-broker-" $stack " up \
7
7
-t infrastructure/" $stack " /template.yaml \
8
8
-p infrastructure/" $stack " /envs/common.yaml \
9
9
-p infrastructure/" $stack " /envs/" $env " .yaml
Original file line number Diff line number Diff line change @@ -12,23 +12,23 @@ for file in $docker_compose_files; do
12
12
done
13
13
14
14
cleanup () {
15
- docker- compose -f docker-compose-tests.yml rm -fv || true
16
- docker- compose -f docker-compose-test-different-env-var-names.yml rm -fv || true
15
+ docker compose -f docker-compose-tests.yml rm -fv || true
16
+ docker compose -f docker-compose-test-different-env-var-names.yml rm -fv || true
17
17
}
18
18
trap cleanup EXIT
19
19
20
20
cleanup
21
21
22
- docker- compose -f docker-compose-tests.yml up --build --abort-on-container-exit --exit-code-from sut --remove-orphans
22
+ docker compose -f docker-compose-tests.yml up --build --abort-on-container-exit --exit-code-from sut --remove-orphans
23
23
cleanup
24
24
25
25
export PACT_BROKER_BASIC_AUTH_USERNAME=foo
26
26
export PACT_BROKER_BASIC_AUTH_PASSWORD=bar
27
27
export PACT_BROKER_PUBLIC_HEARTBEAT=true
28
- docker- compose -f docker-compose-tests.yml up --build --abort-on-container-exit --exit-code-from sut --remove-orphans
28
+ docker compose -f docker-compose-tests.yml up --build --abort-on-container-exit --exit-code-from sut --remove-orphans
29
29
30
30
unset PACT_BROKER_BASIC_AUTH_USERNAME
31
31
unset PACT_BROKER_BASIC_AUTH_PASSWORD
32
32
unset PACT_BROKER_PUBLIC_HEARTBEAT
33
33
34
- docker- compose -f docker-compose-test-different-env-var-names.yml up --build --abort-on-container-exit --exit-code-from sut --remove-orphans
34
+ docker compose -f docker-compose-test-different-env-var-names.yml up --build --abort-on-container-exit --exit-code-from sut --remove-orphans
You can’t perform that action at this time.
0 commit comments