Skip to content

Commit d8f4325

Browse files
committed
combine compose.yaml and actions-services.yml
1 parent 1e36810 commit d8f4325

3 files changed

Lines changed: 18 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212
- name: Run tests
13-
run: docker compose -f action-services.yml run test
13+
run: docker compose run test
1414

1515
build-and-publish:
1616
name: Build and Publish

action-services.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

compose.yaml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
services:
2-
ecsdeploy:
3-
build: .
4-
env_file:
5-
- local.env
6-
volumes:
7-
- ./ecs-deploy:/ecs-deploy
2+
ecsdeploy:
3+
build: .
4+
env_file:
5+
- path: local.env
6+
required: false
7+
volumes:
8+
- ./ecs-deploy:/ecs-deploy
89

9-
test:
10-
build: .
11-
env_file:
12-
- local.env
13-
entrypoint: ["bash"]
14-
command: ["/run-tests.sh"]
15-
volumes:
16-
- ./ecs-deploy:/ecs-deploy
17-
- ./run-tests.sh:/run-tests.sh
18-
- ./test.bats:/test.bats
10+
test:
11+
build: .
12+
env_file:
13+
- path: local.env
14+
required: false
15+
entrypoint: ["/run-tests.sh"]
16+
volumes:
17+
- ./ecs-deploy:/ecs-deploy
18+
- ./run-tests.sh:/run-tests.sh
19+
- ./test.bats:/test.bats

0 commit comments

Comments
 (0)