diff options
author | Philip Kuryloski <kuryloskip@vmware.com> | 2020-12-11 12:42:49 +0100 |
---|---|---|
committer | Philip Kuryloski <kuryloskip@vmware.com> | 2020-12-11 12:42:49 +0100 |
commit | 784c3c9059d3316c1b867454a41bcbaa55fc1fca (patch) | |
tree | 12942107fe0c21c72e2f3ed5d9fd340050b2ee85 | |
parent | 629fae614942bf34e748d5cd2f1cb184dbed6c55 (diff) | |
download | rabbitmq-server-git-784c3c9059d3316c1b867454a41bcbaa55fc1fca.tar.gz |
Another image caching attempt for the workflows
Take an explicit approach with docker save/load. This eliminates the
need for the current Maintenance workflow
-rw-r--r-- | .github/workflows/maintenance.yaml | 36 | ||||
-rw-r--r-- | .github/workflows/test-erlang-otp-22.3.yaml | 2758 | ||||
-rw-r--r-- | .github/workflows/test-erlang-otp-23.1.yaml | 2766 | ||||
-rw-r--r-- | .github/workflows/test-erlang-otp-git.yaml | 2758 | ||||
-rw-r--r-- | workflow_sources/test/common.lib.yml | 10 | ||||
-rw-r--r-- | workflow_sources/test/ct.lib.yml | 36 | ||||
-rw-r--r-- | workflow_sources/test/finish.lib.yml | 28 | ||||
-rw-r--r-- | workflow_sources/test/prepare.lib.yml | 14 | ||||
-rw-r--r-- | workflow_sources/test/rabbitmq_cli.lib.yml | 16 | ||||
-rw-r--r-- | workflow_sources/test/tests.lib.yml | 15 |
10 files changed, 2320 insertions, 6117 deletions
diff --git a/.github/workflows/maintenance.yaml b/.github/workflows/maintenance.yaml deleted file mode 100644 index dffa3ea355..0000000000 --- a/.github/workflows/maintenance.yaml +++ /dev/null @@ -1,36 +0,0 @@ -name: Maintenance -on: - schedule: - - cron: '0 2 * * *' - workflow_dispatch: -jobs: - cleanup-ci-images: - name: cleanup-ci-images - runs-on: ubuntu-18.04 - strategy: - matrix: - image: - - ci - - ci-rabbit - steps: - - uses: google-github-actions/setup-gcloud@master - with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true - - run: | - gcloud auth configure-docker - - name: CLEAN OLD ${{ matrix.image }} IMAGES - env: - IMAGE: eu.gcr.io/cf-rabbitmq-core/${{ matrix.image }} - run: | - DATE=$(date -d "-1 week" '+%Y-%m-%d') - C=0 - for digest in $(gcloud container images list-tags ${IMAGE} --limit=999999 --sort-by=TIMESTAMP \ - --filter="timestamp.datetime < '${DATE}'" --format='get(digest)'); do - ( - set -x - gcloud container images delete -q --force-delete-tags "${IMAGE}@${digest}" - ) - C=$(expr $C + 1) - done - echo "Deleted ${C} images in ${IMAGE}." >&2 diff --git a/.github/workflows/test-erlang-otp-22.3.yaml b/.github/workflows/test-erlang-otp-22.3.yaml index 2fc01a88b6..919e3d76b1 100644 --- a/.github/workflows/test-erlang-otp-22.3.yaml +++ b/.github/workflows/test-erlang-otp-22.3.yaml @@ -37,7 +37,7 @@ jobs: - name: PREPARE BUILD IMAGE uses: docker/build-push-action@v2 with: - push: true + load: true file: ci/dockerfiles/ci tags: eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} build-args: | @@ -50,6 +50,13 @@ jobs: RABBITMQ_VERSION=3.9.0 cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache + - uses: actions/cache@v2 + with: + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: SAVE CI DOCKER IMAGE IN CACHE + run: | + docker save -o ci.tar eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} - uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.GCR_JSON_KEY }} @@ -74,14 +81,6 @@ jobs: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - name: Login to GCR uses: docker/login-action@v1 with: @@ -534,20 +533,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -608,7 +600,7 @@ jobs: - name: RUN CHECKS uses: docker/build-push-action@v2 with: - push: true + load: true file: ci/dockerfiles/ci-dep tags: eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} build-args: | @@ -617,6 +609,13 @@ jobs: project=rabbit cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache + - uses: actions/cache@v2 + with: + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: SAVE CI DOCKER IMAGE IN CACHE + run: | + docker save -o ci-rabbit.tar eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} rabbit-ct-amqqueue_backward_compatibility: name: rabbit-ct-amqqueue_backward_compatibility needs: @@ -625,23 +624,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-amqqueue_backward_compatibility id: tests run: | @@ -706,23 +695,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-backing_queue id: tests run: | @@ -787,23 +766,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-channel_interceptor id: tests run: | @@ -868,23 +837,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-channel_operation_timeout id: tests run: | @@ -949,23 +908,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-cluster id: tests run: | @@ -1030,23 +979,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-cluster_rename id: tests run: | @@ -1111,23 +1050,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-clustering_management id: tests run: | @@ -1192,23 +1121,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-config_schema id: tests run: | @@ -1273,23 +1192,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-confirms_rejects id: tests run: | @@ -1354,23 +1263,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-consumer_timeout id: tests run: | @@ -1435,23 +1334,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-crashing_queues id: tests run: | @@ -1516,23 +1405,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-dead_lettering id: tests run: | @@ -1597,23 +1476,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-definition_import id: tests run: | @@ -1678,23 +1547,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-disconnect_detected_during_alarm id: tests run: | @@ -1759,23 +1618,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-dynamic_ha id: tests run: | @@ -1840,23 +1689,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-dynamic_qq id: tests run: | @@ -1921,23 +1760,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-eager_sync id: tests run: | @@ -2002,23 +1831,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-feature_flags id: tests run: | @@ -2083,23 +1902,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-lazy_queue id: tests run: | @@ -2164,23 +1973,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-list_consumers_sanity_check id: tests run: | @@ -2245,23 +2044,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-list_queues_online_and_offline id: tests run: | @@ -2326,23 +2115,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-maintenance_mode id: tests run: | @@ -2407,23 +2186,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-many_node_ha id: tests run: | @@ -2488,23 +2257,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-message_size_limit id: tests run: | @@ -2569,23 +2328,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-metrics id: tests run: | @@ -2650,23 +2399,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-mirrored_supervisor id: tests run: | @@ -2731,23 +2470,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-msg_store id: tests run: | @@ -2812,23 +2541,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-peer_discovery_classic_config id: tests run: | @@ -2893,23 +2612,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-peer_discovery_dns id: tests run: | @@ -2974,23 +2683,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_user_connection_channel_limit id: tests run: | @@ -3055,23 +2754,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_user_connection_channel_limit_partitions id: tests run: | @@ -3136,23 +2825,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_user_connection_channel_tracking id: tests run: | @@ -3217,23 +2896,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_user_connection_tracking id: tests run: | @@ -3298,23 +2967,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_vhost_connection_limit id: tests run: | @@ -3379,23 +3038,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_vhost_connection_limit_partitions id: tests run: | @@ -3460,23 +3109,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_vhost_msg_store id: tests run: | @@ -3541,23 +3180,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_vhost_queue_limit id: tests run: | @@ -3622,23 +3251,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-policy id: tests run: | @@ -3703,23 +3322,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-priority_queue id: tests run: | @@ -3784,23 +3393,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-priority_queue_recovery id: tests run: | @@ -3865,23 +3464,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-product_info id: tests run: | @@ -3946,23 +3535,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-proxy_protocol id: tests run: | @@ -4027,23 +3606,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-publisher_confirms_parallel id: tests run: | @@ -4108,23 +3677,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-queue_length_limits id: tests run: | @@ -4189,23 +3748,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-queue_master_location id: tests run: | @@ -4270,23 +3819,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-queue_parallel id: tests run: | @@ -4351,23 +3890,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-queue_type id: tests run: | @@ -4432,23 +3961,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-quorum_queue id: tests run: | @@ -4513,23 +4032,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_confirms id: tests run: | @@ -4594,23 +4103,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_core_metrics_gc id: tests run: | @@ -4675,23 +4174,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_fifo id: tests run: | @@ -4756,23 +4245,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_fifo_int id: tests run: | @@ -4837,23 +4316,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_fifo_prop id: tests run: | @@ -4918,23 +4387,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_fifo_v0 id: tests run: | @@ -4999,23 +4458,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_msg_record id: tests run: | @@ -5080,23 +4529,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_stream_queue id: tests run: | @@ -5161,23 +4600,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbitmq_queues_cli_integration id: tests run: | @@ -5242,23 +4671,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbitmqctl_integration id: tests run: | @@ -5323,23 +4742,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbitmqctl_shutdown id: tests run: | @@ -5404,23 +4813,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-signal_handling id: tests run: | @@ -5485,23 +4884,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-simple_ha id: tests run: | @@ -5566,23 +4955,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-single_active_consumer id: tests run: | @@ -5647,23 +5026,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-sync_detection id: tests run: | @@ -5728,23 +5097,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-term_to_binary_compat_prop id: tests run: | @@ -5809,23 +5168,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-topic_permission id: tests run: | @@ -5890,23 +5239,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_access_control id: tests run: | @@ -5971,23 +5310,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_access_control_authn_authz_context_propagation id: tests run: | @@ -6052,23 +5381,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_access_control_credential_validation id: tests run: | @@ -6133,23 +5452,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_amqp091_content_framing id: tests run: | @@ -6214,23 +5523,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_amqp091_server_properties id: tests run: | @@ -6295,23 +5594,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_app_management id: tests run: | @@ -6376,23 +5665,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_cluster_formation_locking_mocks id: tests run: | @@ -6457,23 +5736,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_collections id: tests run: | @@ -6538,23 +5807,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_config_value_encryption id: tests run: | @@ -6619,23 +5878,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_connection_tracking id: tests run: | @@ -6700,23 +5949,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_credit_flow id: tests run: | @@ -6781,23 +6020,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_disk_monitor id: tests run: | @@ -6862,23 +6091,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_disk_monitor_mocks id: tests run: | @@ -6943,23 +6162,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_file_handle_cache id: tests run: | @@ -7024,23 +6233,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_gen_server2 id: tests run: | @@ -7105,23 +6304,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_gm id: tests run: | @@ -7186,23 +6375,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_log_config id: tests run: | @@ -7267,23 +6446,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_log_management id: tests run: | @@ -7348,23 +6517,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_operator_policy id: tests run: | @@ -7429,23 +6588,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_pg_local id: tests run: | @@ -7510,23 +6659,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_plugin_directories id: tests run: | @@ -7591,23 +6730,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_plugin_versioning id: tests run: | @@ -7672,23 +6801,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_policy_validators id: tests run: | @@ -7753,23 +6872,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_priority_queue id: tests run: | @@ -7834,23 +6943,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_queue_consumers id: tests run: | @@ -7915,23 +7014,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_stats_and_metrics id: tests run: | @@ -7996,23 +7085,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_supervisor2 id: tests run: | @@ -8077,23 +7156,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_vm_memory_monitor id: tests run: | @@ -8158,23 +7227,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-upgrade_preparation id: tests run: | @@ -8239,23 +7298,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-vhost id: tests run: | @@ -8414,23 +7463,15 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'') && (success() || failure())' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci-rabbit.tar - name: RECORD STEP FINISH run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} docker run \ --env project=rabbit \ --env GITHUB_RUN_ID=${{ github.run_id }} \ @@ -8449,20 +7490,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -8494,20 +7528,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -8539,20 +7566,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -8584,20 +7604,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -8629,20 +7642,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -8674,20 +7680,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -8719,20 +7718,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -8764,20 +7756,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -8809,20 +7794,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -8854,20 +7832,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -8899,23 +7870,15 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir broker-logs && chmod 777 broker-logs docker run \ --env project=rabbitmq_cli \ @@ -8942,20 +7905,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -8987,20 +7943,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9032,20 +7981,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9077,20 +8019,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9122,20 +8057,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9167,20 +8095,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9212,20 +8133,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9257,20 +8171,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9302,20 +8209,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9347,20 +8247,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: PREPARE TERRAFORM SECRETS run: | mkdir terraform && chmod 777 terraform @@ -9401,20 +8294,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9446,20 +8332,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9491,20 +8370,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9536,20 +8408,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9581,20 +8446,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9626,20 +8484,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9671,20 +8522,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9716,20 +8560,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9761,20 +8598,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9806,20 +8636,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9851,20 +8674,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9896,20 +8712,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9941,20 +8750,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -9986,20 +8788,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -10031,20 +8826,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -10076,20 +8864,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -10121,20 +8902,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -10166,20 +8940,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -10211,20 +8978,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} @@ -10256,15 +9016,15 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: PACKAGE GENERIC UNIX run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir PACKAGES && chmod 777 PACKAGES docker run \ --env GITHUB_RUN_ID=${{ github.run_id }} \ @@ -10344,20 +9104,13 @@ jobs: with: service_account_key: ${{ secrets.GCR_JSON_KEY }} export_default_credentials: true - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-22.3-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RECORD BUILD FINISH run: | echo -n "${{ env.WORKFLOW_CONCLUSION }}" > conclusion @@ -10365,7 +9118,6 @@ jobs: gsutil cp conclusion \ 'gs://monorepo_github_actions_conclusions/${{ github.sha }}/${{ github.workflow }}' - docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} docker run \ --env GITHUB_RUN_ID=${{ github.run_id }} \ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \ diff --git a/.github/workflows/test-erlang-otp-23.1.yaml b/.github/workflows/test-erlang-otp-23.1.yaml index d103ed23a4..f1e1ee0fcb 100644 --- a/.github/workflows/test-erlang-otp-23.1.yaml +++ b/.github/workflows/test-erlang-otp-23.1.yaml @@ -37,7 +37,7 @@ jobs: - name: PREPARE BUILD IMAGE uses: docker/build-push-action@v2 with: - push: true + load: true file: ci/dockerfiles/ci tags: eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} build-args: | @@ -50,6 +50,13 @@ jobs: RABBITMQ_VERSION=3.9.0 cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache + - uses: actions/cache@v2 + with: + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: SAVE CI DOCKER IMAGE IN CACHE + run: | + docker save -o ci.tar eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} - uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.GCR_JSON_KEY }} @@ -74,14 +81,6 @@ jobs: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - name: Login to GCR uses: docker/login-action@v1 with: @@ -534,14 +533,6 @@ jobs: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - name: Login to GCR uses: docker/login-action@v1 with: @@ -714,20 +705,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -788,7 +772,7 @@ jobs: - name: RUN CHECKS uses: docker/build-push-action@v2 with: - push: true + load: true file: ci/dockerfiles/ci-dep tags: eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} build-args: | @@ -797,6 +781,13 @@ jobs: project=rabbit cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache + - uses: actions/cache@v2 + with: + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: SAVE CI DOCKER IMAGE IN CACHE + run: | + docker save -o ci-rabbit.tar eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} rabbit-ct-amqqueue_backward_compatibility: name: rabbit-ct-amqqueue_backward_compatibility needs: @@ -805,23 +796,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-amqqueue_backward_compatibility id: tests run: | @@ -848,23 +829,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-backing_queue id: tests run: | @@ -891,23 +862,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-channel_interceptor id: tests run: | @@ -934,23 +895,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-channel_operation_timeout id: tests run: | @@ -977,23 +928,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-cluster id: tests run: | @@ -1020,23 +961,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-cluster_rename id: tests run: | @@ -1063,23 +994,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-clustering_management id: tests run: | @@ -1106,23 +1027,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-config_schema id: tests run: | @@ -1149,23 +1060,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-confirms_rejects id: tests run: | @@ -1192,23 +1093,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-consumer_timeout id: tests run: | @@ -1235,23 +1126,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-crashing_queues id: tests run: | @@ -1278,23 +1159,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-dead_lettering id: tests run: | @@ -1321,23 +1192,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-definition_import id: tests run: | @@ -1364,23 +1225,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-disconnect_detected_during_alarm id: tests run: | @@ -1407,23 +1258,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-dynamic_ha id: tests run: | @@ -1450,23 +1291,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-dynamic_qq id: tests run: | @@ -1493,23 +1324,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-eager_sync id: tests run: | @@ -1536,23 +1357,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-feature_flags id: tests run: | @@ -1579,23 +1390,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-lazy_queue id: tests run: | @@ -1622,23 +1423,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-list_consumers_sanity_check id: tests run: | @@ -1665,23 +1456,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-list_queues_online_and_offline id: tests run: | @@ -1708,23 +1489,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-maintenance_mode id: tests run: | @@ -1751,23 +1522,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-many_node_ha id: tests run: | @@ -1794,23 +1555,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-message_size_limit id: tests run: | @@ -1837,23 +1588,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-metrics id: tests run: | @@ -1880,23 +1621,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-mirrored_supervisor id: tests run: | @@ -1923,23 +1654,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-msg_store id: tests run: | @@ -1966,23 +1687,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-peer_discovery_classic_config id: tests run: | @@ -2009,23 +1720,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-peer_discovery_dns id: tests run: | @@ -2052,23 +1753,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_user_connection_channel_limit id: tests run: | @@ -2095,23 +1786,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_user_connection_channel_limit_partitions id: tests run: | @@ -2138,23 +1819,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_user_connection_channel_tracking id: tests run: | @@ -2181,23 +1852,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_user_connection_tracking id: tests run: | @@ -2224,23 +1885,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_vhost_connection_limit id: tests run: | @@ -2267,23 +1918,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_vhost_connection_limit_partitions id: tests run: | @@ -2310,23 +1951,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_vhost_msg_store id: tests run: | @@ -2353,23 +1984,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_vhost_queue_limit id: tests run: | @@ -2396,23 +2017,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-policy id: tests run: | @@ -2439,23 +2050,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-priority_queue id: tests run: | @@ -2482,23 +2083,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-priority_queue_recovery id: tests run: | @@ -2525,23 +2116,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-product_info id: tests run: | @@ -2568,23 +2149,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-proxy_protocol id: tests run: | @@ -2611,23 +2182,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-publisher_confirms_parallel id: tests run: | @@ -2654,23 +2215,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-queue_length_limits id: tests run: | @@ -2697,23 +2248,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-queue_master_location id: tests run: | @@ -2740,23 +2281,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-queue_parallel id: tests run: | @@ -2783,23 +2314,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-queue_type id: tests run: | @@ -2826,23 +2347,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-quorum_queue id: tests run: | @@ -2869,23 +2380,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_confirms id: tests run: | @@ -2912,23 +2413,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_core_metrics_gc id: tests run: | @@ -2955,23 +2446,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_fifo id: tests run: | @@ -2998,23 +2479,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_fifo_int id: tests run: | @@ -3041,23 +2512,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_fifo_prop id: tests run: | @@ -3084,23 +2545,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_fifo_v0 id: tests run: | @@ -3127,23 +2578,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_msg_record id: tests run: | @@ -3170,23 +2611,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_stream_queue id: tests run: | @@ -3213,23 +2644,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbitmq_queues_cli_integration id: tests run: | @@ -3256,23 +2677,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbitmqctl_integration id: tests run: | @@ -3299,23 +2710,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbitmqctl_shutdown id: tests run: | @@ -3342,23 +2743,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-signal_handling id: tests run: | @@ -3385,23 +2776,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-simple_ha id: tests run: | @@ -3428,23 +2809,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-single_active_consumer id: tests run: | @@ -3471,23 +2842,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-sync_detection id: tests run: | @@ -3514,23 +2875,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-term_to_binary_compat_prop id: tests run: | @@ -3557,23 +2908,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-topic_permission id: tests run: | @@ -3600,23 +2941,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_access_control id: tests run: | @@ -3643,23 +2974,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_access_control_authn_authz_context_propagation id: tests run: | @@ -3686,23 +3007,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_access_control_credential_validation id: tests run: | @@ -3729,23 +3040,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_amqp091_content_framing id: tests run: | @@ -3772,23 +3073,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_amqp091_server_properties id: tests run: | @@ -3815,23 +3106,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_app_management id: tests run: | @@ -3858,23 +3139,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_cluster_formation_locking_mocks id: tests run: | @@ -3901,23 +3172,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_collections id: tests run: | @@ -3944,23 +3205,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_config_value_encryption id: tests run: | @@ -3987,23 +3238,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_connection_tracking id: tests run: | @@ -4030,23 +3271,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_credit_flow id: tests run: | @@ -4073,23 +3304,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_disk_monitor id: tests run: | @@ -4116,23 +3337,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_disk_monitor_mocks id: tests run: | @@ -4159,23 +3370,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_file_handle_cache id: tests run: | @@ -4202,23 +3403,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_gen_server2 id: tests run: | @@ -4245,23 +3436,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_gm id: tests run: | @@ -4288,23 +3469,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_log_config id: tests run: | @@ -4331,23 +3502,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_log_management id: tests run: | @@ -4374,23 +3535,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_operator_policy id: tests run: | @@ -4417,23 +3568,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_pg_local id: tests run: | @@ -4460,23 +3601,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_plugin_directories id: tests run: | @@ -4503,23 +3634,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_plugin_versioning id: tests run: | @@ -4546,23 +3667,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_policy_validators id: tests run: | @@ -4589,23 +3700,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_priority_queue id: tests run: | @@ -4632,23 +3733,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_queue_consumers id: tests run: | @@ -4675,23 +3766,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_stats_and_metrics id: tests run: | @@ -4718,23 +3799,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_supervisor2 id: tests run: | @@ -4761,23 +3832,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_vm_memory_monitor id: tests run: | @@ -4804,23 +3865,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-upgrade_preparation id: tests run: | @@ -4847,23 +3898,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-vhost id: tests run: | @@ -4984,23 +4025,15 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'') && (success() || failure())' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci-rabbit.tar - name: RECORD STEP FINISH run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} docker run \ --env project=rabbit \ --env GITHUB_RUN_ID=${{ github.run_id }} \ @@ -5019,20 +4052,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5064,20 +4090,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5109,20 +4128,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5154,20 +4166,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5199,20 +4204,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5244,20 +4242,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5289,20 +4280,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5334,20 +4318,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5379,20 +4356,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5424,20 +4394,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5469,23 +4432,15 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir broker-logs && chmod 777 broker-logs docker run \ --env project=rabbitmq_cli \ @@ -5512,20 +4467,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5557,20 +4505,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5602,20 +4543,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5647,20 +4581,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5692,20 +4619,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5737,20 +4657,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5782,20 +4695,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5827,20 +4733,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5872,20 +4771,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -5917,20 +4809,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: PREPARE TERRAFORM SECRETS run: | mkdir terraform && chmod 777 terraform @@ -5971,20 +4856,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6016,20 +4894,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6061,20 +4932,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6106,20 +4970,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6151,20 +5008,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6196,20 +5046,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6241,20 +5084,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6286,20 +5122,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6331,20 +5160,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6376,20 +5198,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6421,20 +5236,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6466,20 +5274,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6511,20 +5312,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6556,20 +5350,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6601,20 +5388,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6646,20 +5426,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6691,20 +5464,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6736,20 +5502,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6781,20 +5540,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} @@ -6826,15 +5578,15 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: PACKAGE GENERIC UNIX run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir PACKAGES && chmod 777 PACKAGES docker run \ --env GITHUB_RUN_ID=${{ github.run_id }} \ @@ -6915,20 +5667,13 @@ jobs: with: service_account_key: ${{ secrets.GCR_JSON_KEY }} export_default_credentials: true - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-23.1-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RECORD BUILD FINISH run: | echo -n "${{ env.WORKFLOW_CONCLUSION }}" > conclusion @@ -6936,7 +5681,6 @@ jobs: gsutil cp conclusion \ 'gs://monorepo_github_actions_conclusions/${{ github.sha }}/${{ github.workflow }}' - docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} docker run \ --env GITHUB_RUN_ID=${{ github.run_id }} \ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \ diff --git a/.github/workflows/test-erlang-otp-git.yaml b/.github/workflows/test-erlang-otp-git.yaml index bc619a534f..3679e55c7d 100644 --- a/.github/workflows/test-erlang-otp-git.yaml +++ b/.github/workflows/test-erlang-otp-git.yaml @@ -75,7 +75,7 @@ jobs: - name: PREPARE BUILD IMAGE uses: docker/build-push-action@v2 with: - push: true + load: true file: ci/dockerfiles/ci tags: eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} build-args: | @@ -88,6 +88,13 @@ jobs: RABBITMQ_VERSION=3.9.0 cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache + - uses: actions/cache@v2 + with: + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: SAVE CI DOCKER IMAGE IN CACHE + run: | + docker save -o ci.tar eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} - uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.GCR_JSON_KEY }} @@ -114,14 +121,6 @@ jobs: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - name: Login to GCR uses: docker/login-action@v1 with: @@ -574,20 +573,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -648,7 +640,7 @@ jobs: - name: RUN CHECKS uses: docker/build-push-action@v2 with: - push: true + load: true file: ci/dockerfiles/ci-dep tags: eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} build-args: | @@ -657,6 +649,13 @@ jobs: project=rabbit cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache + - uses: actions/cache@v2 + with: + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: SAVE CI DOCKER IMAGE IN CACHE + run: | + docker save -o ci-rabbit.tar eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} rabbit-ct-amqqueue_backward_compatibility: name: rabbit-ct-amqqueue_backward_compatibility needs: @@ -665,23 +664,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-amqqueue_backward_compatibility id: tests run: | @@ -708,23 +697,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-backing_queue id: tests run: | @@ -751,23 +730,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-channel_interceptor id: tests run: | @@ -794,23 +763,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-channel_operation_timeout id: tests run: | @@ -837,23 +796,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-cluster id: tests run: | @@ -880,23 +829,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-cluster_rename id: tests run: | @@ -923,23 +862,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-clustering_management id: tests run: | @@ -966,23 +895,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-config_schema id: tests run: | @@ -1009,23 +928,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-confirms_rejects id: tests run: | @@ -1052,23 +961,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-consumer_timeout id: tests run: | @@ -1095,23 +994,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-crashing_queues id: tests run: | @@ -1138,23 +1027,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-dead_lettering id: tests run: | @@ -1181,23 +1060,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-definition_import id: tests run: | @@ -1224,23 +1093,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-disconnect_detected_during_alarm id: tests run: | @@ -1267,23 +1126,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-dynamic_ha id: tests run: | @@ -1310,23 +1159,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-dynamic_qq id: tests run: | @@ -1353,23 +1192,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-eager_sync id: tests run: | @@ -1396,23 +1225,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-feature_flags id: tests run: | @@ -1439,23 +1258,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-lazy_queue id: tests run: | @@ -1482,23 +1291,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-list_consumers_sanity_check id: tests run: | @@ -1525,23 +1324,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-list_queues_online_and_offline id: tests run: | @@ -1568,23 +1357,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-maintenance_mode id: tests run: | @@ -1611,23 +1390,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-many_node_ha id: tests run: | @@ -1654,23 +1423,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-message_size_limit id: tests run: | @@ -1697,23 +1456,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-metrics id: tests run: | @@ -1740,23 +1489,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-mirrored_supervisor id: tests run: | @@ -1783,23 +1522,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-msg_store id: tests run: | @@ -1826,23 +1555,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-peer_discovery_classic_config id: tests run: | @@ -1869,23 +1588,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-peer_discovery_dns id: tests run: | @@ -1912,23 +1621,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_user_connection_channel_limit id: tests run: | @@ -1955,23 +1654,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_user_connection_channel_limit_partitions id: tests run: | @@ -1998,23 +1687,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_user_connection_channel_tracking id: tests run: | @@ -2041,23 +1720,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_user_connection_tracking id: tests run: | @@ -2084,23 +1753,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_vhost_connection_limit id: tests run: | @@ -2127,23 +1786,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_vhost_connection_limit_partitions id: tests run: | @@ -2170,23 +1819,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_vhost_msg_store id: tests run: | @@ -2213,23 +1852,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-per_vhost_queue_limit id: tests run: | @@ -2256,23 +1885,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-policy id: tests run: | @@ -2299,23 +1918,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-priority_queue id: tests run: | @@ -2342,23 +1951,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-priority_queue_recovery id: tests run: | @@ -2385,23 +1984,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-product_info id: tests run: | @@ -2428,23 +2017,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-proxy_protocol id: tests run: | @@ -2471,23 +2050,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-publisher_confirms_parallel id: tests run: | @@ -2514,23 +2083,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-queue_length_limits id: tests run: | @@ -2557,23 +2116,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-queue_master_location id: tests run: | @@ -2600,23 +2149,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-queue_parallel id: tests run: | @@ -2643,23 +2182,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-queue_type id: tests run: | @@ -2686,23 +2215,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-quorum_queue id: tests run: | @@ -2729,23 +2248,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_confirms id: tests run: | @@ -2772,23 +2281,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_core_metrics_gc id: tests run: | @@ -2815,23 +2314,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_fifo id: tests run: | @@ -2858,23 +2347,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_fifo_int id: tests run: | @@ -2901,23 +2380,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_fifo_prop id: tests run: | @@ -2944,23 +2413,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_fifo_v0 id: tests run: | @@ -2987,23 +2446,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_msg_record id: tests run: | @@ -3030,23 +2479,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbit_stream_queue id: tests run: | @@ -3073,23 +2512,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbitmq_queues_cli_integration id: tests run: | @@ -3116,23 +2545,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbitmqctl_integration id: tests run: | @@ -3159,23 +2578,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-rabbitmqctl_shutdown id: tests run: | @@ -3202,23 +2611,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-signal_handling id: tests run: | @@ -3245,23 +2644,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-simple_ha id: tests run: | @@ -3288,23 +2677,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-single_active_consumer id: tests run: | @@ -3331,23 +2710,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-sync_detection id: tests run: | @@ -3374,23 +2743,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-term_to_binary_compat_prop id: tests run: | @@ -3417,23 +2776,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-topic_permission id: tests run: | @@ -3460,23 +2809,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_access_control id: tests run: | @@ -3503,23 +2842,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_access_control_authn_authz_context_propagation id: tests run: | @@ -3546,23 +2875,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_access_control_credential_validation id: tests run: | @@ -3589,23 +2908,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_amqp091_content_framing id: tests run: | @@ -3632,23 +2941,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_amqp091_server_properties id: tests run: | @@ -3675,23 +2974,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_app_management id: tests run: | @@ -3718,23 +3007,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_cluster_formation_locking_mocks id: tests run: | @@ -3761,23 +3040,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_collections id: tests run: | @@ -3804,23 +3073,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_config_value_encryption id: tests run: | @@ -3847,23 +3106,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_connection_tracking id: tests run: | @@ -3890,23 +3139,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_credit_flow id: tests run: | @@ -3933,23 +3172,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_disk_monitor id: tests run: | @@ -3976,23 +3205,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_disk_monitor_mocks id: tests run: | @@ -4019,23 +3238,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_file_handle_cache id: tests run: | @@ -4062,23 +3271,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_gen_server2 id: tests run: | @@ -4105,23 +3304,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_gm id: tests run: | @@ -4148,23 +3337,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_log_config id: tests run: | @@ -4191,23 +3370,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_log_management id: tests run: | @@ -4234,23 +3403,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_operator_policy id: tests run: | @@ -4277,23 +3436,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_pg_local id: tests run: | @@ -4320,23 +3469,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_plugin_directories id: tests run: | @@ -4363,23 +3502,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_plugin_versioning id: tests run: | @@ -4406,23 +3535,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_policy_validators id: tests run: | @@ -4449,23 +3568,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_priority_queue id: tests run: | @@ -4492,23 +3601,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_queue_consumers id: tests run: | @@ -4535,23 +3634,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_stats_and_metrics id: tests run: | @@ -4578,23 +3667,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_supervisor2 id: tests run: | @@ -4621,23 +3700,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-unit_vm_memory_monitor id: tests run: | @@ -4664,23 +3733,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-upgrade_preparation id: tests run: | @@ -4707,23 +3766,13 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + docker load -o ci-rabbit.tar - name: RUN ct-vhost id: tests run: | @@ -4844,23 +3893,15 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'') && (success() || failure())' steps: - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci-rabbit.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci-rabbit.tar - name: RECORD STEP FINISH run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} docker run \ --env project=rabbit \ --env GITHUB_RUN_ID=${{ github.run_id }} \ @@ -4879,20 +3920,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -4924,20 +3958,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -4969,20 +3996,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5014,20 +4034,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5059,20 +4072,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5104,20 +4110,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5149,20 +4148,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5194,20 +4186,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5239,20 +4224,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5284,20 +4262,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5329,23 +4300,15 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir broker-logs && chmod 777 broker-logs docker run \ --env project=rabbitmq_cli \ @@ -5372,20 +4335,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5417,20 +4373,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5462,20 +4411,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5507,20 +4449,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5552,20 +4487,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5597,20 +4525,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5642,20 +4563,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5687,20 +4601,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5732,20 +4639,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5777,20 +4677,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: PREPARE TERRAFORM SECRETS run: | mkdir terraform && chmod 777 terraform @@ -5831,20 +4724,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5876,20 +4762,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5921,20 +4800,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -5966,20 +4838,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -6011,20 +4876,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -6056,20 +4914,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -6101,20 +4952,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -6146,20 +4990,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -6191,20 +5028,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -6236,20 +5066,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -6281,20 +5104,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -6326,20 +5142,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -6371,20 +5180,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -6416,20 +5218,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -6461,20 +5256,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -6506,20 +5294,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -6551,20 +5332,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true - with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -6596,20 +5370,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -6641,20 +5408,13 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} @@ -6686,15 +5446,15 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: PACKAGE GENERIC UNIX run: | - docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir PACKAGES && chmod 777 PACKAGES docker run \ --env GITHUB_RUN_ID=${{ github.run_id }} \ @@ -6774,20 +5534,13 @@ jobs: with: service_account_key: ${{ secrets.GCR_JSON_KEY }} export_default_credentials: true - - uses: satackey/action-docker-layer-caching@v0.0.10 - continue-on-error: true + - uses: actions/cache@v2 with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- - - name: Login to GCR - uses: docker/login-action@v1 - with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: erlang-git-rabbitmq-${{ github.sha }} + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RECORD BUILD FINISH run: | echo -n "${{ env.WORKFLOW_CONCLUSION }}" > conclusion @@ -6795,7 +5548,6 @@ jobs: gsutil cp conclusion \ 'gs://monorepo_github_actions_conclusions/${{ github.sha }}/${{ github.workflow }}' - docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} docker run \ --env GITHUB_RUN_ID=${{ github.run_id }} \ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \ diff --git a/workflow_sources/test/common.lib.yml b/workflow_sources/test/common.lib.yml deleted file mode 100644 index a2c2a780d0..0000000000 --- a/workflow_sources/test/common.lib.yml +++ /dev/null @@ -1,10 +0,0 @@ -#@ def docker_layer_caching_step(): -uses: satackey/action-docker-layer-caching@v0.0.10 -continue-on-error: true -with: - key: docker-cache-${{ github.workflow }}-${{ github.job }}-{hash} - restore-keys: | - docker-cache-${{ github.workflow }}-${{ github.job }}- - docker-cache-${{ github.workflow }}- - docker-cache- -#@ end
\ No newline at end of file diff --git a/workflow_sources/test/ct.lib.yml b/workflow_sources/test/ct.lib.yml index 466273da13..2e4fa24f00 100644 --- a/workflow_sources/test/ct.lib.yml +++ b/workflow_sources/test/ct.lib.yml @@ -2,7 +2,6 @@ #@ load("@ytt:assert", "assert") #@ load("util.star", "is_unique", "to_build_args") #@ load("helpers.star", "ci_image_tag", "ci_dep_image", "skip_ci_condition") -#@ load("common.lib.yml", "docker_layer_caching_step") #@ def checks_job(dep, erlang_version=None): name: #@ dep.name + "-checks" @@ -46,7 +45,7 @@ steps: - name: RUN CHECKS uses: docker/build-push-action@v2 with: - push: true + load: true file: ci/dockerfiles/ci-dep tags: #@ 'eu.gcr.io/cf-rabbitmq-core/ci-{}:{}'.format(dep.name, ci_image_tag(erlang_version)) build-args: | @@ -55,6 +54,13 @@ steps: project=(@= dep.name @) cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache + - uses: actions/cache@v2 + with: + key: #@ ci_image_tag(erlang_version) + path: ci-(@= dep.name @).tar + - name: SAVE CI DOCKER IMAGE IN CACHE + run: | + docker save -o ci-(@= dep.name @).tar (@= ci_dep_image(erlang_version, dep.name) @) #@ end #@ def ct_suites_job(dep, suite_name, erlang_version=None): @@ -66,16 +72,13 @@ runs-on: ubuntu-18.04 if: #@ skip_ci_condition() #@yaml/text-templated-strings steps: - - #@ docker_layer_caching_step() - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - - name: PULL IMAGE + key: #@ ci_image_tag(erlang_version) + path: ci-(@= dep.name @).tar + - name: LOAD CI DOCKER IMAGE FROM CACHE run: | - docker pull (@= ci_dep_image(erlang_version, dep.name) @) + docker load -o ci-(@= dep.name @).tar - name: #@ "RUN ct-" + suite_name id: tests run: | @@ -134,16 +137,15 @@ runs-on: ubuntu-18.04 if: #@ skip_ci_condition() + " && (success() || failure())" #@yaml/text-templated-strings steps: - - #@ docker_layer_caching_step() - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: #@ ci_image_tag(erlang_version) + path: ci-(@= dep.name @).tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci-(@= dep.name @).tar - name: RECORD STEP FINISH run: | - docker pull (@= ci_dep_image(erlang_version, dep.name) @) docker run \ --env project=(@= dep.name @) \ --env GITHUB_RUN_ID=${{ github.run_id }} \ diff --git a/workflow_sources/test/finish.lib.yml b/workflow_sources/test/finish.lib.yml index 03a9e259fb..849f2e95dc 100644 --- a/workflow_sources/test/finish.lib.yml +++ b/workflow_sources/test/finish.lib.yml @@ -1,6 +1,5 @@ #@ load("@ytt:data", "data") -#@ load("helpers.star", "ci_image", "skip_ci_condition") -#@ load("common.lib.yml", "docker_layer_caching_step") +#@ load("helpers.star", "ci_image", "ci_image_tag", "skip_ci_condition") #@ def gcs_path(): #@ c = ['monorepo_github_actions_conclusions'] @@ -21,15 +20,15 @@ package-generic-unix: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: #@ ci_image_tag(erlang_version) + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: PACKAGE GENERIC UNIX run: | - docker pull (@= ci_image(erlang_version) @) mkdir PACKAGES && chmod 777 PACKAGES docker run \ --env GITHUB_RUN_ID=${{ github.run_id }} \ @@ -68,13 +67,13 @@ finish: with: service_account_key: ${{ secrets.GCR_JSON_KEY }} export_default_credentials: true - - #@ docker_layer_caching_step() - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: #@ ci_image_tag(erlang_version) + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RECORD BUILD FINISH run: | echo -n "${{ env.WORKFLOW_CONCLUSION }}" > conclusion @@ -82,7 +81,6 @@ finish: gsutil cp conclusion \ 'gs://(@= gcs_path() @)' - docker pull (@= ci_image(erlang_version) @) docker run \ --env GITHUB_RUN_ID=${{ github.run_id }} \ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \ diff --git a/workflow_sources/test/prepare.lib.yml b/workflow_sources/test/prepare.lib.yml index 58fa75611f..94bd08f853 100644 --- a/workflow_sources/test/prepare.lib.yml +++ b/workflow_sources/test/prepare.lib.yml @@ -1,7 +1,6 @@ #@ load("@ytt:data", "data") #@ load("util.star", "to_build_args") #@ load("helpers.star", "ci_image", "ci_image_tag", "skip_ci_condition") -#@ load("common.lib.yml", "docker_layer_caching_step") #@ def prepare_jobs(erlang_version=None, build_base_image=False): prepare: @@ -78,9 +77,9 @@ prepare: - name: PREPARE BUILD IMAGE uses: docker/build-push-action@v2 with: - push: true + load: true file: ci/dockerfiles/ci - tags: #@ 'eu.gcr.io/cf-rabbitmq-core/ci:{}'.format(ci_image_tag(erlang_version)) + tags: #@ ci_image(erlang_version) #@ rabbitmq_version = data.values.base_rmq_ref.replace('master', '3.9.x').replace('.x', '.0') build-args: | ERLANG_VERSION=(@= erlang_version @) @@ -92,6 +91,13 @@ prepare: RABBITMQ_VERSION=(@= rabbitmq_version @) cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache + - uses: actions/cache@v2 + with: + key: #@ ci_image_tag(erlang_version) + path: ci.tar + - name: SAVE CI DOCKER IMAGE IN CACHE + run: | + docker save -o ci.tar (@= ci_image(erlang_version) @) - uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.GCR_JSON_KEY }} @@ -120,7 +126,6 @@ xref: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - #@ docker_layer_caching_step() - name: Login to GCR uses: docker/login-action@v1 with: @@ -172,7 +177,6 @@ dialyze: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - #@ docker_layer_caching_step() - name: Login to GCR uses: docker/login-action@v1 with: diff --git a/workflow_sources/test/rabbitmq_cli.lib.yml b/workflow_sources/test/rabbitmq_cli.lib.yml index 2fbe1d7f7d..2ffd1e8369 100644 --- a/workflow_sources/test/rabbitmq_cli.lib.yml +++ b/workflow_sources/test/rabbitmq_cli.lib.yml @@ -1,6 +1,5 @@ #@ load("@ytt:data", "data") -#@ load("helpers.star", "ci_image", "skip_ci_condition") -#@ load("common.lib.yml", "docker_layer_caching_step") +#@ load("helpers.star", "ci_image", "ci_image_tag", "skip_ci_condition") #@ def rabbitmq_cli_job(dep, erlang_version=None): name: #@ dep.name @@ -14,16 +13,15 @@ steps: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - #@ docker_layer_caching_step() - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: #@ ci_image_tag(erlang_version) + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar - name: RUN TESTS run: | - docker pull (@= ci_image(erlang_version) @) mkdir broker-logs && chmod 777 broker-logs docker run \ --env project=(@= dep.name @) \ diff --git a/workflow_sources/test/tests.lib.yml b/workflow_sources/test/tests.lib.yml index 82d3b1f902..d0eedbe8e7 100644 --- a/workflow_sources/test/tests.lib.yml +++ b/workflow_sources/test/tests.lib.yml @@ -1,7 +1,6 @@ #@ load("@ytt:data", "data") #@ load("util.star", "to_build_args") -#@ load("helpers.star", "ci_image", "skip_ci_condition") -#@ load("common.lib.yml", "docker_layer_caching_step") +#@ load("helpers.star", "ci_image", "ci_image_tag", "skip_ci_condition") #@ def tests_job(dep, erlang_version=None): name: #@ dep.name @@ -14,13 +13,13 @@ steps: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - #@ docker_layer_caching_step() - - name: Login to GCR - uses: docker/login-action@v1 + - uses: actions/cache@v2 with: - registry: eu.gcr.io - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} + key: #@ ci_image_tag(erlang_version) + path: ci.tar + - name: LOAD CI DOCKER IMAGE FROM CACHE + run: | + docker load -o ci.tar #@ if getattr(dep, 'use_terraform', False): - name: PREPARE TERRAFORM SECRETS run: | |