Skip to content

Commit

Permalink
ci/e2e: move docker files of e2e to test/e2e to make code tree more c…
Browse files Browse the repository at this point in the history
…lean (#103)

Signed-off-by: wangbaiping <wbphub@live.com>

Signed-off-by: wangbaiping <wbphub@live.com>
  • Loading branch information
wbpcode authored Sep 1, 2022
1 parent 9c8c738 commit 8098ff5
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@v2
- name: Prepare service container
run: |
docker-compose -f docker-compose.e2e.yml up -d
docker-compose -f test/e2e/docker/docker-compose.e2e.yml up -d
- name: Run e2e
run: |
pip3 install --upgrade pip
Expand All @@ -58,7 +58,7 @@ jobs:
- uses: actions/checkout@v2
- name: Prepare service container
run: |
docker-compose -f docker-compose.e2e-python.yml up -d
docker-compose -f test/e2e/docker/docker-compose.e2e-python.yml up -d
- name: Run e2e
run: |
pip3 install --upgrade pip
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@ version: "3.7"
services:
collector:
build:
context: .
dockerfile: ./e2e-docker/Dockerfile.tool
context: ../../..
dockerfile: ./test/e2e/docker/Dockerfile.tool
ports:
- 19876:19876
- 12800:12800

consumer:
build:
context: .
dockerfile: ./e2e-docker/Dockerfile.consumer
ports:
context: ../../..
dockerfile: ./test/e2e/docker/Dockerfile.consumer
ports:
- 8080:8080
command: sh -c "GRPC_VERBOSITY=debug /tmp/bazel-bin/test/e2e/e2e_consumer"
depends_on:
- collector

interm:
build:
context: .
dockerfile: ./e2e-docker/Dockerfile.interm
context: ../../..
dockerfile: ./test/e2e/docker/Dockerfile.interm
ports:
- 8082:8082
command: python3 test/e2e/data/interm.py
Expand All @@ -31,8 +31,8 @@ services:

provider:
build:
context: .
dockerfile: ./e2e-docker/Dockerfile.provider
context: ../../..
dockerfile: ./test/e2e/docker/Dockerfile.provider
ports:
- 8081:8081
command: sh -c "GRPC_VERBOSITY=debug /tmp/bazel-bin/test/e2e/e2e_provider"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@ version: "3.7"
services:
collector:
build:
context: .
dockerfile: ./e2e-docker/Dockerfile.tool
context: ../../..
dockerfile: ./test/e2e/docker/Dockerfile.tool
ports:
- 19876:19876
- 12800:12800

consumer:
build:
context: .
dockerfile: ./e2e-docker/Dockerfile.consumer
expose:
context: ../../..
dockerfile: ./test/e2e/docker/Dockerfile.consumer
expose:
- 8080
command: sh -c "GRPC_VERBOSITY=debug /tmp/bazel-bin/test/e2e/e2e_consumer"
depends_on:
- collector

provider:
build:
context: .
dockerfile: ./e2e-docker/Dockerfile.provider
context: ../../..
dockerfile: ./test/e2e/docker/Dockerfile.provider
ports:
- 8081:8081
command: sh -c "GRPC_VERBOSITY=debug /tmp/bazel-bin/test/e2e/e2e_provider"
Expand Down

0 comments on commit 8098ff5

Please sign in to comment.