From 991251a16c36b37369b67b767cced66d8119bffe Mon Sep 17 00:00:00 2001 From: Francesco Giacomini Date: Tue, 2 Apr 2024 16:05:42 +0200 Subject: [PATCH] Replace docker container cp with docker compose cp --- .github/workflows/ci.yml | 4 ++-- .github/workflows/iam-dev.ci.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27315ab..d60a2d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/.github/workflows/iam-dev.ci.yml b/.github/workflows/iam-dev.ci.yml index 500a986..c346a06 100644 --- a/.github/workflows/iam-dev.ci.yml +++ b/.github/workflows/iam-dev.ci.yml @@ -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 @@ -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