diff options
author | Philip Kuryloski <kuryloskip@vmware.com> | 2020-12-09 11:55:37 +0100 |
---|---|---|
committer | Philip Kuryloski <kuryloskip@vmware.com> | 2020-12-09 11:55:37 +0100 |
commit | e1ce8eb8b209588a25410ac504922b35144b94fc (patch) | |
tree | f11258b3a38a5f00bc3340e9f8f7eef81343d0e8 | |
parent | c0e3bc7e61fa0e07c5b5c5be40e3621661b60c4d (diff) | |
download | rabbitmq-server-git-e1ce8eb8b209588a25410ac504922b35144b94fc.tar.gz |
Update extern docker actions for test workflows
Use updated versions of third party GitHub Actions for docker
-rw-r--r-- | .github/workflows/base-images.yaml | 2 | ||||
-rw-r--r-- | .github/workflows/test-erlang-otp-22.3.yaml | 1328 | ||||
-rw-r--r-- | .github/workflows/test-erlang-otp-23.1.yaml | 1337 | ||||
-rw-r--r-- | .github/workflows/test-erlang-otp-git.yaml | 1367 | ||||
-rw-r--r-- | workflow_sources/base_image/workflow.yml | 2 | ||||
-rw-r--r-- | workflow_sources/test/ct.lib.yml | 55 | ||||
-rw-r--r-- | workflow_sources/test/finish.lib.yml | 16 | ||||
-rw-r--r-- | workflow_sources/test/prepare.lib.yml | 104 | ||||
-rw-r--r-- | workflow_sources/test/rabbitmq_cli.lib.yml | 9 | ||||
-rw-r--r-- | workflow_sources/test/tests.lib.yml | 9 |
10 files changed, 2414 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..767267fc28 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,14 @@ jobs: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - 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: 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 +526,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: 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 +572,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 +609,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +679,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +749,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +819,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +889,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +959,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1029,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1099,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1169,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1239,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1309,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1379,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1449,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1519,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1589,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1659,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1729,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1799,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1869,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1939,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2009,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2079,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2149,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2219,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2289,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2359,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2429,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2499,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2569,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2639,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2709,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2779,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2849,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2919,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2989,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3059,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3129,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3199,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3269,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3339,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3409,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3479,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3549,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3619,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3689,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3759,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3829,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3899,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3969,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +4039,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +4109,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +4179,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +4249,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +4319,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +4389,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +4459,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +4529,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +4599,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +4669,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +4739,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +4809,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +4879,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +4949,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +5019,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +5089,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +5159,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +5229,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +5299,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +5369,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +5439,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +5509,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +5579,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +5649,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +5719,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +5789,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +5859,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +5929,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +5999,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +6069,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +6139,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +6209,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +6279,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +6349,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +6419,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +6489,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +6559,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +6629,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +6699,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +6769,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +6839,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +6909,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +6979,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +7049,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +7119,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +7189,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +7353,14 @@ 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 + - name: Login to GCR + uses: docker/login-action@v1 with: - 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 +7380,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: 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 +7417,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: 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 +7454,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: 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 +7491,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: 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 +7528,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: 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 +7565,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: 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 +7602,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: 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 +7639,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: 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 +7676,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: 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 +7713,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: 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 +7750,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: 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 +7785,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: 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 +7822,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: 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 +7859,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: 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 +7896,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: 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 +7933,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: 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 +7970,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: 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 +8007,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: 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 +8044,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: 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 +8081,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: 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 +8118,12 @@ 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: PREPARE TERRAFORM SECRETS run: | mkdir terraform && chmod 777 terraform @@ -7969,7 +8131,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 +8164,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: 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 +8201,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: 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 +8238,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: 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 +8275,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: 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 +8312,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: 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 +8349,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: 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 +8386,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: 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 +8423,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: 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 +8460,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: 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 +8497,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: 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 +8534,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: 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 +8571,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: 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 +8608,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: 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 +8645,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: 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 +8682,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: 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 +8719,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: 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 +8756,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: 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 +8793,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: 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 +8830,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: 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 +8867,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 +8955,12 @@ jobs: with: service_account_key: ${{ secrets.GCR_JSON_KEY }} export_default_credentials: 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 +8968,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..092bbdbed1 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,14 @@ jobs: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - 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: 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 +526,14 @@ jobs: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - 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: 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 +698,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: 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 +744,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 +781,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +815,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +849,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +883,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +917,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +951,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +985,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1019,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1053,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1087,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1121,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1155,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1189,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1223,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1257,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1291,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1325,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1359,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1393,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1427,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1461,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1495,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1529,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1563,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1597,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1631,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1665,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1699,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1733,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1767,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1801,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1835,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1869,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1903,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1937,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1971,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2005,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2039,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2073,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2107,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2141,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2175,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2209,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2243,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2277,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2311,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2345,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2379,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2413,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2447,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2481,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2515,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2549,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2583,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2617,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2651,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2685,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2719,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2753,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2787,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2821,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2855,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2889,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2923,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2957,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2991,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3025,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3059,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3093,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3127,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3161,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3195,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3229,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3263,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3297,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3331,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3365,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3399,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3433,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3467,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3501,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3535,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3569,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3603,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3637,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3671,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3705,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3739,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3773,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3807,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3841,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3875,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3909,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3943,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3977,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +4105,14 @@ 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 + - name: Login to GCR + uses: docker/login-action@v1 with: - 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 +4132,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: 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 +4169,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: 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 +4206,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: 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 +4243,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: 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 +4280,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: 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 +4317,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: 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 +4354,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: 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 +4391,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: 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 +4428,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: 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 +4465,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: 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 +4502,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: 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 +4537,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: 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 +4574,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: 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 +4611,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: 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 +4648,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: 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 +4685,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: 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 +4722,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: 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 +4759,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: 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 +4796,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: 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 +4833,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: 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 +4870,12 @@ 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: PREPARE TERRAFORM SECRETS run: | mkdir terraform && chmod 777 terraform @@ -4720,7 +4883,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 +4916,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: 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 +4953,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: 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 +4990,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: 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 +5027,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: 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 +5064,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: 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 +5101,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: 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 +5138,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: 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 +5175,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: 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 +5212,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: 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 +5249,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: 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 +5286,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: 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 +5323,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: 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 +5360,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: 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 +5397,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: 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 +5434,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: 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 +5471,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: 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 +5508,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: 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 +5545,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: 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 +5582,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: 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 +5619,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 +5708,12 @@ jobs: with: service_account_key: ${{ secrets.GCR_JSON_KEY }} export_default_credentials: 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 +5721,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..322cf326d2 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,14 @@ jobs: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - 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: 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 +566,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: 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 +612,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 +649,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +683,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +717,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +751,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +785,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +819,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +853,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +887,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +921,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +955,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +989,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1023,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1057,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1091,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1125,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1159,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1193,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1227,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1261,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1295,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1329,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1363,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1397,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1431,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1465,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1499,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1533,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1567,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1601,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1635,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1669,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1703,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1737,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1771,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1805,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1839,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1873,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1907,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1941,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +1975,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2009,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2043,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2077,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2111,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2145,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2179,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2213,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2247,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2281,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2315,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2349,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2383,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2417,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2451,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2485,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2519,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2553,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2587,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2621,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2655,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2689,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2723,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2757,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2791,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2825,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2859,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2893,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2927,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2961,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +2995,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3029,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3063,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3097,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3131,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3165,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3199,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3233,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3267,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3301,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3335,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3369,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3403,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3437,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3471,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3505,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3539,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3573,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3607,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3641,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3675,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3709,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3743,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3777,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3811,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3845,14 @@ jobs: runs-on: ubuntu-18.04 if: '!contains(github.event.head_commit.message, ''[ci skip]'')' steps: - - 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: 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 +3973,14 @@ 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 + - name: Login to GCR + uses: docker/login-action@v1 with: - 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 +4000,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: 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 +4037,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: 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 +4074,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: 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 +4111,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: 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 +4148,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: 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 +4185,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: 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 +4222,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: 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 +4259,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: 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 +4296,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: 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 +4333,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: 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 +4370,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: 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 +4405,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: 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 +4442,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: 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 +4479,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: 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 +4516,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: 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 +4553,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: 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 +4590,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: 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 +4627,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: 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 +4664,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: 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 +4701,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: 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 +4738,12 @@ 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: PREPARE TERRAFORM SECRETS run: | mkdir terraform && chmod 777 terraform @@ -4588,7 +4751,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 +4784,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: 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 +4821,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: 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 +4858,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: 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 +4895,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: 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 +4932,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: 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 +4969,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: 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 +5006,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: 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 +5043,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: 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 +5080,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: 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 +5117,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: 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 +5154,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: 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 +5191,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: 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 +5228,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: 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 +5265,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: 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 +5302,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: 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 +5339,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: 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 +5376,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: 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 +5413,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: 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 +5450,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: 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 +5487,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 +5575,12 @@ jobs: with: service_account_key: ${{ secrets.GCR_JSON_KEY }} export_default_credentials: 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 +5588,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..9cf02bd1c3 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,14 @@ runs-on: ubuntu-18.04 if: #@ skip_ci_condition() #@yaml/text-templated-strings steps: - - 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: 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 +133,14 @@ runs-on: ubuntu-18.04 if: #@ skip_ci_condition() + " && (success() || failure())" #@yaml/text-templated-strings steps: - - 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: 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..f3d0b7d589 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,12 @@ finish: with: service_account_key: ${{ secrets.GCR_JSON_KEY }} export_default_credentials: 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 +80,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..f7ea6f8638 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,15 @@ xref: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - 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: 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 +170,15 @@ dialyze: echo "::set-output name=step_start::$(date +%s)" - name: CHECKOUT REPOSITORY uses: actions/checkout@v2 - - 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: 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..be2fb621fe 100644 --- a/workflow_sources/test/rabbitmq_cli.lib.yml +++ b/workflow_sources/test/rabbitmq_cli.lib.yml @@ -13,13 +13,14 @@ steps: 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: 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..62207128b8 100644 --- a/workflow_sources/test/tests.lib.yml +++ b/workflow_sources/test/tests.lib.yml @@ -13,10 +13,12 @@ steps: 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 }} #@ if getattr(dep, 'use_terraform', False): - name: PREPARE TERRAFORM SECRETS run: | @@ -26,7 +28,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 \ |