Skip to content

Commit

Permalink
Replace docker container cp with docker compose cp
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomini committed Apr 2, 2024
1 parent e275b28 commit 991251a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
- name: Collect test report for java clients
if: ${{ always() }}
run: |
docker container cp voms-testsuite_testsuite_1:/tmp/reports ${ARTIFACTS_PATH}/java
docker compose --file docker-compose.ci.yml cp testsuite:/tmp/reports ${ARTIFACTS_PATH}/java
docker compose --file docker-compose.ci.yml exec -T testsuite rm -rf /tmp/reports
working-directory: compose

Expand All @@ -145,7 +145,7 @@ jobs:

- name: Collect test report for cpp clients
if: ${{ always() }}
run: docker container cp voms-testsuite_testsuite_1:/tmp/reports ${ARTIFACTS_PATH}/cpp
run: docker compose --file docker-compose.ci.yml cp testsuite:/tmp/reports ${ARTIFACTS_PATH}/cpp
working-directory: compose

- name: Collect logs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/iam-dev.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Collect test report for java clients
if: ${{ always() }}
run: |
docker container cp voms-testsuite_testsuite_1:/tmp/reports ${ARTIFACTS_PATH}/java
docker compose --file docker-compose.ci.yml cp testsuite:/tmp/reports ${ARTIFACTS_PATH}/java
docker compose --file docker-compose.ci.yml exec -T testsuite rm -rf /tmp/reports
working-directory: compose

Expand All @@ -74,7 +74,7 @@ jobs:

- name: Collect test report for cpp clients
if: ${{ always() }}
run: docker container cp voms-testsuite_testsuite_1:/tmp/reports ${ARTIFACTS_PATH}/cpp
run: docker compose --file docker-compose.ci.yml cp testsuite:/tmp/reports ${ARTIFACTS_PATH}/cpp
working-directory: compose

- name: Collect logs
Expand Down

0 comments on commit 991251a

Please sign in to comment.