Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f647d69

Browse files
committedMar 23, 2024
chore: prevent interference between builds by setting the project name to a unique value
Correction for 6a5dc71 commit. Part of #13
1 parent 7385f2b commit f647d69

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎.github/workflows/integration-tests.yml

+6
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ jobs:
3434
application-port: 3020
3535
- docker-service-name: 'chi'
3636
application-port: 3030
37+
env:
38+
# Prevent interference between builds by setting the project name to a unique value. Otherwise
39+
# "docker compose down" has been stopping containers (especially database) from other builds.
40+
# https://docs.docker.com/compose/project-name/
41+
# https://docs.docker.com/compose/environment-variables/envvars/#compose_project_name
42+
COMPOSE_PROJECT_NAME: ${{ matrix.docker-service-name }}
3743
steps:
3844

3945
- name: Clone source code

0 commit comments

Comments
 (0)
Please sign in to comment.