diff options
author | Philip Kuryloski <kuryloskip@vmware.com> | 2020-12-10 14:01:47 +0100 |
---|---|---|
committer | Philip Kuryloski <kuryloskip@vmware.com> | 2020-12-10 14:01:47 +0100 |
commit | fbb41addf26102cf360431ef91d8bb21667f209b (patch) | |
tree | 28802e6a073b678566de850231b8ec8248590558 | |
parent | 9a590647b3e4e941f6bf83efe9234c3d9cab21d2 (diff) | |
parent | 66bfc7b7548bf9b69769ec6f26ce919c651ef97d (diff) | |
download | rabbitmq-server-git-fbb41addf26102cf360431ef91d8bb21667f209b.tar.gz |
Merge branch 'update-gh-actions-docker-tests'
-rw-r--r-- | .github/workflows/base-images.yaml | 2 | ||||
-rw-r--r-- | .github/workflows/test-erlang-otp-22.3.yaml | 1606 | ||||
-rw-r--r-- | .github/workflows/test-erlang-otp-23.1.yaml | 1617 | ||||
-rw-r--r-- | .github/workflows/test-erlang-otp-git.yaml | 1645 | ||||
-rw-r--r-- | workflow_sources/base_image/workflow.yml | 2 | ||||
-rw-r--r-- | workflow_sources/test/ct.lib.yml | 59 | ||||
-rw-r--r-- | workflow_sources/test/finish.lib.yml | 18 | ||||
-rw-r--r-- | workflow_sources/test/prepare.lib.yml | 108 | ||||
-rw-r--r-- | workflow_sources/test/rabbitmq_cli.lib.yml | 11 | ||||
-rw-r--r-- | workflow_sources/test/tests.lib.yml | 11 |
10 files changed, 3264 insertions, 1815 deletions
diff --git a/.github/workflows/base-images.yaml b/.github/workflows/base-images.yaml index 2ed2fd4992..721bba4c4d 100644 --- a/.github/workflows/base-images.yaml +++ b/.github/workflows/base-images.yaml @@ -25,7 +25,7 @@ jobs: key: ${{ runner.os }}-buildx-${{ github.sha }} restore-keys: | ${{ runner.os }}-buildx- - - name: Login to DockerHub + - name: Login to GCR uses: docker/login-action@v1 with: registry: eu.gcr.io diff --git a/.github/workflows/test-erlang-otp-22.3.yaml b/.github/workflows/test-erlang-otp-22.3.yaml index 37c3785f75..3a16acb11e 100644 --- a/.github/workflows/test-erlang-otp-22.3.yaml +++ b/.github/workflows/test-erlang-otp-22.3.yaml @@ -17,16 +17,39 @@ jobs: echo "::set-output name=branch_or_tag_name::$branch_or_tag_name" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - name: PREPARE BUILD IMAGE - uses: docker/build-push-action@v1 + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - name: Cache Docker layers + uses: actions/cache@v2 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- + - name: Login to GCR + uses: docker/login-action@v1 with: + registry: eu.gcr.io username: _json_key password: ${{ secrets.GCR_JSON_KEY }} - registry: eu.gcr.io - repository: cf-rabbitmq-core/ci - dockerfile: ci/dockerfiles/ci - build_args: ERLANG_VERSION=22.3,GITHUB_RUN_ID=${{ github.run_id }},BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }},GITHUB_SHA=${{ github.sha }},base_rmq_ref=master,current_rmq_ref=${{ steps.buildevents.outputs.branch_or_tag_name }},RABBITMQ_VERSION=3.9.0 - tags: erlang-22.3-rabbitmq-${{ github.sha }} + - name: PREPARE BUILD IMAGE + uses: docker/build-push-action@v2 + with: + push: true + file: ci/dockerfiles/ci + tags: eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} + build-args: | + ERLANG_VERSION=22.3 + GITHUB_RUN_ID=${{ github.run_id }} + BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} + GITHUB_SHA=${{ github.sha }} + base_rmq_ref=master + current_rmq_ref=${{ steps.buildevents.outputs.branch_or_tag_name }} + RABBITMQ_VERSION=3.9.0 + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache - uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.GCR_JSON_KEY }} @@ -51,13 +74,16 @@ jobs: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-base:22.3 - name: RUN XREF rabbit_common run: | @@ -502,13 +528,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -547,16 +576,35 @@ jobs: project: rabbit run: | ci/scripts/validate-workflow.sh amqqueue_backward_compatibility backing_queue channel_interceptor channel_operation_timeout cluster cluster_rename clustering_management config_schema confirms_rejects consumer_timeout crashing_queues dead_lettering definition_import disconnect_detected_during_alarm dynamic_ha dynamic_qq eager_sync feature_flags lazy_queue list_consumers_sanity_check list_queues_online_and_offline maintenance_mode many_node_ha message_size_limit metrics mirrored_supervisor msg_store peer_discovery_classic_config peer_discovery_dns per_user_connection_channel_limit per_user_connection_channel_limit_partitions per_user_connection_channel_tracking per_user_connection_tracking per_vhost_connection_limit per_vhost_connection_limit_partitions per_vhost_msg_store per_vhost_queue_limit policy priority_queue priority_queue_recovery product_info proxy_protocol publisher_confirms_parallel queue_length_limits queue_master_location queue_parallel queue_type quorum_queue rabbit_confirms rabbit_core_metrics_gc rabbit_fifo rabbit_fifo_int rabbit_fifo_prop rabbit_fifo_v0 rabbit_msg_record rabbit_stream_queue rabbitmq_queues_cli_integration rabbitmqctl_integration rabbitmqctl_shutdown signal_handling simple_ha single_active_consumer sync_detection term_to_binary_compat_prop topic_permission unit_access_control unit_access_control_authn_authz_context_propagation unit_access_control_credential_validation unit_amqp091_content_framing unit_amqp091_server_properties unit_app_management unit_cluster_formation_locking_mocks unit_collections unit_config_value_encryption unit_connection_tracking unit_credit_flow unit_disk_monitor unit_disk_monitor_mocks unit_file_handle_cache unit_gen_server2 unit_gm unit_log_config unit_log_management unit_operator_policy unit_pg_local unit_plugin_directories unit_plugin_versioning unit_policy_validators unit_priority_queue unit_queue_consumers unit_stats_and_metrics unit_supervisor2 unit_vm_memory_monitor upgrade_preparation vhost - - name: RUN CHECKS - uses: docker/build-push-action@v1 + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - name: Cache Docker layers + uses: actions/cache@v2 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- + - name: Login to GCR + uses: docker/login-action@v1 with: + registry: eu.gcr.io username: _json_key password: ${{ secrets.GCR_JSON_KEY }} - registry: eu.gcr.io - repository: cf-rabbitmq-core/ci-rabbit - dockerfile: ci/dockerfiles/ci-dep - build_args: IMAGE_TAG=erlang-22.3-rabbitmq-${{ github.sha }},BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }},project=rabbit - tags: erlang-22.3-rabbitmq-${{ github.sha }} + - name: RUN CHECKS + uses: docker/build-push-action@v2 + with: + push: true + file: ci/dockerfiles/ci-dep + tags: eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} + build-args: | + IMAGE_TAG=erlang-22.3-rabbitmq-${{ github.sha }} + BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} + project=rabbit + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache rabbit-ct-amqqueue_backward_compatibility: name: rabbit-ct-amqqueue_backward_compatibility needs: @@ -565,13 +613,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-amqqueue_backward_compatibility run: | @@ -634,13 +685,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-backing_queue run: | @@ -703,13 +757,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-channel_interceptor run: | @@ -772,13 +829,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-channel_operation_timeout run: | @@ -841,13 +901,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-cluster run: | @@ -910,13 +973,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-cluster_rename run: | @@ -979,13 +1045,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-clustering_management run: | @@ -1048,13 +1117,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-config_schema run: | @@ -1117,13 +1189,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-confirms_rejects run: | @@ -1186,13 +1261,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-consumer_timeout run: | @@ -1255,13 +1333,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-crashing_queues run: | @@ -1324,13 +1405,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-dead_lettering run: | @@ -1393,13 +1477,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-definition_import run: | @@ -1462,13 +1549,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-disconnect_detected_during_alarm run: | @@ -1531,13 +1621,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-dynamic_ha run: | @@ -1600,13 +1693,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-dynamic_qq run: | @@ -1669,13 +1765,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-eager_sync run: | @@ -1738,13 +1837,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-feature_flags run: | @@ -1807,13 +1909,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-lazy_queue run: | @@ -1876,13 +1981,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-list_consumers_sanity_check run: | @@ -1945,13 +2053,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-list_queues_online_and_offline run: | @@ -2014,13 +2125,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-maintenance_mode run: | @@ -2083,13 +2197,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-many_node_ha run: | @@ -2152,13 +2269,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-message_size_limit run: | @@ -2221,13 +2341,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-metrics run: | @@ -2290,13 +2413,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-mirrored_supervisor run: | @@ -2359,13 +2485,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-msg_store run: | @@ -2428,13 +2557,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-peer_discovery_classic_config run: | @@ -2497,13 +2629,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-peer_discovery_dns run: | @@ -2566,13 +2701,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-per_user_connection_channel_limit run: | @@ -2635,13 +2773,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-per_user_connection_channel_limit_partitions run: | @@ -2704,13 +2845,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-per_user_connection_channel_tracking run: | @@ -2773,13 +2917,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-per_user_connection_tracking run: | @@ -2842,13 +2989,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-per_vhost_connection_limit run: | @@ -2911,13 +3061,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-per_vhost_connection_limit_partitions run: | @@ -2980,13 +3133,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-per_vhost_msg_store run: | @@ -3049,13 +3205,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-per_vhost_queue_limit run: | @@ -3118,13 +3277,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-policy run: | @@ -3187,13 +3349,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-priority_queue run: | @@ -3256,13 +3421,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-priority_queue_recovery run: | @@ -3325,13 +3493,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-product_info run: | @@ -3394,13 +3565,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-proxy_protocol run: | @@ -3463,13 +3637,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-publisher_confirms_parallel run: | @@ -3532,13 +3709,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-queue_length_limits run: | @@ -3601,13 +3781,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-queue_master_location run: | @@ -3670,13 +3853,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-queue_parallel run: | @@ -3739,13 +3925,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-queue_type run: | @@ -3808,13 +3997,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-quorum_queue run: | @@ -3877,13 +4069,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_confirms run: | @@ -3946,13 +4141,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_core_metrics_gc run: | @@ -4015,13 +4213,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_fifo run: | @@ -4084,13 +4285,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_fifo_int run: | @@ -4153,13 +4357,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_fifo_prop run: | @@ -4222,13 +4429,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_fifo_v0 run: | @@ -4291,13 +4501,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_msg_record run: | @@ -4360,13 +4573,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_stream_queue run: | @@ -4429,13 +4645,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-rabbitmq_queues_cli_integration run: | @@ -4498,13 +4717,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-rabbitmqctl_integration run: | @@ -4567,13 +4789,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-rabbitmqctl_shutdown run: | @@ -4636,13 +4861,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-signal_handling run: | @@ -4705,13 +4933,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-simple_ha run: | @@ -4774,13 +5005,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-single_active_consumer run: | @@ -4843,13 +5077,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-sync_detection run: | @@ -4912,13 +5149,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-term_to_binary_compat_prop run: | @@ -4981,13 +5221,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-topic_permission run: | @@ -5050,13 +5293,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_access_control run: | @@ -5119,13 +5365,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_access_control_authn_authz_context_propagation run: | @@ -5188,13 +5437,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_access_control_credential_validation run: | @@ -5257,13 +5509,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_amqp091_content_framing run: | @@ -5326,13 +5581,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_amqp091_server_properties run: | @@ -5395,13 +5653,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_app_management run: | @@ -5464,13 +5725,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_cluster_formation_locking_mocks run: | @@ -5533,13 +5797,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_collections run: | @@ -5602,13 +5869,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_config_value_encryption run: | @@ -5671,13 +5941,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_connection_tracking run: | @@ -5740,13 +6013,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_credit_flow run: | @@ -5809,13 +6085,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_disk_monitor run: | @@ -5878,13 +6157,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_disk_monitor_mocks run: | @@ -5947,13 +6229,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_file_handle_cache run: | @@ -6016,13 +6301,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_gen_server2 run: | @@ -6085,13 +6373,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_gm run: | @@ -6154,13 +6445,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_log_config run: | @@ -6223,13 +6517,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_log_management run: | @@ -6292,13 +6589,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_operator_policy run: | @@ -6361,13 +6661,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_pg_local run: | @@ -6430,13 +6733,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_plugin_directories run: | @@ -6499,13 +6805,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_plugin_versioning run: | @@ -6568,13 +6877,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_policy_validators run: | @@ -6637,13 +6949,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_priority_queue run: | @@ -6706,13 +7021,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_queue_consumers run: | @@ -6775,13 +7093,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_stats_and_metrics run: | @@ -6844,13 +7165,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_supervisor2 run: | @@ -6913,13 +7237,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-unit_vm_memory_monitor run: | @@ -6982,13 +7309,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-upgrade_preparation run: | @@ -7051,13 +7381,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} - name: RUN ct-vhost run: | @@ -7214,13 +7547,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'') && (success() || failure())' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RECORD STEP FINISH run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-22.3-rabbitmq-${{ github.sha }} docker run \ --env project=rabbit \ @@ -7240,13 +7576,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7276,13 +7615,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7312,13 +7654,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7348,13 +7693,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7384,13 +7732,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7420,13 +7771,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7456,13 +7810,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7492,13 +7849,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7528,13 +7888,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7564,13 +7927,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7600,13 +7966,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir broker-logs && chmod 777 broker-logs docker run \ @@ -7634,13 +8003,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7670,13 +8042,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7706,13 +8081,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7742,13 +8120,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7778,13 +8159,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7814,13 +8198,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7850,13 +8237,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7886,13 +8276,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7922,13 +8315,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -7958,10 +8354,14 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PREPARE TERRAFORM SECRETS run: | mkdir terraform && chmod 777 terraform @@ -7969,7 +8369,6 @@ jobs: echo "${{ secrets.TERRAFORM_SSH_KEY_PUB }}" > terraform/id_rsa_terraform.pub - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8003,13 +8402,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8039,13 +8441,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8075,13 +8480,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8111,13 +8519,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8147,13 +8558,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8183,13 +8597,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8219,13 +8636,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8255,13 +8675,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8291,13 +8714,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8327,13 +8753,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8363,13 +8792,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8399,13 +8831,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8435,13 +8870,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8471,13 +8909,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8507,13 +8948,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8543,13 +8987,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8579,13 +9026,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8615,13 +9065,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8651,13 +9104,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -8687,13 +9143,14 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PACKAGE GENERIC UNIX run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} mkdir PACKAGES && chmod 777 PACKAGES docker run \ @@ -8774,6 +9231,14 @@ 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 + - name: Login to GCR + uses: docker/login-action@v1 + with: + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RECORD BUILD FINISH run: | echo -n "${{ env.WORKFLOW_CONCLUSION }}" > conclusion @@ -8781,7 +9246,6 @@ jobs: gsutil cp conclusion \ 'gs://monorepo_github_actions_conclusions/${{ github.sha }}/${{ github.workflow }}' - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-22.3-rabbitmq-${{ github.sha }} docker run \ --env GITHUB_RUN_ID=${{ github.run_id }} \ diff --git a/.github/workflows/test-erlang-otp-23.1.yaml b/.github/workflows/test-erlang-otp-23.1.yaml index 220509f6e6..79aba5cd74 100644 --- a/.github/workflows/test-erlang-otp-23.1.yaml +++ b/.github/workflows/test-erlang-otp-23.1.yaml @@ -17,16 +17,39 @@ jobs: echo "::set-output name=branch_or_tag_name::$branch_or_tag_name" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - name: PREPARE BUILD IMAGE - uses: docker/build-push-action@v1 + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - name: Cache Docker layers + uses: actions/cache@v2 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- + - name: Login to GCR + uses: docker/login-action@v1 with: + registry: eu.gcr.io username: _json_key password: ${{ secrets.GCR_JSON_KEY }} - registry: eu.gcr.io - repository: cf-rabbitmq-core/ci - dockerfile: ci/dockerfiles/ci - build_args: ERLANG_VERSION=23.1,GITHUB_RUN_ID=${{ github.run_id }},BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }},GITHUB_SHA=${{ github.sha }},base_rmq_ref=master,current_rmq_ref=${{ steps.buildevents.outputs.branch_or_tag_name }},RABBITMQ_VERSION=3.9.0 - tags: erlang-23.1-rabbitmq-${{ github.sha }} + - name: PREPARE BUILD IMAGE + uses: docker/build-push-action@v2 + with: + push: true + file: ci/dockerfiles/ci + tags: eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} + build-args: | + ERLANG_VERSION=23.1 + GITHUB_RUN_ID=${{ github.run_id }} + BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} + GITHUB_SHA=${{ github.sha }} + base_rmq_ref=master + current_rmq_ref=${{ steps.buildevents.outputs.branch_or_tag_name }} + RABBITMQ_VERSION=3.9.0 + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache - uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.GCR_JSON_KEY }} @@ -51,13 +74,16 @@ jobs: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 - name: RUN XREF rabbit_common run: | @@ -502,13 +528,16 @@ jobs: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 - name: RUN DIALYZE rabbit_common run: | @@ -673,13 +702,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -718,16 +750,35 @@ jobs: project: rabbit run: | ci/scripts/validate-workflow.sh amqqueue_backward_compatibility backing_queue channel_interceptor channel_operation_timeout cluster cluster_rename clustering_management config_schema confirms_rejects consumer_timeout crashing_queues dead_lettering definition_import disconnect_detected_during_alarm dynamic_ha dynamic_qq eager_sync feature_flags lazy_queue list_consumers_sanity_check list_queues_online_and_offline maintenance_mode many_node_ha message_size_limit metrics mirrored_supervisor msg_store peer_discovery_classic_config peer_discovery_dns per_user_connection_channel_limit per_user_connection_channel_limit_partitions per_user_connection_channel_tracking per_user_connection_tracking per_vhost_connection_limit per_vhost_connection_limit_partitions per_vhost_msg_store per_vhost_queue_limit policy priority_queue priority_queue_recovery product_info proxy_protocol publisher_confirms_parallel queue_length_limits queue_master_location queue_parallel queue_type quorum_queue rabbit_confirms rabbit_core_metrics_gc rabbit_fifo rabbit_fifo_int rabbit_fifo_prop rabbit_fifo_v0 rabbit_msg_record rabbit_stream_queue rabbitmq_queues_cli_integration rabbitmqctl_integration rabbitmqctl_shutdown signal_handling simple_ha single_active_consumer sync_detection term_to_binary_compat_prop topic_permission unit_access_control unit_access_control_authn_authz_context_propagation unit_access_control_credential_validation unit_amqp091_content_framing unit_amqp091_server_properties unit_app_management unit_cluster_formation_locking_mocks unit_collections unit_config_value_encryption unit_connection_tracking unit_credit_flow unit_disk_monitor unit_disk_monitor_mocks unit_file_handle_cache unit_gen_server2 unit_gm unit_log_config unit_log_management unit_operator_policy unit_pg_local unit_plugin_directories unit_plugin_versioning unit_policy_validators unit_priority_queue unit_queue_consumers unit_stats_and_metrics unit_supervisor2 unit_vm_memory_monitor upgrade_preparation vhost - - name: RUN CHECKS - uses: docker/build-push-action@v1 + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - name: Cache Docker layers + uses: actions/cache@v2 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- + - name: Login to GCR + uses: docker/login-action@v1 with: + registry: eu.gcr.io username: _json_key password: ${{ secrets.GCR_JSON_KEY }} - registry: eu.gcr.io - repository: cf-rabbitmq-core/ci-rabbit - dockerfile: ci/dockerfiles/ci-dep - build_args: IMAGE_TAG=erlang-23.1-rabbitmq-${{ github.sha }},BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }},project=rabbit - tags: erlang-23.1-rabbitmq-${{ github.sha }} + - name: RUN CHECKS + uses: docker/build-push-action@v2 + with: + push: true + file: ci/dockerfiles/ci-dep + tags: eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} + build-args: | + IMAGE_TAG=erlang-23.1-rabbitmq-${{ github.sha }} + BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} + project=rabbit + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache rabbit-ct-amqqueue_backward_compatibility: name: rabbit-ct-amqqueue_backward_compatibility needs: @@ -736,13 +787,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-amqqueue_backward_compatibility run: | @@ -769,13 +823,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-backing_queue run: | @@ -802,13 +859,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-channel_interceptor run: | @@ -835,13 +895,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-channel_operation_timeout run: | @@ -868,13 +931,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-cluster run: | @@ -901,13 +967,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-cluster_rename run: | @@ -934,13 +1003,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-clustering_management run: | @@ -967,13 +1039,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-config_schema run: | @@ -1000,13 +1075,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-confirms_rejects run: | @@ -1033,13 +1111,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-consumer_timeout run: | @@ -1066,13 +1147,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-crashing_queues run: | @@ -1099,13 +1183,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-dead_lettering run: | @@ -1132,13 +1219,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-definition_import run: | @@ -1165,13 +1255,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-disconnect_detected_during_alarm run: | @@ -1198,13 +1291,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-dynamic_ha run: | @@ -1231,13 +1327,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-dynamic_qq run: | @@ -1264,13 +1363,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-eager_sync run: | @@ -1297,13 +1399,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-feature_flags run: | @@ -1330,13 +1435,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-lazy_queue run: | @@ -1363,13 +1471,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-list_consumers_sanity_check run: | @@ -1396,13 +1507,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-list_queues_online_and_offline run: | @@ -1429,13 +1543,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-maintenance_mode run: | @@ -1462,13 +1579,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-many_node_ha run: | @@ -1495,13 +1615,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-message_size_limit run: | @@ -1528,13 +1651,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-metrics run: | @@ -1561,13 +1687,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-mirrored_supervisor run: | @@ -1594,13 +1723,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-msg_store run: | @@ -1627,13 +1759,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-peer_discovery_classic_config run: | @@ -1660,13 +1795,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-peer_discovery_dns run: | @@ -1693,13 +1831,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-per_user_connection_channel_limit run: | @@ -1726,13 +1867,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-per_user_connection_channel_limit_partitions run: | @@ -1759,13 +1903,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-per_user_connection_channel_tracking run: | @@ -1792,13 +1939,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-per_user_connection_tracking run: | @@ -1825,13 +1975,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-per_vhost_connection_limit run: | @@ -1858,13 +2011,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-per_vhost_connection_limit_partitions run: | @@ -1891,13 +2047,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-per_vhost_msg_store run: | @@ -1924,13 +2083,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-per_vhost_queue_limit run: | @@ -1957,13 +2119,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-policy run: | @@ -1990,13 +2155,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-priority_queue run: | @@ -2023,13 +2191,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-priority_queue_recovery run: | @@ -2056,13 +2227,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-product_info run: | @@ -2089,13 +2263,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-proxy_protocol run: | @@ -2122,13 +2299,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-publisher_confirms_parallel run: | @@ -2155,13 +2335,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-queue_length_limits run: | @@ -2188,13 +2371,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-queue_master_location run: | @@ -2221,13 +2407,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-queue_parallel run: | @@ -2254,13 +2443,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-queue_type run: | @@ -2287,13 +2479,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-quorum_queue run: | @@ -2320,13 +2515,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_confirms run: | @@ -2353,13 +2551,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_core_metrics_gc run: | @@ -2386,13 +2587,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_fifo run: | @@ -2419,13 +2623,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_fifo_int run: | @@ -2452,13 +2659,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_fifo_prop run: | @@ -2485,13 +2695,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_fifo_v0 run: | @@ -2518,13 +2731,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_msg_record run: | @@ -2551,13 +2767,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_stream_queue run: | @@ -2584,13 +2803,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-rabbitmq_queues_cli_integration run: | @@ -2617,13 +2839,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-rabbitmqctl_integration run: | @@ -2650,13 +2875,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-rabbitmqctl_shutdown run: | @@ -2683,13 +2911,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-signal_handling run: | @@ -2716,13 +2947,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-simple_ha run: | @@ -2749,13 +2983,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-single_active_consumer run: | @@ -2782,13 +3019,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-sync_detection run: | @@ -2815,13 +3055,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-term_to_binary_compat_prop run: | @@ -2848,13 +3091,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-topic_permission run: | @@ -2881,13 +3127,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_access_control run: | @@ -2914,13 +3163,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_access_control_authn_authz_context_propagation run: | @@ -2947,13 +3199,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_access_control_credential_validation run: | @@ -2980,13 +3235,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_amqp091_content_framing run: | @@ -3013,13 +3271,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_amqp091_server_properties run: | @@ -3046,13 +3307,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_app_management run: | @@ -3079,13 +3343,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_cluster_formation_locking_mocks run: | @@ -3112,13 +3379,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_collections run: | @@ -3145,13 +3415,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_config_value_encryption run: | @@ -3178,13 +3451,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_connection_tracking run: | @@ -3211,13 +3487,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_credit_flow run: | @@ -3244,13 +3523,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_disk_monitor run: | @@ -3277,13 +3559,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_disk_monitor_mocks run: | @@ -3310,13 +3595,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_file_handle_cache run: | @@ -3343,13 +3631,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_gen_server2 run: | @@ -3376,13 +3667,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_gm run: | @@ -3409,13 +3703,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_log_config run: | @@ -3442,13 +3739,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_log_management run: | @@ -3475,13 +3775,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_operator_policy run: | @@ -3508,13 +3811,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_pg_local run: | @@ -3541,13 +3847,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_plugin_directories run: | @@ -3574,13 +3883,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_plugin_versioning run: | @@ -3607,13 +3919,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_policy_validators run: | @@ -3640,13 +3955,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_priority_queue run: | @@ -3673,13 +3991,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_queue_consumers run: | @@ -3706,13 +4027,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_stats_and_metrics run: | @@ -3739,13 +4063,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_supervisor2 run: | @@ -3772,13 +4099,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-unit_vm_memory_monitor run: | @@ -3805,13 +4135,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-upgrade_preparation run: | @@ -3838,13 +4171,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} - name: RUN ct-vhost run: | @@ -3965,13 +4301,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'') && (success() || failure())' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RECORD STEP FINISH run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} docker run \ --env project=rabbit \ @@ -3991,13 +4330,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4027,13 +4369,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4063,13 +4408,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4099,13 +4447,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4135,13 +4486,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4171,13 +4525,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4207,13 +4564,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4243,13 +4603,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4279,13 +4642,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4315,13 +4681,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4351,13 +4720,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir broker-logs && chmod 777 broker-logs docker run \ @@ -4385,13 +4757,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4421,13 +4796,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4457,13 +4835,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4493,13 +4874,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4529,13 +4913,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4565,13 +4952,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4601,13 +4991,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4637,13 +5030,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4673,13 +5069,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4709,10 +5108,14 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PREPARE TERRAFORM SECRETS run: | mkdir terraform && chmod 777 terraform @@ -4720,7 +5123,6 @@ jobs: echo "${{ secrets.TERRAFORM_SSH_KEY_PUB }}" > terraform/id_rsa_terraform.pub - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4754,13 +5156,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4790,13 +5195,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4826,13 +5234,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4862,13 +5273,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4898,13 +5312,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4934,13 +5351,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4970,13 +5390,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5006,13 +5429,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5042,13 +5468,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5078,13 +5507,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5114,13 +5546,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5150,13 +5585,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5186,13 +5624,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5222,13 +5663,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5258,13 +5702,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5294,13 +5741,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5330,13 +5780,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5366,13 +5819,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5402,13 +5858,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5438,13 +5897,14 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PACKAGE GENERIC UNIX run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} mkdir PACKAGES && chmod 777 PACKAGES docker run \ @@ -5526,6 +5986,14 @@ 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 + - name: Login to GCR + uses: docker/login-action@v1 + with: + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RECORD BUILD FINISH run: | echo -n "${{ env.WORKFLOW_CONCLUSION }}" > conclusion @@ -5533,7 +6001,6 @@ jobs: gsutil cp conclusion \ 'gs://monorepo_github_actions_conclusions/${{ github.sha }}/${{ github.workflow }}' - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} docker run \ --env GITHUB_RUN_ID=${{ github.run_id }} \ diff --git a/.github/workflows/test-erlang-otp-git.yaml b/.github/workflows/test-erlang-otp-git.yaml index 6bf367cbcc..48dc29a971 100644 --- a/.github/workflows/test-erlang-otp-git.yaml +++ b/.github/workflows/test-erlang-otp-git.yaml @@ -20,6 +20,23 @@ jobs: echo "::set-output name=branch_or_tag_name::$branch_or_tag_name" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - name: Cache Docker layers + uses: actions/cache@v2 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- + - name: Login to GCR + uses: docker/login-action@v1 + with: + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: CHECKOUT ERLANG/OTP MASTER uses: actions/checkout@v2 with: @@ -32,38 +49,45 @@ jobs: erlang_sha=$(git rev-parse HEAD) echo "::set-output name=erlang_sha::$erlang_sha" - name: CREATE ERLANG+ELIXIR IMAGE (git) - uses: docker/build-push-action@v1 - with: - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - registry: eu.gcr.io - repository: cf-rabbitmq-core/erlang_elixir - dockerfile: ci/dockerfiles/git/erlang_elixir - build_args: ERLANG_VERSION=${{ steps.erlang_sha.outputs.erlang_sha }} - tags: git + uses: docker/build-push-action@v2 + with: + push: true + file: ci/dockerfiles/git/erlang_elixir + tags: eu.gcr.io/cf-rabbitmq-core/erlang_elixir:git + build-args: | + ERLANG_VERSION=${{ steps.erlang_sha.outputs.erlang_sha }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache - name: CREATE BASE CI IMAGE (git) - uses: docker/build-push-action@v1 - with: - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - registry: eu.gcr.io - repository: cf-rabbitmq-core/ci-base - dockerfile: ci/dockerfiles/ci-base - build_args: ERLANG_VERSION=git,SECONDARY_UMBRELLA_GITREFS=v3.7.28 v3.8.9 - tags: git + uses: docker/build-push-action@v2 + with: + push: true + file: ci/dockerfiles/ci-base + tags: eu.gcr.io/cf-rabbitmq-core/ci-base:git + build-args: | + ERLANG_VERSION=git + SECONDARY_UMBRELLA_GITREFS=v3.7.28 v3.8.9 + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache - name: CLEANUP ERLANG/OTP MASTER run: | rm -rf erlang-git-master - name: PREPARE BUILD IMAGE - uses: docker/build-push-action@v1 + uses: docker/build-push-action@v2 with: - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - registry: eu.gcr.io - repository: cf-rabbitmq-core/ci - dockerfile: ci/dockerfiles/ci - build_args: ERLANG_VERSION=git,GITHUB_RUN_ID=${{ github.run_id }},BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }},GITHUB_SHA=${{ github.sha }},base_rmq_ref=master,current_rmq_ref=${{ steps.buildevents.outputs.branch_or_tag_name }},RABBITMQ_VERSION=3.9.0 - tags: erlang-git-rabbitmq-${{ github.sha }} + push: true + file: ci/dockerfiles/ci + tags: eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} + build-args: | + ERLANG_VERSION=git + GITHUB_RUN_ID=${{ github.run_id }} + BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} + GITHUB_SHA=${{ github.sha }} + base_rmq_ref=master + current_rmq_ref=${{ steps.buildevents.outputs.branch_or_tag_name }} + RABBITMQ_VERSION=3.9.0 + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache - uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.GCR_JSON_KEY }} @@ -90,13 +114,16 @@ jobs: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-base:git - name: RUN XREF rabbit_common run: | @@ -541,13 +568,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -586,16 +616,35 @@ jobs: project: rabbit run: | ci/scripts/validate-workflow.sh amqqueue_backward_compatibility backing_queue channel_interceptor channel_operation_timeout cluster cluster_rename clustering_management config_schema confirms_rejects consumer_timeout crashing_queues dead_lettering definition_import disconnect_detected_during_alarm dynamic_ha dynamic_qq eager_sync feature_flags lazy_queue list_consumers_sanity_check list_queues_online_and_offline maintenance_mode many_node_ha message_size_limit metrics mirrored_supervisor msg_store peer_discovery_classic_config peer_discovery_dns per_user_connection_channel_limit per_user_connection_channel_limit_partitions per_user_connection_channel_tracking per_user_connection_tracking per_vhost_connection_limit per_vhost_connection_limit_partitions per_vhost_msg_store per_vhost_queue_limit policy priority_queue priority_queue_recovery product_info proxy_protocol publisher_confirms_parallel queue_length_limits queue_master_location queue_parallel queue_type quorum_queue rabbit_confirms rabbit_core_metrics_gc rabbit_fifo rabbit_fifo_int rabbit_fifo_prop rabbit_fifo_v0 rabbit_msg_record rabbit_stream_queue rabbitmq_queues_cli_integration rabbitmqctl_integration rabbitmqctl_shutdown signal_handling simple_ha single_active_consumer sync_detection term_to_binary_compat_prop topic_permission unit_access_control unit_access_control_authn_authz_context_propagation unit_access_control_credential_validation unit_amqp091_content_framing unit_amqp091_server_properties unit_app_management unit_cluster_formation_locking_mocks unit_collections unit_config_value_encryption unit_connection_tracking unit_credit_flow unit_disk_monitor unit_disk_monitor_mocks unit_file_handle_cache unit_gen_server2 unit_gm unit_log_config unit_log_management unit_operator_policy unit_pg_local unit_plugin_directories unit_plugin_versioning unit_policy_validators unit_priority_queue unit_queue_consumers unit_stats_and_metrics unit_supervisor2 unit_vm_memory_monitor upgrade_preparation vhost - - name: RUN CHECKS - uses: docker/build-push-action@v1 + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - name: Cache Docker layers + uses: actions/cache@v2 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- + - name: Login to GCR + uses: docker/login-action@v1 with: + registry: eu.gcr.io username: _json_key password: ${{ secrets.GCR_JSON_KEY }} - registry: eu.gcr.io - repository: cf-rabbitmq-core/ci-rabbit - dockerfile: ci/dockerfiles/ci-dep - build_args: IMAGE_TAG=erlang-git-rabbitmq-${{ github.sha }},BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }},project=rabbit - tags: erlang-git-rabbitmq-${{ github.sha }} + - name: RUN CHECKS + uses: docker/build-push-action@v2 + with: + push: true + file: ci/dockerfiles/ci-dep + tags: eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} + build-args: | + IMAGE_TAG=erlang-git-rabbitmq-${{ github.sha }} + BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} + project=rabbit + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache rabbit-ct-amqqueue_backward_compatibility: name: rabbit-ct-amqqueue_backward_compatibility needs: @@ -604,13 +653,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-amqqueue_backward_compatibility run: | @@ -637,13 +689,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-backing_queue run: | @@ -670,13 +725,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-channel_interceptor run: | @@ -703,13 +761,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-channel_operation_timeout run: | @@ -736,13 +797,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-cluster run: | @@ -769,13 +833,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-cluster_rename run: | @@ -802,13 +869,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-clustering_management run: | @@ -835,13 +905,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-config_schema run: | @@ -868,13 +941,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-confirms_rejects run: | @@ -901,13 +977,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-consumer_timeout run: | @@ -934,13 +1013,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-crashing_queues run: | @@ -967,13 +1049,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-dead_lettering run: | @@ -1000,13 +1085,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-definition_import run: | @@ -1033,13 +1121,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-disconnect_detected_during_alarm run: | @@ -1066,13 +1157,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-dynamic_ha run: | @@ -1099,13 +1193,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-dynamic_qq run: | @@ -1132,13 +1229,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-eager_sync run: | @@ -1165,13 +1265,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-feature_flags run: | @@ -1198,13 +1301,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-lazy_queue run: | @@ -1231,13 +1337,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-list_consumers_sanity_check run: | @@ -1264,13 +1373,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-list_queues_online_and_offline run: | @@ -1297,13 +1409,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-maintenance_mode run: | @@ -1330,13 +1445,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-many_node_ha run: | @@ -1363,13 +1481,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-message_size_limit run: | @@ -1396,13 +1517,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-metrics run: | @@ -1429,13 +1553,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-mirrored_supervisor run: | @@ -1462,13 +1589,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-msg_store run: | @@ -1495,13 +1625,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-peer_discovery_classic_config run: | @@ -1528,13 +1661,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-peer_discovery_dns run: | @@ -1561,13 +1697,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-per_user_connection_channel_limit run: | @@ -1594,13 +1733,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-per_user_connection_channel_limit_partitions run: | @@ -1627,13 +1769,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-per_user_connection_channel_tracking run: | @@ -1660,13 +1805,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-per_user_connection_tracking run: | @@ -1693,13 +1841,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-per_vhost_connection_limit run: | @@ -1726,13 +1877,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-per_vhost_connection_limit_partitions run: | @@ -1759,13 +1913,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-per_vhost_msg_store run: | @@ -1792,13 +1949,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-per_vhost_queue_limit run: | @@ -1825,13 +1985,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-policy run: | @@ -1858,13 +2021,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-priority_queue run: | @@ -1891,13 +2057,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-priority_queue_recovery run: | @@ -1924,13 +2093,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-product_info run: | @@ -1957,13 +2129,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-proxy_protocol run: | @@ -1990,13 +2165,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-publisher_confirms_parallel run: | @@ -2023,13 +2201,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-queue_length_limits run: | @@ -2056,13 +2237,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-queue_master_location run: | @@ -2089,13 +2273,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-queue_parallel run: | @@ -2122,13 +2309,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-queue_type run: | @@ -2155,13 +2345,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-quorum_queue run: | @@ -2188,13 +2381,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_confirms run: | @@ -2221,13 +2417,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_core_metrics_gc run: | @@ -2254,13 +2453,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_fifo run: | @@ -2287,13 +2489,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_fifo_int run: | @@ -2320,13 +2525,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_fifo_prop run: | @@ -2353,13 +2561,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_fifo_v0 run: | @@ -2386,13 +2597,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_msg_record run: | @@ -2419,13 +2633,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-rabbit_stream_queue run: | @@ -2452,13 +2669,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-rabbitmq_queues_cli_integration run: | @@ -2485,13 +2705,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-rabbitmqctl_integration run: | @@ -2518,13 +2741,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-rabbitmqctl_shutdown run: | @@ -2551,13 +2777,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-signal_handling run: | @@ -2584,13 +2813,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-simple_ha run: | @@ -2617,13 +2849,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-single_active_consumer run: | @@ -2650,13 +2885,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-sync_detection run: | @@ -2683,13 +2921,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-term_to_binary_compat_prop run: | @@ -2716,13 +2957,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-topic_permission run: | @@ -2749,13 +2993,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_access_control run: | @@ -2782,13 +3029,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_access_control_authn_authz_context_propagation run: | @@ -2815,13 +3065,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_access_control_credential_validation run: | @@ -2848,13 +3101,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_amqp091_content_framing run: | @@ -2881,13 +3137,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_amqp091_server_properties run: | @@ -2914,13 +3173,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_app_management run: | @@ -2947,13 +3209,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_cluster_formation_locking_mocks run: | @@ -2980,13 +3245,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_collections run: | @@ -3013,13 +3281,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_config_value_encryption run: | @@ -3046,13 +3317,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_connection_tracking run: | @@ -3079,13 +3353,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_credit_flow run: | @@ -3112,13 +3389,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_disk_monitor run: | @@ -3145,13 +3425,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_disk_monitor_mocks run: | @@ -3178,13 +3461,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_file_handle_cache run: | @@ -3211,13 +3497,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_gen_server2 run: | @@ -3244,13 +3533,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_gm run: | @@ -3277,13 +3569,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_log_config run: | @@ -3310,13 +3605,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_log_management run: | @@ -3343,13 +3641,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_operator_policy run: | @@ -3376,13 +3677,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_pg_local run: | @@ -3409,13 +3713,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_plugin_directories run: | @@ -3442,13 +3749,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_plugin_versioning run: | @@ -3475,13 +3785,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_policy_validators run: | @@ -3508,13 +3821,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_priority_queue run: | @@ -3541,13 +3857,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_queue_consumers run: | @@ -3574,13 +3893,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_stats_and_metrics run: | @@ -3607,13 +3929,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_supervisor2 run: | @@ -3640,13 +3965,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-unit_vm_memory_monitor run: | @@ -3673,13 +4001,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-upgrade_preparation run: | @@ -3706,13 +4037,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} - name: RUN ct-vhost run: | @@ -3833,13 +4167,16 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'') && (success() || failure())' steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RECORD STEP FINISH run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-git-rabbitmq-${{ github.sha }} docker run \ --env project=rabbit \ @@ -3859,13 +4196,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -3895,13 +4235,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -3931,13 +4274,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -3967,13 +4313,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4003,13 +4352,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4039,13 +4391,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4075,13 +4430,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4111,13 +4469,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4147,13 +4508,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4183,13 +4547,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4219,13 +4586,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir broker-logs && chmod 777 broker-logs docker run \ @@ -4253,13 +4623,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4289,13 +4662,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4325,13 +4701,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4361,13 +4740,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4397,13 +4779,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4433,13 +4818,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4469,13 +4857,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4505,13 +4896,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4541,13 +4935,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4577,10 +4974,14 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PREPARE TERRAFORM SECRETS run: | mkdir terraform && chmod 777 terraform @@ -4588,7 +4989,6 @@ jobs: echo "${{ secrets.TERRAFORM_SSH_KEY_PUB }}" > terraform/id_rsa_terraform.pub - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4622,13 +5022,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4658,13 +5061,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4694,13 +5100,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4730,13 +5139,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4766,13 +5178,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4802,13 +5217,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4838,13 +5256,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4874,13 +5295,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4910,13 +5334,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4946,13 +5373,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -4982,13 +5412,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5018,13 +5451,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5054,13 +5490,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5090,13 +5529,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5126,13 +5568,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5162,13 +5607,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5198,13 +5646,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5234,13 +5685,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5270,13 +5724,16 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir ct-logs && chmod 777 ct-logs docker run \ @@ -5306,13 +5763,14 @@ jobs: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PACKAGE GENERIC UNIX run: | - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} mkdir PACKAGES && chmod 777 PACKAGES docker run \ @@ -5393,6 +5851,14 @@ 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 + - name: Login to GCR + uses: docker/login-action@v1 + with: + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RECORD BUILD FINISH run: | echo -n "${{ env.WORKFLOW_CONCLUSION }}" > conclusion @@ -5400,7 +5866,6 @@ jobs: gsutil cp conclusion \ 'gs://monorepo_github_actions_conclusions/${{ github.sha }}/${{ github.workflow }}' - gcloud auth configure-docker docker pull eu.gcr.io/cf-rabbitmq-core/ci:erlang-git-rabbitmq-${{ github.sha }} docker run \ --env GITHUB_RUN_ID=${{ github.run_id }} \ diff --git a/workflow_sources/base_image/workflow.yml b/workflow_sources/base_image/workflow.yml index 9911228b1e..98f564851b 100644 --- a/workflow_sources/base_image/workflow.yml +++ b/workflow_sources/base_image/workflow.yml @@ -30,7 +30,7 @@ jobs: key: ${{ runner.os }}-buildx-${{ github.sha }} restore-keys: | ${{ runner.os }}-buildx- - - name: Login to DockerHub + - name: Login to GCR uses: docker/login-action@v1 with: registry: eu.gcr.io diff --git a/workflow_sources/test/ct.lib.yml b/workflow_sources/test/ct.lib.yml index 8605a6a0e7..92d1b0b5c9 100644 --- a/workflow_sources/test/ct.lib.yml +++ b/workflow_sources/test/ct.lib.yml @@ -25,20 +25,35 @@ steps: #@ None if is_unique(suite_names) else assert.fail('{} suite names are not unique'.format(dep.name)) run: | ci/scripts/validate-workflow.sh (@= " ".join(suite_names) @) - - name: RUN CHECKS - uses: docker/build-push-action@v1 + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - name: Cache Docker layers + uses: actions/cache@v2 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- + - name: Login to GCR + uses: docker/login-action@v1 with: + registry: eu.gcr.io username: _json_key password: ${{ secrets.GCR_JSON_KEY }} - registry: eu.gcr.io - repository: cf-rabbitmq-core/ci-(@= dep.name @) - dockerfile: ci/dockerfiles/ci-dep - #@ build_args = {} - #@ build_args["IMAGE_TAG"] = ci_image_tag(erlang_version) - #@ build_args["BUILDEVENT_APIKEY"] = '${{ secrets.HONEYCOMB_API_KEY }}' - #@ build_args["project"] = dep.name - build_args: #@ to_build_args(build_args) - tags: (@= ci_image_tag(erlang_version) @) + - name: RUN CHECKS + uses: docker/build-push-action@v2 + with: + push: true + file: ci/dockerfiles/ci-dep + tags: #@ 'eu.gcr.io/cf-rabbitmq-core/ci-{}:{}'.format(dep.name, ci_image_tag(erlang_version)) + build-args: | + IMAGE_TAG=(@= ci_image_tag(erlang_version) @) + BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} + project=(@= dep.name @) + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache #@ end #@ def ct_suites_job(dep, group, erlang_version=None): @@ -50,13 +65,16 @@ runs-on: ubuntu-18.04 if: #@ skip_ci_condition() #@yaml/text-templated-strings steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE run: | - gcloud auth configure-docker docker pull (@= ci_dep_image(erlang_version, dep.name) @) #@ for suite in group["suites"]: - name: #@ "RUN ct-" + suite @@ -117,13 +135,16 @@ runs-on: ubuntu-18.04 if: #@ skip_ci_condition() + " && (success() || failure())" #@yaml/text-templated-strings steps: - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RECORD STEP FINISH run: | - gcloud auth configure-docker docker pull (@= ci_dep_image(erlang_version, dep.name) @) docker run \ --env project=(@= dep.name @) \ diff --git a/workflow_sources/test/finish.lib.yml b/workflow_sources/test/finish.lib.yml index c3508872a5..a7c7c20aa5 100644 --- a/workflow_sources/test/finish.lib.yml +++ b/workflow_sources/test/finish.lib.yml @@ -20,13 +20,14 @@ package-generic-unix: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PACKAGE GENERIC UNIX run: | - gcloud auth configure-docker docker pull (@= ci_image(erlang_version) @) mkdir PACKAGES && chmod 777 PACKAGES docker run \ @@ -66,6 +67,14 @@ finish: 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 + - name: Login to GCR + uses: docker/login-action@v1 + with: + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RECORD BUILD FINISH run: | echo -n "${{ env.WORKFLOW_CONCLUSION }}" > conclusion @@ -73,7 +82,6 @@ finish: gsutil cp conclusion \ 'gs://(@= gcs_path() @)' - gcloud auth configure-docker docker pull (@= ci_image(erlang_version) @) docker run \ --env GITHUB_RUN_ID=${{ github.run_id }} \ diff --git a/workflow_sources/test/prepare.lib.yml b/workflow_sources/test/prepare.lib.yml index d3e842bbf4..0b5e54663e 100644 --- a/workflow_sources/test/prepare.lib.yml +++ b/workflow_sources/test/prepare.lib.yml @@ -20,6 +20,23 @@ prepare: echo "::set-output name=branch_or_tag_name::$branch_or_tag_name" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 + - name: Set up QEMU + uses: docker/setup-qemu-action@v1 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - name: Cache Docker layers + uses: actions/cache@v2 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- + - name: Login to GCR + uses: docker/login-action@v1 + with: + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} #@ if build_base_image: - name: CHECKOUT ERLANG/OTP MASTER uses: actions/checkout@v2 @@ -33,52 +50,47 @@ prepare: erlang_sha=$(git rev-parse HEAD) echo "::set-output name=erlang_sha::$erlang_sha" - name: #@ 'CREATE ERLANG+ELIXIR IMAGE ({})'.format(erlang_version) - uses: docker/build-push-action@v1 + uses: docker/build-push-action@v2 with: - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - registry: eu.gcr.io - repository: cf-rabbitmq-core/erlang_elixir - dockerfile: #@ 'ci/dockerfiles/{}/erlang_elixir'.format(erlang_version) - #@ build_args = {} - #@ build_args["ERLANG_VERSION"] = "${{ steps.erlang_sha.outputs.erlang_sha }}" - build_args: #@ to_build_args(build_args) - tags: #@ erlang_version + push: true + file: #@ 'ci/dockerfiles/{}/erlang_elixir'.format(erlang_version) + tags: #@ 'eu.gcr.io/cf-rabbitmq-core/erlang_elixir:{}'.format(erlang_version) + build-args: | + ERLANG_VERSION=${{ steps.erlang_sha.outputs.erlang_sha }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache - name: #@ 'CREATE BASE CI IMAGE ({})'.format(erlang_version) - uses: docker/build-push-action@v1 + uses: docker/build-push-action@v2 with: - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - registry: eu.gcr.io - repository: cf-rabbitmq-core/ci-base - dockerfile: ci/dockerfiles/ci-base - #@ build_args = {} - #@ build_args["ERLANG_VERSION"] = erlang_version - #@ build_args["SECONDARY_UMBRELLA_GITREFS"] = ' '.join(data.values.secondary_umbrella_gitrefs) - build_args: #@ to_build_args(build_args) - tags: #@ erlang_version + push: true + file: ci/dockerfiles/ci-base + tags: #@ 'eu.gcr.io/cf-rabbitmq-core/ci-base:{}'.format(erlang_version) + build-args: | + ERLANG_VERSION=(@= erlang_version @) + SECONDARY_UMBRELLA_GITREFS=(@= ' '.join(data.values.secondary_umbrella_gitrefs) @) + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache - name: CLEANUP ERLANG/OTP MASTER run: | rm -rf erlang-git-master #@ end - name: PREPARE BUILD IMAGE - uses: docker/build-push-action@v1 + uses: docker/build-push-action@v2 with: - username: _json_key - password: ${{ secrets.GCR_JSON_KEY }} - registry: eu.gcr.io - repository: cf-rabbitmq-core/ci - dockerfile: ci/dockerfiles/ci - #@ build_args = {} - #@ build_args["ERLANG_VERSION"] = erlang_version - #@ build_args["GITHUB_RUN_ID"] = '${{ github.run_id }}' - #@ build_args["BUILDEVENT_APIKEY"] = '${{ secrets.HONEYCOMB_API_KEY }}' - #@ build_args["GITHUB_SHA"] = '${{ github.sha }}' - #@ build_args["base_rmq_ref"] = data.values.base_rmq_ref - #@ build_args["current_rmq_ref"] = '${{ steps.buildevents.outputs.branch_or_tag_name }}' - #@ build_args["RABBITMQ_VERSION"] = data.values.base_rmq_ref.replace('master', '3.9.x').replace('.x', '.0') - build_args: #@ to_build_args(build_args) - tags: (@= ci_image_tag(erlang_version) @) + push: true + file: ci/dockerfiles/ci + tags: #@ 'eu.gcr.io/cf-rabbitmq-core/ci:{}'.format(ci_image_tag(erlang_version)) + #@ rabbitmq_version = data.values.base_rmq_ref.replace('master', '3.9.x').replace('.x', '.0') + build-args: | + ERLANG_VERSION=(@= erlang_version @) + GITHUB_RUN_ID=${{ github.run_id }} + BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} + GITHUB_SHA=${{ github.sha }} + base_rmq_ref=(@= data.values.base_rmq_ref @) + current_rmq_ref=${{ steps.buildevents.outputs.branch_or_tag_name }} + RABBITMQ_VERSION=(@= rabbitmq_version @) + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache - uses: google-github-actions/setup-gcloud@master with: service_account_key: ${{ secrets.GCR_JSON_KEY }} @@ -107,14 +119,17 @@ xref: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE #@ base_image = "eu.gcr.io/cf-rabbitmq-core/ci-base:" + erlang_version run: | - gcloud auth configure-docker docker pull (@= base_image @) #@ for dep in [d for d in data.values.deps if not getattr(d, "skip_xref", False)]: - name: RUN XREF (@= dep.name @) @@ -157,14 +172,17 @@ dialyze: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: PULL IMAGE #@ base_image = "eu.gcr.io/cf-rabbitmq-core/ci-base:" + erlang_version run: | - gcloud auth configure-docker docker pull (@= base_image @) #@ for dep in [d for d in data.values.deps if not getattr(d, "skip_dialyzer", False)]: - name: RUN DIALYZE (@= dep.name @) diff --git a/workflow_sources/test/rabbitmq_cli.lib.yml b/workflow_sources/test/rabbitmq_cli.lib.yml index 882851774b..de255a0d65 100644 --- a/workflow_sources/test/rabbitmq_cli.lib.yml +++ b/workflow_sources/test/rabbitmq_cli.lib.yml @@ -13,13 +13,16 @@ steps: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} - name: RUN TESTS run: | - gcloud auth configure-docker docker pull (@= ci_image(erlang_version) @) mkdir broker-logs && chmod 777 broker-logs docker run \ diff --git a/workflow_sources/test/tests.lib.yml b/workflow_sources/test/tests.lib.yml index 4e0f6835f5..264b75229a 100644 --- a/workflow_sources/test/tests.lib.yml +++ b/workflow_sources/test/tests.lib.yml @@ -13,10 +13,14 @@ steps: id: buildevents run: | echo "::set-output name=step_start::$(date +%s)" - - uses: google-github-actions/setup-gcloud@master + - uses: satackey/action-docker-layer-caching@v0.0.10 + continue-on-error: true + - name: Login to GCR + uses: docker/login-action@v1 with: - service_account_key: ${{ secrets.GCR_JSON_KEY }} - export_default_credentials: true + registry: eu.gcr.io + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} #@ if getattr(dep, 'use_terraform', False): - name: PREPARE TERRAFORM SECRETS run: | @@ -26,7 +30,6 @@ steps: #@ end - name: RUN TESTS run: | - gcloud auth configure-docker docker pull (@= ci_image(erlang_version) @) mkdir ct-logs && chmod 777 ct-logs docker run \ |