Skip to content

Commit

Permalink
fine grained docker container cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
TimOrtel committed Jan 25, 2024
1 parent ea382c6 commit e0ff89f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:

# Sanity cleanup
- name: Stop all running docker containers
run: docker stop $(docker ps -a -q)
run: docker stop artemis-app artemis-mysql

- name: Remove all docker containers
run: docker rm $(docker ps -qa)
run: docker rm artemis-app artemis-mysql
if: success() || failure()

- name: Launch docker containers
Expand All @@ -55,8 +55,8 @@ jobs:
reporter: java-junit

- name: Cleanup -> Stop all running docker containers
run: docker stop $(docker ps -a -q)
run: docker stop artemis-app artemis-mysql

- name: Cleanup -> Remove all docker containers
run: docker rm $(docker ps -qa)
run: docker rm artemis-app artemis-mysql
if: success() || failure()

0 comments on commit e0ff89f

Please sign in to comment.