From 87829307c8789d0cf872b73211b82633df1a4b81 Mon Sep 17 00:00:00 2001 From: vd1992 <40485260+vd1992@users.noreply.github.com> Date: Fri, 15 Jul 2022 11:52:32 -0600 Subject: [PATCH 1/3] test troubleshooting --- .github/workflows/docker-smoke-test.yml | 5 +++++ .github/workflows/e2e-tests.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/docker-smoke-test.yml b/.github/workflows/docker-smoke-test.yml index 33e70165523..817c787776e 100644 --- a/.github/workflows/docker-smoke-test.yml +++ b/.github/workflows/docker-smoke-test.yml @@ -33,6 +33,11 @@ jobs: # Use buildkit to speed up docker command DOCKER_BUILDKIT: 1 steps: + + # See: https://github.com/satackey/action-docker-layer-caching/issues/139#issuecomment-1007316528 + - name: reclaim space on runner + run: rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc + - name: Checkout uses: actions/checkout@v2.3.4 diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 0ab25ab207c..ad4f726f4b6 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -36,6 +36,11 @@ jobs: DOCKER_BUILDKIT: 1 NPM_VERSION: '8.3.0' steps: + + # See: https://github.com/satackey/action-docker-layer-caching/issues/139#issuecomment-1007316528 + - name: reclaim space on runner + run: rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc + - name: Checkout uses: actions/checkout@v3.0.2 From 9d884a4ecee81166428e1c5f9024eca0eb591ab4 Mon Sep 17 00:00:00 2001 From: vd1992 <40485260+vd1992@users.noreply.github.com> Date: Fri, 15 Jul 2022 12:24:02 -0600 Subject: [PATCH 2/3] alternative: disable post run save --- .github/workflows/docker-smoke-test.yml | 6 +----- .github/workflows/e2e-tests.yml | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docker-smoke-test.yml b/.github/workflows/docker-smoke-test.yml index 817c787776e..93f4d307027 100644 --- a/.github/workflows/docker-smoke-test.yml +++ b/.github/workflows/docker-smoke-test.yml @@ -33,11 +33,6 @@ jobs: # Use buildkit to speed up docker command DOCKER_BUILDKIT: 1 steps: - - # See: https://github.com/satackey/action-docker-layer-caching/issues/139#issuecomment-1007316528 - - name: reclaim space on runner - run: rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc - - name: Checkout uses: actions/checkout@v2.3.4 @@ -53,6 +48,7 @@ jobs: key: docker-{hash} restore-keys: | docker- + skip-save: 'true' - name: Serve app via docker-compose # Need to include --build as we're caching layers. diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index ad4f726f4b6..cd50cc1575b 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -36,11 +36,6 @@ jobs: DOCKER_BUILDKIT: 1 NPM_VERSION: '8.3.0' steps: - - # See: https://github.com/satackey/action-docker-layer-caching/issues/139#issuecomment-1007316528 - - name: reclaim space on runner - run: rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc - - name: Checkout uses: actions/checkout@v3.0.2 @@ -56,6 +51,7 @@ jobs: key: docker-{hash} restore-keys: | docker- + skip-save: 'true' - name: Serve app via docker-compose # Need to include --build as we're caching layers. From d51106dd07677dfae2a97b57e4b5d9b1fb47a425 Mon Sep 17 00:00:00 2001 From: vd1992 <40485260+vd1992@users.noreply.github.com> Date: Mon, 18 Jul 2022 10:37:57 -0600 Subject: [PATCH 3/3] Revert "alternative: disable post run save" This reverts commit 9d884a4ecee81166428e1c5f9024eca0eb591ab4. --- .github/workflows/docker-smoke-test.yml | 6 +++++- .github/workflows/e2e-tests.yml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-smoke-test.yml b/.github/workflows/docker-smoke-test.yml index 93f4d307027..817c787776e 100644 --- a/.github/workflows/docker-smoke-test.yml +++ b/.github/workflows/docker-smoke-test.yml @@ -33,6 +33,11 @@ jobs: # Use buildkit to speed up docker command DOCKER_BUILDKIT: 1 steps: + + # See: https://github.com/satackey/action-docker-layer-caching/issues/139#issuecomment-1007316528 + - name: reclaim space on runner + run: rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc + - name: Checkout uses: actions/checkout@v2.3.4 @@ -48,7 +53,6 @@ jobs: key: docker-{hash} restore-keys: | docker- - skip-save: 'true' - name: Serve app via docker-compose # Need to include --build as we're caching layers. diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index cd50cc1575b..ad4f726f4b6 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -36,6 +36,11 @@ jobs: DOCKER_BUILDKIT: 1 NPM_VERSION: '8.3.0' steps: + + # See: https://github.com/satackey/action-docker-layer-caching/issues/139#issuecomment-1007316528 + - name: reclaim space on runner + run: rm -rf /usr/local/android /usr/share/dotnet /usr/local/share/boost /opt/ghc + - name: Checkout uses: actions/checkout@v3.0.2 @@ -51,7 +56,6 @@ jobs: key: docker-{hash} restore-keys: | docker- - skip-save: 'true' - name: Serve app via docker-compose # Need to include --build as we're caching layers.