Skip to content

Commit

Permalink
Try profile setup on Github.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-phaf committed Sep 8, 2023
1 parent 1e8ceea commit 448a83e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
run: docker compose build

- name: Test client runs without errors
run: docker compose up --exit-code-from client
run: docker compose --profile client up --exit-code-from client

- name: Test loader runs without errors
run: docker compose up --exit-code-from loader
run: docker compose --profile loader up --exit-code-from loader

- name: Cleanup
if: always()
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ services:
condition: service_healthy

client:
profiles: ["client"]
build:
context: . # TODO: Needed to get proto file. Find a better solution
dockerfile: examples/clients/python/Dockerfile
Expand All @@ -60,6 +61,7 @@ services:
condition: service_healthy

loader:
profiles: ["loader"]
build:
context: . # TODO: Needed to get proto file and test data. Find a better solution
dockerfile: data-loader/Dockerfile
Expand Down

0 comments on commit 448a83e

Please sign in to comment.