Skip to content

Commit

Permalink
Replace docker-compose with docker compose (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdeebswihart authored Apr 2, 2024
1 parent 70121c2 commit e90a32e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Start containerized server and dependencies
if: inputs.docker-image-artifact-name
run: |
docker-compose \
docker compose \
-f ./dockerfiles/docker-compose.for-server-image.yaml \
-f /tmp/server-docker/docker-compose.yml \
up -d temporal-server cassandra elasticsearch
Expand All @@ -100,11 +100,11 @@ jobs:
- name: Run containerized SDK-features tests
if: inputs.docker-image-artifact-name
run: |
docker-compose \
docker compose \
-f ./dockerfiles/docker-compose.for-server-image.yaml \
-f /tmp/server-docker/docker-compose.yml \
up --no-log-prefix --exit-code-from features-tests-cs features-tests-cs
- name: Tear down docker compose
if: inputs.docker-image-artifact-name && (success() || failure())
run: docker-compose -f ./dockerfiles/docker-compose.for-server-image.yaml -f /tmp/server-docker/docker-compose.yml down -v
run: docker compose -f ./dockerfiles/docker-compose.for-server-image.yaml -f /tmp/server-docker/docker-compose.yml down -v
6 changes: 3 additions & 3 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Start containerized server and dependencies
if: inputs.docker-image-artifact-name
run: |
docker-compose \
docker compose \
-f ./dockerfiles/docker-compose.for-server-image.yaml \
-f /tmp/server-docker/docker-compose.yml \
up -d temporal-server cassandra elasticsearch
Expand All @@ -84,11 +84,11 @@ jobs:
env:
WAIT_EXTRA_FOR_NAMESPACE: true
run: |
docker-compose \
docker compose \
-f ./dockerfiles/docker-compose.for-server-image.yaml \
-f /tmp/server-docker/docker-compose.yml \
up --no-log-prefix --exit-code-from features-tests-go features-tests-go
- name: Tear down docker compose
if: inputs.docker-image-artifact-name && (success() || failure())
run: docker-compose -f ./dockerfiles/docker-compose.for-server-image.yaml -f /tmp/server-docker/docker-compose.yml down -v
run: docker compose -f ./dockerfiles/docker-compose.for-server-image.yaml -f /tmp/server-docker/docker-compose.yml down -v
6 changes: 3 additions & 3 deletions .github/workflows/java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
- name: Start containerized server and dependencies
if: inputs.docker-image-artifact-name
run: |
docker-compose \
docker compose \
-f ./dockerfiles/docker-compose.for-server-image.yaml \
-f /tmp/server-docker/docker-compose.yml \
up -d temporal-server cassandra elasticsearch
Expand All @@ -88,11 +88,11 @@ jobs:
- name: Run containerized SDK-features tests
if: inputs.docker-image-artifact-name
run: |
docker-compose \
docker compose \
-f ./dockerfiles/docker-compose.for-server-image.yaml \
-f /tmp/server-docker/docker-compose.yml \
up --no-log-prefix --exit-code-from features-tests-java features-tests-java
- name: Tear down docker compose
if: inputs.docker-image-artifact-name && (success() || failure())
run: docker-compose -f ./dockerfiles/docker-compose.for-server-image.yaml -f /tmp/server-docker/docker-compose.yml down -v
run: docker compose -f ./dockerfiles/docker-compose.for-server-image.yaml -f /tmp/server-docker/docker-compose.yml down -v
6 changes: 3 additions & 3 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
- name: Start containerized server and dependencies
if: inputs.docker-image-artifact-name
run: |
docker-compose \
docker compose \
-f ./dockerfiles/docker-compose.for-server-image.yaml \
-f /tmp/server-docker/docker-compose.yml \
up -d temporal-server cassandra elasticsearch
Expand All @@ -107,11 +107,11 @@ jobs:
- name: Run containerized SDK-features tests
if: inputs.docker-image-artifact-name
run: |
docker-compose \
docker compose \
-f ./dockerfiles/docker-compose.for-server-image.yaml \
-f /tmp/server-docker/docker-compose.yml \
up --no-log-prefix --exit-code-from features-tests-py features-tests-py
- name: Tear down docker compose
if: inputs.docker-image-artifact-name && (success() || failure())
run: docker-compose -f ./dockerfiles/docker-compose.for-server-image.yaml -f /tmp/server-docker/docker-compose.yml down -v
run: docker compose -f ./dockerfiles/docker-compose.for-server-image.yaml -f /tmp/server-docker/docker-compose.yml down -v
6 changes: 3 additions & 3 deletions .github/workflows/typescript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
- name: Start containerized server and dependencies
if: inputs.docker-image-artifact-name
run: |
docker-compose \
docker compose \
-f ./dockerfiles/docker-compose.for-server-image.yaml \
-f /tmp/server-docker/docker-compose.yml \
up -d temporal-server cassandra elasticsearch
Expand All @@ -107,11 +107,11 @@ jobs:
- name: Run containerized SDK-features tests
if: inputs.docker-image-artifact-name
run: |
docker-compose \
docker compose \
-f ./dockerfiles/docker-compose.for-server-image.yaml \
-f /tmp/server-docker/docker-compose.yml \
up --no-log-prefix --exit-code-from features-tests-ts features-tests-ts
- name: Tear down docker compose
if: inputs.docker-image-artifact-name && (success() || failure())
run: docker-compose -f ./dockerfiles/docker-compose.for-server-image.yaml -f /tmp/server-docker/docker-compose.yml down -v
run: docker compose -f ./dockerfiles/docker-compose.for-server-image.yaml -f /tmp/server-docker/docker-compose.yml down -v

0 comments on commit e90a32e

Please sign in to comment.