From 10bac0816be5d5d1d117ef2ba310c90b8f874ca4 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Thu, 8 Oct 2020 15:27:34 +0200 Subject: [PATCH] test workflow, naming and cosmetics --- .github/workflows/test.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 29c6e4d..e8f4b92 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -65,7 +65,8 @@ jobs: sleep 10 docker logs docker_registry_proxy > initial_logs.txt - - uses: actions/upload-artifact@v2 + - name: Upload artifact initial_logs + uses: actions/upload-artifact@v2 with: name: initial_logs path: initial_logs.txt @@ -132,7 +133,7 @@ jobs: echo "Container is up again..." # This can be quite slow, since Github Actions runner Docker comes preloaded with a lot of images. - - name: Initial prune of all unused images from docker cache + - name: Initial prune of all unused images from docker cache (slow) timeout-minutes: 2 run: | docker image prune --all --force @@ -147,7 +148,8 @@ jobs: run: | docker logs docker_registry_proxy > cold_cache.txt - - uses: actions/upload-artifact@v2 + - name: Upload artifact cold_cache + uses: actions/upload-artifact@v2 with: name: cold_cache path: cold_cache.txt @@ -167,12 +169,9 @@ jobs: run: | docker logs docker_registry_proxy > warm_cache.txt - - uses: actions/upload-artifact@v2 + - name: Upload artifact warm_cache + uses: actions/upload-artifact@v2 with: name: warm_cache path: warm_cache.txt - - name: Finally stop proxy instance in docker - timeout-minutes: 1 - run: | - timeout 58 docker stop docker_registry_proxy