summaryrefslogtreecommitdiff
path: root/.github/workflows/test-erlang-otp-23.1.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/test-erlang-otp-23.1.yaml')
-rw-r--r--.github/workflows/test-erlang-otp-23.1.yaml14555
1 files changed, 5230 insertions, 9325 deletions
diff --git a/.github/workflows/test-erlang-otp-23.1.yaml b/.github/workflows/test-erlang-otp-23.1.yaml
index 5bebcf13a3..e84c289ad4 100644
--- a/.github/workflows/test-erlang-otp-23.1.yaml
+++ b/.github/workflows/test-erlang-otp-23.1.yaml
@@ -1,9328 +1,5233 @@
-# vim:sw=2:et:
-# https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow
-name: "Test - Erlang 23.1"
-on:
- push:
- repository_dispatch:
- types:
- - new-commit-to-dep-release-branch
+name: Test - Erlang 23.1
+on: push
jobs:
- # vim:sw=2:et:
- checks:
- name: checks
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: CHECK RABBITMQ COMPONENTS
- # https://github.community/t5/GitHub-Actions/How-can-I-set-an-expression-as-an-environment-variable-at/m-p/41804/highlight/true#M4751
- id: ref
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- echo "::set-output name=branch_or_tag_name::$branch_or_tag_name"
- make check-rabbitmq-components.mk base_rmq_ref=master current_rmq_ref=$branch_or_tag_name
- - name: RESOLVE & COMPILE DEPS
- run: |
- make deps test-deps base_rmq_ref=master current_rmq_ref=${{ steps.ref.outputs.branch_or_tag_name }}
- echo "Capture versions of the RabbitMQ components used in this workflow..."
- make rabbit-rabbitmq-deps.mk
- echo "Remove directories not used in the subsequent jobs..."
- rm -fr deps/*/{.git,test}
- - name: UPLOAD DEPS VERSIONS
- uses: actions/upload-artifact@v2
- with:
- name: rabbit-rabbitmq-deps.mk
- path: rabbit-rabbitmq-deps.mk
- - name: CREATE DEPS ARCHIVE
- run: |
- tar cf - deps | xz > deps.tar.xz
- - name: UPLOAD DEPS ARCHIVE
- uses: actions/upload-artifact@v2
- with:
- name: deps.tar.xz
- path: deps.tar.xz
- - name: CHECK CROSS REFERENCES
- run: |
- make xref base_rmq_ref=master current_rmq_ref=${{ steps.ref.outputs.branch_or_tag_name }}
- - name: COMPILE FOR TEST
- run: |
- make test-build base_rmq_ref=master current_rmq_ref=${{ steps.ref.outputs.branch_or_tag_name }}
- - name: CACHE SECONDARY UMBRELLAS
- if: success() && 'latest' == 'oldest'
- uses: actions/cache@v1
- with:
- path: umbrellas
- key: secondary-umbrellas-v3.7.28-v3.8.9-erlang-23.1-rev4
- - name: PREPARE SECONDARY UMBRELLA COPIES
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- for version in v3.7.28 v3.8.9; do
- umbrella="umbrellas/$version"
- if ! test -d "$umbrella" ||
- ! make -C "$umbrella/deps/rabbit" test-dist; then
- rm -rf "$umbrella"
+ prepare:
+ name: prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ outputs:
+ build_start: ${{ steps.buildevents.outputs.build_start }}
+ branch_or_tag_name: ${{ steps.buildevents.outputs.branch_or_tag_name }}
+ steps:
+ - name: RECORD BUILD START
+ id: buildevents
+ run: |
+ echo "::set-output name=build_start::$(date +%s)"
+ branch_or_tag_name=${GITHUB_REF#refs/*/}
+ 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
+ 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=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 }}
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - name: RECORD STEP FINISH
+ run: |
+ docker run \
+ --env project=prepare \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.build_start }} \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/collect.sh
+ xref:
+ name: xref
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD XREF START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - name: CHECKOUT REPOSITORY
+ uses: actions/checkout@v2
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ docker run \
+ --env project=rabbit_common \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbit
+ run: |
+ docker run \
+ --env project=rabbit \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF amqp_client
+ run: |
+ docker run \
+ --env project=amqp_client \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF amqp10_client
+ run: |
+ docker run \
+ --env project=amqp10_client \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF amqp10_common
+ run: |
+ docker run \
+ --env project=amqp10_common \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_amqp1_0
+ run: |
+ docker run \
+ --env project=rabbitmq_amqp1_0 \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_auth_backend_cache
+ run: |
+ docker run \
+ --env project=rabbitmq_auth_backend_cache \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_auth_backend_http
+ run: |
+ docker run \
+ --env project=rabbitmq_auth_backend_http \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_auth_backend_ldap
+ run: |
+ docker run \
+ --env project=rabbitmq_auth_backend_ldap \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_auth_backend_oauth2
+ run: |
+ docker run \
+ --env project=rabbitmq_auth_backend_oauth2 \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_auth_mechanism_ssl
+ run: |
+ docker run \
+ --env project=rabbitmq_auth_mechanism_ssl \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_aws
+ run: |
+ docker run \
+ --env project=rabbitmq_aws \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_cli
+ run: |
+ docker run \
+ --env project=rabbitmq_cli \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_consistent_hash_exchange
+ run: |
+ docker run \
+ --env project=rabbitmq_consistent_hash_exchange \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_event_exchange
+ run: |
+ docker run \
+ --env project=rabbitmq_event_exchange \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_federation
+ run: |
+ docker run \
+ --env project=rabbitmq_federation \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_federation_management
+ run: |
+ docker run \
+ --env project=rabbitmq_federation_management \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_jms_topic_exchange
+ run: |
+ docker run \
+ --env project=rabbitmq_jms_topic_exchange \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_management
+ run: |
+ docker run \
+ --env project=rabbitmq_management \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_management_agent
+ run: |
+ docker run \
+ --env project=rabbitmq_management_agent \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_mqtt
+ run: |
+ docker run \
+ --env project=rabbitmq_mqtt \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_peer_discovery_common
+ run: |
+ docker run \
+ --env project=rabbitmq_peer_discovery_common \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_peer_discovery_aws
+ run: |
+ docker run \
+ --env project=rabbitmq_peer_discovery_aws \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_peer_discovery_k8s
+ run: |
+ docker run \
+ --env project=rabbitmq_peer_discovery_k8s \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_peer_discovery_consul
+ run: |
+ docker run \
+ --env project=rabbitmq_peer_discovery_consul \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_peer_discovery_etcd
+ run: |
+ docker run \
+ --env project=rabbitmq_peer_discovery_etcd \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_prometheus
+ run: |
+ docker run \
+ --env project=rabbitmq_prometheus \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_random_exchange
+ run: |
+ docker run \
+ --env project=rabbitmq_random_exchange \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_recent_history_exchange
+ run: |
+ docker run \
+ --env project=rabbitmq_recent_history_exchange \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_sharding
+ run: |
+ docker run \
+ --env project=rabbitmq_sharding \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_shovel
+ run: |
+ docker run \
+ --env project=rabbitmq_shovel \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_shovel_management
+ run: |
+ docker run \
+ --env project=rabbitmq_shovel_management \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_stomp
+ run: |
+ docker run \
+ --env project=rabbitmq_stomp \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_top
+ run: |
+ docker run \
+ --env project=rabbitmq_top \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_tracing
+ run: |
+ docker run \
+ --env project=rabbitmq_tracing \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_trust_store
+ run: |
+ docker run \
+ --env project=rabbitmq_trust_store \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_web_dispatch
+ run: |
+ docker run \
+ --env project=rabbitmq_web_dispatch \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_web_mqtt
+ run: |
+ docker run \
+ --env project=rabbitmq_web_mqtt \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_web_mqtt_examples
+ run: |
+ docker run \
+ --env project=rabbitmq_web_mqtt_examples \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_web_stomp
+ run: |
+ docker run \
+ --env project=rabbitmq_web_stomp \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RUN XREF rabbitmq_web_stomp_examples
+ run: |
+ docker run \
+ --env project=rabbitmq_web_stomp_examples \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/xref.sh
+ - name: RECORD STEP FINISH
+ if: always()
+ run: |
+ docker run \
+ --env project=xref \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ci/scripts:/workspace/rabbitmq/ci/scripts \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/collect.sh
+ dialyze:
+ name: dialyze
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD DIALYZE START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - name: CHECKOUT REPOSITORY
+ uses: actions/checkout@v2
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ docker run \
+ --env project=rabbit_common \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/dialyze.sh
+ - name: RUN DIALYZE rabbit
+ run: |
+ docker run \
+ --env project=rabbit \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/dialyze.sh
+ - name: RUN DIALYZE amqp10_client
+ run: |
+ docker run \
+ --env project=amqp10_client \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/dialyze.sh
+ - name: RUN DIALYZE amqp10_common
+ run: |
+ docker run \
+ --env project=amqp10_common \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/dialyze.sh
+ - name: RUN DIALYZE rabbitmq_auth_mechanism_ssl
+ run: |
+ docker run \
+ --env project=rabbitmq_auth_mechanism_ssl \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/dialyze.sh
+ - name: RUN DIALYZE rabbitmq_event_exchange
+ run: |
+ docker run \
+ --env project=rabbitmq_event_exchange \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/dialyze.sh
+ - name: RUN DIALYZE rabbitmq_federation_management
+ run: |
+ docker run \
+ --env project=rabbitmq_federation_management \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/dialyze.sh
+ - name: RUN DIALYZE rabbitmq_peer_discovery_common
+ run: |
+ docker run \
+ --env project=rabbitmq_peer_discovery_common \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/dialyze.sh
+ - name: RUN DIALYZE rabbitmq_random_exchange
+ run: |
+ docker run \
+ --env project=rabbitmq_random_exchange \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/dialyze.sh
+ - name: RUN DIALYZE rabbitmq_shovel_management
+ run: |
+ docker run \
+ --env project=rabbitmq_shovel_management \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/dialyze.sh
+ - name: RUN DIALYZE rabbitmq_top
+ run: |
+ docker run \
+ --env project=rabbitmq_top \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/dialyze.sh
+ - name: RUN DIALYZE rabbitmq_tracing
+ run: |
+ docker run \
+ --env project=rabbitmq_tracing \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/dialyze.sh
+ - name: RUN DIALYZE rabbitmq_web_mqtt_examples
+ run: |
+ docker run \
+ --env project=rabbitmq_web_mqtt_examples \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/dialyze.sh
+ - name: RUN DIALYZE rabbitmq_web_stomp_examples
+ run: |
+ docker run \
+ --env project=rabbitmq_web_stomp_examples \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}:/workspace/rabbitmq \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/dialyze.sh
+ - name: RECORD STEP FINISH
+ if: always()
+ run: |
+ docker run \
+ --env project=dialyze \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ci/scripts:/workspace/rabbitmq/ci/scripts \
+ --workdir /workspace/rabbitmq \
+ eu.gcr.io/cf-rabbitmq-core/ci-base:23.1 \
+ ci/scripts/collect.sh
+ rabbit_common:
+ name: rabbit_common
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbit_common \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbit_common-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbit-checks:
+ name: rabbit-checks
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ outputs:
+ step_start: ${{ steps.buildevents.outputs.step_start }}
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - name: CHECKOUT REPOSITORY
+ uses: actions/checkout@v2
+ - name: VALIDATE KNOWN CT SUITES
+ env:
+ 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
+ with:
+ 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 }}
+ rabbit-ct-amqqueue_backward_compatibility:
+ name: rabbit-ct-amqqueue_backward_compatibility
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-amqqueue_backward_compatibility-logs && chmod 777 ct-amqqueue_backward_compatibility-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=amqqueue_backward_compatibility \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-amqqueue_backward_compatibility-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-amqqueue_backward_compatibility-logs
+ path: ct-amqqueue_backward_compatibility-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-backing_queue:
+ name: rabbit-ct-backing_queue
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-backing_queue-logs && chmod 777 ct-backing_queue-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=backing_queue \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-backing_queue-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-backing_queue-logs
+ path: ct-backing_queue-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-channel_interceptor:
+ name: rabbit-ct-channel_interceptor
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-channel_interceptor-logs && chmod 777 ct-channel_interceptor-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=channel_interceptor \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-channel_interceptor-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-channel_interceptor-logs
+ path: ct-channel_interceptor-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-channel_operation_timeout:
+ name: rabbit-ct-channel_operation_timeout
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-channel_operation_timeout-logs && chmod 777 ct-channel_operation_timeout-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=channel_operation_timeout \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-channel_operation_timeout-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-channel_operation_timeout-logs
+ path: ct-channel_operation_timeout-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-cluster:
+ name: rabbit-ct-cluster
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-cluster-logs && chmod 777 ct-cluster-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=cluster \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-cluster-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-cluster-logs
+ path: ct-cluster-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-cluster_rename:
+ name: rabbit-ct-cluster_rename
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-cluster_rename-logs && chmod 777 ct-cluster_rename-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=cluster_rename \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-cluster_rename-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-cluster_rename-logs
+ path: ct-cluster_rename-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-clustering_management:
+ name: rabbit-ct-clustering_management
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-clustering_management-logs && chmod 777 ct-clustering_management-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=clustering_management \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-clustering_management-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-clustering_management-logs
+ path: ct-clustering_management-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-config_schema:
+ name: rabbit-ct-config_schema
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-config_schema-logs && chmod 777 ct-config_schema-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=config_schema \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-config_schema-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-config_schema-logs
+ path: ct-config_schema-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-confirms_rejects:
+ name: rabbit-ct-confirms_rejects
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-confirms_rejects-logs && chmod 777 ct-confirms_rejects-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=confirms_rejects \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-confirms_rejects-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-confirms_rejects-logs
+ path: ct-confirms_rejects-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-consumer_timeout:
+ name: rabbit-ct-consumer_timeout
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-consumer_timeout-logs && chmod 777 ct-consumer_timeout-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=consumer_timeout \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-consumer_timeout-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-consumer_timeout-logs
+ path: ct-consumer_timeout-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-crashing_queues:
+ name: rabbit-ct-crashing_queues
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-crashing_queues-logs && chmod 777 ct-crashing_queues-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=crashing_queues \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-crashing_queues-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-crashing_queues-logs
+ path: ct-crashing_queues-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-dead_lettering:
+ name: rabbit-ct-dead_lettering
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-dead_lettering-logs && chmod 777 ct-dead_lettering-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=dead_lettering \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-dead_lettering-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-dead_lettering-logs
+ path: ct-dead_lettering-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-definition_import:
+ name: rabbit-ct-definition_import
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-definition_import-logs && chmod 777 ct-definition_import-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=definition_import \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-definition_import-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-definition_import-logs
+ path: ct-definition_import-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-disconnect_detected_during_alarm:
+ name: rabbit-ct-disconnect_detected_during_alarm
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-disconnect_detected_during_alarm-logs && chmod 777 ct-disconnect_detected_during_alarm-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=disconnect_detected_during_alarm \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-disconnect_detected_during_alarm-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-disconnect_detected_during_alarm-logs
+ path: ct-disconnect_detected_during_alarm-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-dynamic_ha:
+ name: rabbit-ct-dynamic_ha
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-dynamic_ha-logs && chmod 777 ct-dynamic_ha-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=dynamic_ha \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-dynamic_ha-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-dynamic_ha-logs
+ path: ct-dynamic_ha-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-dynamic_qq:
+ name: rabbit-ct-dynamic_qq
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-dynamic_qq-logs && chmod 777 ct-dynamic_qq-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=dynamic_qq \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-dynamic_qq-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-dynamic_qq-logs
+ path: ct-dynamic_qq-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-eager_sync:
+ name: rabbit-ct-eager_sync
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-eager_sync-logs && chmod 777 ct-eager_sync-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=eager_sync \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-eager_sync-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-eager_sync-logs
+ path: ct-eager_sync-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-feature_flags:
+ name: rabbit-ct-feature_flags
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-feature_flags-logs && chmod 777 ct-feature_flags-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=feature_flags \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-feature_flags-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-feature_flags-logs
+ path: ct-feature_flags-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-lazy_queue:
+ name: rabbit-ct-lazy_queue
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-lazy_queue-logs && chmod 777 ct-lazy_queue-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=lazy_queue \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-lazy_queue-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-lazy_queue-logs
+ path: ct-lazy_queue-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-list_consumers_sanity_check:
+ name: rabbit-ct-list_consumers_sanity_check
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-list_consumers_sanity_check-logs && chmod 777 ct-list_consumers_sanity_check-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=list_consumers_sanity_check \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-list_consumers_sanity_check-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-list_consumers_sanity_check-logs
+ path: ct-list_consumers_sanity_check-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-list_queues_online_and_offline:
+ name: rabbit-ct-list_queues_online_and_offline
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-list_queues_online_and_offline-logs && chmod 777 ct-list_queues_online_and_offline-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=list_queues_online_and_offline \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-list_queues_online_and_offline-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-list_queues_online_and_offline-logs
+ path: ct-list_queues_online_and_offline-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-maintenance_mode:
+ name: rabbit-ct-maintenance_mode
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-maintenance_mode-logs && chmod 777 ct-maintenance_mode-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=maintenance_mode \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-maintenance_mode-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-maintenance_mode-logs
+ path: ct-maintenance_mode-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-many_node_ha:
+ name: rabbit-ct-many_node_ha
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-many_node_ha-logs && chmod 777 ct-many_node_ha-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=many_node_ha \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-many_node_ha-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-many_node_ha-logs
+ path: ct-many_node_ha-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-message_size_limit:
+ name: rabbit-ct-message_size_limit
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-message_size_limit-logs && chmod 777 ct-message_size_limit-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=message_size_limit \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-message_size_limit-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-message_size_limit-logs
+ path: ct-message_size_limit-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-metrics:
+ name: rabbit-ct-metrics
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-metrics-logs && chmod 777 ct-metrics-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=metrics \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-metrics-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-metrics-logs
+ path: ct-metrics-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-mirrored_supervisor:
+ name: rabbit-ct-mirrored_supervisor
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-mirrored_supervisor-logs && chmod 777 ct-mirrored_supervisor-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=mirrored_supervisor \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-mirrored_supervisor-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-mirrored_supervisor-logs
+ path: ct-mirrored_supervisor-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-msg_store:
+ name: rabbit-ct-msg_store
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-msg_store-logs && chmod 777 ct-msg_store-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=msg_store \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-msg_store-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-msg_store-logs
+ path: ct-msg_store-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-peer_discovery_classic_config:
+ name: rabbit-ct-peer_discovery_classic_config
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-peer_discovery_classic_config-logs && chmod 777 ct-peer_discovery_classic_config-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=peer_discovery_classic_config \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-peer_discovery_classic_config-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-peer_discovery_classic_config-logs
+ path: ct-peer_discovery_classic_config-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-peer_discovery_dns:
+ name: rabbit-ct-peer_discovery_dns
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-peer_discovery_dns-logs && chmod 777 ct-peer_discovery_dns-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=peer_discovery_dns \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-peer_discovery_dns-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-peer_discovery_dns-logs
+ path: ct-peer_discovery_dns-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-per_user_connection_channel_limit:
+ name: rabbit-ct-per_user_connection_channel_limit
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-per_user_connection_channel_limit-logs && chmod 777 ct-per_user_connection_channel_limit-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=per_user_connection_channel_limit \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-per_user_connection_channel_limit-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-per_user_connection_channel_limit-logs
+ path: ct-per_user_connection_channel_limit-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-per_user_connection_channel_limit_partitions:
+ name: rabbit-ct-per_user_connection_channel_limit_partitions
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-per_user_connection_channel_limit_partitions-logs && chmod 777 ct-per_user_connection_channel_limit_partitions-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=per_user_connection_channel_limit_partitions \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-per_user_connection_channel_limit_partitions-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-per_user_connection_channel_limit_partitions-logs
+ path: ct-per_user_connection_channel_limit_partitions-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-per_user_connection_channel_tracking:
+ name: rabbit-ct-per_user_connection_channel_tracking
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-per_user_connection_channel_tracking-logs && chmod 777 ct-per_user_connection_channel_tracking-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=per_user_connection_channel_tracking \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-per_user_connection_channel_tracking-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-per_user_connection_channel_tracking-logs
+ path: ct-per_user_connection_channel_tracking-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-per_user_connection_tracking:
+ name: rabbit-ct-per_user_connection_tracking
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-per_user_connection_tracking-logs && chmod 777 ct-per_user_connection_tracking-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=per_user_connection_tracking \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-per_user_connection_tracking-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-per_user_connection_tracking-logs
+ path: ct-per_user_connection_tracking-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-per_vhost_connection_limit:
+ name: rabbit-ct-per_vhost_connection_limit
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-per_vhost_connection_limit-logs && chmod 777 ct-per_vhost_connection_limit-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=per_vhost_connection_limit \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-per_vhost_connection_limit-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-per_vhost_connection_limit-logs
+ path: ct-per_vhost_connection_limit-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-per_vhost_connection_limit_partitions:
+ name: rabbit-ct-per_vhost_connection_limit_partitions
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-per_vhost_connection_limit_partitions-logs && chmod 777 ct-per_vhost_connection_limit_partitions-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=per_vhost_connection_limit_partitions \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-per_vhost_connection_limit_partitions-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-per_vhost_connection_limit_partitions-logs
+ path: ct-per_vhost_connection_limit_partitions-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-per_vhost_msg_store:
+ name: rabbit-ct-per_vhost_msg_store
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-per_vhost_msg_store-logs && chmod 777 ct-per_vhost_msg_store-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=per_vhost_msg_store \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-per_vhost_msg_store-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-per_vhost_msg_store-logs
+ path: ct-per_vhost_msg_store-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-per_vhost_queue_limit:
+ name: rabbit-ct-per_vhost_queue_limit
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-per_vhost_queue_limit-logs && chmod 777 ct-per_vhost_queue_limit-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=per_vhost_queue_limit \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-per_vhost_queue_limit-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-per_vhost_queue_limit-logs
+ path: ct-per_vhost_queue_limit-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-policy:
+ name: rabbit-ct-policy
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-policy-logs && chmod 777 ct-policy-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=policy \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-policy-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-policy-logs
+ path: ct-policy-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-priority_queue:
+ name: rabbit-ct-priority_queue
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-priority_queue-logs && chmod 777 ct-priority_queue-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=priority_queue \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-priority_queue-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-priority_queue-logs
+ path: ct-priority_queue-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-priority_queue_recovery:
+ name: rabbit-ct-priority_queue_recovery
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-priority_queue_recovery-logs && chmod 777 ct-priority_queue_recovery-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=priority_queue_recovery \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-priority_queue_recovery-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-priority_queue_recovery-logs
+ path: ct-priority_queue_recovery-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-product_info:
+ name: rabbit-ct-product_info
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-product_info-logs && chmod 777 ct-product_info-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=product_info \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-product_info-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-product_info-logs
+ path: ct-product_info-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-proxy_protocol:
+ name: rabbit-ct-proxy_protocol
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-proxy_protocol-logs && chmod 777 ct-proxy_protocol-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=proxy_protocol \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-proxy_protocol-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-proxy_protocol-logs
+ path: ct-proxy_protocol-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-publisher_confirms_parallel:
+ name: rabbit-ct-publisher_confirms_parallel
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-publisher_confirms_parallel-logs && chmod 777 ct-publisher_confirms_parallel-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=publisher_confirms_parallel \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-publisher_confirms_parallel-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-publisher_confirms_parallel-logs
+ path: ct-publisher_confirms_parallel-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-queue_length_limits:
+ name: rabbit-ct-queue_length_limits
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-queue_length_limits-logs && chmod 777 ct-queue_length_limits-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=queue_length_limits \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-queue_length_limits-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-queue_length_limits-logs
+ path: ct-queue_length_limits-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-queue_master_location:
+ name: rabbit-ct-queue_master_location
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-queue_master_location-logs && chmod 777 ct-queue_master_location-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=queue_master_location \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-queue_master_location-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-queue_master_location-logs
+ path: ct-queue_master_location-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-queue_parallel:
+ name: rabbit-ct-queue_parallel
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-queue_parallel-logs && chmod 777 ct-queue_parallel-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=queue_parallel \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-queue_parallel-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-queue_parallel-logs
+ path: ct-queue_parallel-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-queue_type:
+ name: rabbit-ct-queue_type
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-queue_type-logs && chmod 777 ct-queue_type-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=queue_type \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-queue_type-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-queue_type-logs
+ path: ct-queue_type-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-quorum_queue:
+ name: rabbit-ct-quorum_queue
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-quorum_queue-logs && chmod 777 ct-quorum_queue-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=quorum_queue \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-quorum_queue-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-quorum_queue-logs
+ path: ct-quorum_queue-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-rabbit_confirms:
+ name: rabbit-ct-rabbit_confirms
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-rabbit_confirms-logs && chmod 777 ct-rabbit_confirms-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=rabbit_confirms \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-rabbit_confirms-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-rabbit_confirms-logs
+ path: ct-rabbit_confirms-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-rabbit_core_metrics_gc:
+ name: rabbit-ct-rabbit_core_metrics_gc
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-rabbit_core_metrics_gc-logs && chmod 777 ct-rabbit_core_metrics_gc-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=rabbit_core_metrics_gc \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-rabbit_core_metrics_gc-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-rabbit_core_metrics_gc-logs
+ path: ct-rabbit_core_metrics_gc-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-rabbit_fifo:
+ name: rabbit-ct-rabbit_fifo
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-rabbit_fifo-logs && chmod 777 ct-rabbit_fifo-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=rabbit_fifo \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-rabbit_fifo-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-rabbit_fifo-logs
+ path: ct-rabbit_fifo-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-rabbit_fifo_int:
+ name: rabbit-ct-rabbit_fifo_int
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-rabbit_fifo_int-logs && chmod 777 ct-rabbit_fifo_int-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=rabbit_fifo_int \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-rabbit_fifo_int-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-rabbit_fifo_int-logs
+ path: ct-rabbit_fifo_int-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-rabbit_fifo_prop:
+ name: rabbit-ct-rabbit_fifo_prop
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-rabbit_fifo_prop-logs && chmod 777 ct-rabbit_fifo_prop-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=rabbit_fifo_prop \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-rabbit_fifo_prop-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-rabbit_fifo_prop-logs
+ path: ct-rabbit_fifo_prop-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-rabbit_fifo_v0:
+ name: rabbit-ct-rabbit_fifo_v0
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-rabbit_fifo_v0-logs && chmod 777 ct-rabbit_fifo_v0-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=rabbit_fifo_v0 \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-rabbit_fifo_v0-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-rabbit_fifo_v0-logs
+ path: ct-rabbit_fifo_v0-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-rabbit_msg_record:
+ name: rabbit-ct-rabbit_msg_record
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-rabbit_msg_record-logs && chmod 777 ct-rabbit_msg_record-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=rabbit_msg_record \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-rabbit_msg_record-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-rabbit_msg_record-logs
+ path: ct-rabbit_msg_record-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-rabbit_stream_queue:
+ name: rabbit-ct-rabbit_stream_queue
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-rabbit_stream_queue-logs && chmod 777 ct-rabbit_stream_queue-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=rabbit_stream_queue \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-rabbit_stream_queue-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-rabbit_stream_queue-logs
+ path: ct-rabbit_stream_queue-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-rabbitmq_queues_cli_integration:
+ name: rabbit-ct-rabbitmq_queues_cli_integration
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-rabbitmq_queues_cli_integration-logs && chmod 777 ct-rabbitmq_queues_cli_integration-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=rabbitmq_queues_cli_integration \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-rabbitmq_queues_cli_integration-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-rabbitmq_queues_cli_integration-logs
+ path: ct-rabbitmq_queues_cli_integration-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-rabbitmqctl_integration:
+ name: rabbit-ct-rabbitmqctl_integration
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-rabbitmqctl_integration-logs && chmod 777 ct-rabbitmqctl_integration-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=rabbitmqctl_integration \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-rabbitmqctl_integration-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-rabbitmqctl_integration-logs
+ path: ct-rabbitmqctl_integration-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-rabbitmqctl_shutdown:
+ name: rabbit-ct-rabbitmqctl_shutdown
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-rabbitmqctl_shutdown-logs && chmod 777 ct-rabbitmqctl_shutdown-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=rabbitmqctl_shutdown \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-rabbitmqctl_shutdown-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-rabbitmqctl_shutdown-logs
+ path: ct-rabbitmqctl_shutdown-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-signal_handling:
+ name: rabbit-ct-signal_handling
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-signal_handling-logs && chmod 777 ct-signal_handling-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=signal_handling \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-signal_handling-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-signal_handling-logs
+ path: ct-signal_handling-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-simple_ha:
+ name: rabbit-ct-simple_ha
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-simple_ha-logs && chmod 777 ct-simple_ha-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=simple_ha \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-simple_ha-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-simple_ha-logs
+ path: ct-simple_ha-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-single_active_consumer:
+ name: rabbit-ct-single_active_consumer
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-single_active_consumer-logs && chmod 777 ct-single_active_consumer-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=single_active_consumer \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-single_active_consumer-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-single_active_consumer-logs
+ path: ct-single_active_consumer-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-sync_detection:
+ name: rabbit-ct-sync_detection
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-sync_detection-logs && chmod 777 ct-sync_detection-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=sync_detection \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-sync_detection-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-sync_detection-logs
+ path: ct-sync_detection-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-term_to_binary_compat_prop:
+ name: rabbit-ct-term_to_binary_compat_prop
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-term_to_binary_compat_prop-logs && chmod 777 ct-term_to_binary_compat_prop-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=term_to_binary_compat_prop \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-term_to_binary_compat_prop-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-term_to_binary_compat_prop-logs
+ path: ct-term_to_binary_compat_prop-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-topic_permission:
+ name: rabbit-ct-topic_permission
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-topic_permission-logs && chmod 777 ct-topic_permission-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=topic_permission \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-topic_permission-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-topic_permission-logs
+ path: ct-topic_permission-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_access_control:
+ name: rabbit-ct-unit_access_control
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_access_control-logs && chmod 777 ct-unit_access_control-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_access_control \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_access_control-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_access_control-logs
+ path: ct-unit_access_control-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_access_control_authn_authz_context_propagation:
+ name: rabbit-ct-unit_access_control_authn_authz_context_propagation
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_access_control_authn_authz_context_propagation-logs && chmod 777 ct-unit_access_control_authn_authz_context_propagation-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_access_control_authn_authz_context_propagation \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_access_control_authn_authz_context_propagation-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_access_control_authn_authz_context_propagation-logs
+ path: ct-unit_access_control_authn_authz_context_propagation-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_access_control_credential_validation:
+ name: rabbit-ct-unit_access_control_credential_validation
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_access_control_credential_validation-logs && chmod 777 ct-unit_access_control_credential_validation-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_access_control_credential_validation \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_access_control_credential_validation-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_access_control_credential_validation-logs
+ path: ct-unit_access_control_credential_validation-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_amqp091_content_framing:
+ name: rabbit-ct-unit_amqp091_content_framing
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_amqp091_content_framing-logs && chmod 777 ct-unit_amqp091_content_framing-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_amqp091_content_framing \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_amqp091_content_framing-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_amqp091_content_framing-logs
+ path: ct-unit_amqp091_content_framing-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_amqp091_server_properties:
+ name: rabbit-ct-unit_amqp091_server_properties
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_amqp091_server_properties-logs && chmod 777 ct-unit_amqp091_server_properties-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_amqp091_server_properties \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_amqp091_server_properties-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_amqp091_server_properties-logs
+ path: ct-unit_amqp091_server_properties-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_app_management:
+ name: rabbit-ct-unit_app_management
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_app_management-logs && chmod 777 ct-unit_app_management-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_app_management \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_app_management-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_app_management-logs
+ path: ct-unit_app_management-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_cluster_formation_locking_mocks:
+ name: rabbit-ct-unit_cluster_formation_locking_mocks
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_cluster_formation_locking_mocks-logs && chmod 777 ct-unit_cluster_formation_locking_mocks-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_cluster_formation_locking_mocks \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_cluster_formation_locking_mocks-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_cluster_formation_locking_mocks-logs
+ path: ct-unit_cluster_formation_locking_mocks-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_collections:
+ name: rabbit-ct-unit_collections
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_collections-logs && chmod 777 ct-unit_collections-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_collections \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_collections-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_collections-logs
+ path: ct-unit_collections-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_config_value_encryption:
+ name: rabbit-ct-unit_config_value_encryption
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_config_value_encryption-logs && chmod 777 ct-unit_config_value_encryption-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_config_value_encryption \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_config_value_encryption-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_config_value_encryption-logs
+ path: ct-unit_config_value_encryption-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_connection_tracking:
+ name: rabbit-ct-unit_connection_tracking
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_connection_tracking-logs && chmod 777 ct-unit_connection_tracking-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_connection_tracking \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_connection_tracking-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_connection_tracking-logs
+ path: ct-unit_connection_tracking-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_credit_flow:
+ name: rabbit-ct-unit_credit_flow
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_credit_flow-logs && chmod 777 ct-unit_credit_flow-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_credit_flow \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_credit_flow-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_credit_flow-logs
+ path: ct-unit_credit_flow-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_disk_monitor:
+ name: rabbit-ct-unit_disk_monitor
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_disk_monitor-logs && chmod 777 ct-unit_disk_monitor-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_disk_monitor \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_disk_monitor-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_disk_monitor-logs
+ path: ct-unit_disk_monitor-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_disk_monitor_mocks:
+ name: rabbit-ct-unit_disk_monitor_mocks
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_disk_monitor_mocks-logs && chmod 777 ct-unit_disk_monitor_mocks-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_disk_monitor_mocks \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_disk_monitor_mocks-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_disk_monitor_mocks-logs
+ path: ct-unit_disk_monitor_mocks-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_file_handle_cache:
+ name: rabbit-ct-unit_file_handle_cache
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_file_handle_cache-logs && chmod 777 ct-unit_file_handle_cache-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_file_handle_cache \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_file_handle_cache-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_file_handle_cache-logs
+ path: ct-unit_file_handle_cache-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_gen_server2:
+ name: rabbit-ct-unit_gen_server2
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_gen_server2-logs && chmod 777 ct-unit_gen_server2-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_gen_server2 \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_gen_server2-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_gen_server2-logs
+ path: ct-unit_gen_server2-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_gm:
+ name: rabbit-ct-unit_gm
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_gm-logs && chmod 777 ct-unit_gm-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_gm \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_gm-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_gm-logs
+ path: ct-unit_gm-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_log_config:
+ name: rabbit-ct-unit_log_config
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_log_config-logs && chmod 777 ct-unit_log_config-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_log_config \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_log_config-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_log_config-logs
+ path: ct-unit_log_config-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_log_management:
+ name: rabbit-ct-unit_log_management
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_log_management-logs && chmod 777 ct-unit_log_management-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_log_management \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_log_management-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_log_management-logs
+ path: ct-unit_log_management-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_operator_policy:
+ name: rabbit-ct-unit_operator_policy
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_operator_policy-logs && chmod 777 ct-unit_operator_policy-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_operator_policy \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_operator_policy-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_operator_policy-logs
+ path: ct-unit_operator_policy-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_pg_local:
+ name: rabbit-ct-unit_pg_local
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_pg_local-logs && chmod 777 ct-unit_pg_local-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_pg_local \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_pg_local-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_pg_local-logs
+ path: ct-unit_pg_local-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_plugin_directories:
+ name: rabbit-ct-unit_plugin_directories
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_plugin_directories-logs && chmod 777 ct-unit_plugin_directories-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_plugin_directories \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_plugin_directories-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_plugin_directories-logs
+ path: ct-unit_plugin_directories-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_plugin_versioning:
+ name: rabbit-ct-unit_plugin_versioning
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_plugin_versioning-logs && chmod 777 ct-unit_plugin_versioning-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_plugin_versioning \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_plugin_versioning-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_plugin_versioning-logs
+ path: ct-unit_plugin_versioning-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_policy_validators:
+ name: rabbit-ct-unit_policy_validators
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_policy_validators-logs && chmod 777 ct-unit_policy_validators-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_policy_validators \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_policy_validators-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_policy_validators-logs
+ path: ct-unit_policy_validators-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_priority_queue:
+ name: rabbit-ct-unit_priority_queue
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_priority_queue-logs && chmod 777 ct-unit_priority_queue-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_priority_queue \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_priority_queue-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_priority_queue-logs
+ path: ct-unit_priority_queue-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_queue_consumers:
+ name: rabbit-ct-unit_queue_consumers
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_queue_consumers-logs && chmod 777 ct-unit_queue_consumers-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_queue_consumers \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_queue_consumers-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_queue_consumers-logs
+ path: ct-unit_queue_consumers-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_stats_and_metrics:
+ name: rabbit-ct-unit_stats_and_metrics
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_stats_and_metrics-logs && chmod 777 ct-unit_stats_and_metrics-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_stats_and_metrics \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_stats_and_metrics-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_stats_and_metrics-logs
+ path: ct-unit_stats_and_metrics-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_supervisor2:
+ name: rabbit-ct-unit_supervisor2
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_supervisor2-logs && chmod 777 ct-unit_supervisor2-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_supervisor2 \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_supervisor2-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_supervisor2-logs
+ path: ct-unit_supervisor2-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-unit_vm_memory_monitor:
+ name: rabbit-ct-unit_vm_memory_monitor
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-unit_vm_memory_monitor-logs && chmod 777 ct-unit_vm_memory_monitor-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=unit_vm_memory_monitor \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-unit_vm_memory_monitor-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-unit_vm_memory_monitor-logs
+ path: ct-unit_vm_memory_monitor-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-upgrade_preparation:
+ name: rabbit-ct-upgrade_preparation
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-upgrade_preparation-logs && chmod 777 ct-upgrade_preparation-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=upgrade_preparation \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-upgrade_preparation-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-upgrade_preparation-logs
+ path: ct-upgrade_preparation-logs/*-ct-logs-*.tar.xz
+ rabbit-ct-vhost:
+ name: rabbit-ct-vhost
+ needs:
+ - prepare
+ - rabbit-checks
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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: |
+ mkdir ct-vhost-logs && chmod 777 ct-vhost-logs
+ docker run \
+ --env project=rabbit \
+ --env CT_SUITE=vhost \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --volume ${PWD}/ct-vhost-logs:/workspace/ct-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/ct-suite.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: always()
+ with:
+ name: rabbit-ct-vhost-logs
+ path: ct-vhost-logs/*-ct-logs-*.tar.xz
+ rabbit:
+ name: rabbit
+ needs:
+ - rabbit-checks
+ - rabbit-ct-amqqueue_backward_compatibility
+ - rabbit-ct-backing_queue
+ - rabbit-ct-channel_interceptor
+ - rabbit-ct-channel_operation_timeout
+ - rabbit-ct-cluster
+ - rabbit-ct-cluster_rename
+ - rabbit-ct-clustering_management
+ - rabbit-ct-config_schema
+ - rabbit-ct-confirms_rejects
+ - rabbit-ct-consumer_timeout
+ - rabbit-ct-crashing_queues
+ - rabbit-ct-dead_lettering
+ - rabbit-ct-definition_import
+ - rabbit-ct-disconnect_detected_during_alarm
+ - rabbit-ct-dynamic_ha
+ - rabbit-ct-dynamic_qq
+ - rabbit-ct-eager_sync
+ - rabbit-ct-feature_flags
+ - rabbit-ct-lazy_queue
+ - rabbit-ct-list_consumers_sanity_check
+ - rabbit-ct-list_queues_online_and_offline
+ - rabbit-ct-maintenance_mode
+ - rabbit-ct-many_node_ha
+ - rabbit-ct-message_size_limit
+ - rabbit-ct-metrics
+ - rabbit-ct-mirrored_supervisor
+ - rabbit-ct-msg_store
+ - rabbit-ct-peer_discovery_classic_config
+ - rabbit-ct-peer_discovery_dns
+ - rabbit-ct-per_user_connection_channel_limit
+ - rabbit-ct-per_user_connection_channel_limit_partitions
+ - rabbit-ct-per_user_connection_channel_tracking
+ - rabbit-ct-per_user_connection_tracking
+ - rabbit-ct-per_vhost_connection_limit
+ - rabbit-ct-per_vhost_connection_limit_partitions
+ - rabbit-ct-per_vhost_msg_store
+ - rabbit-ct-per_vhost_queue_limit
+ - rabbit-ct-policy
+ - rabbit-ct-priority_queue
+ - rabbit-ct-priority_queue_recovery
+ - rabbit-ct-product_info
+ - rabbit-ct-proxy_protocol
+ - rabbit-ct-publisher_confirms_parallel
+ - rabbit-ct-queue_length_limits
+ - rabbit-ct-queue_master_location
+ - rabbit-ct-queue_parallel
+ - rabbit-ct-queue_type
+ - rabbit-ct-quorum_queue
+ - rabbit-ct-rabbit_confirms
+ - rabbit-ct-rabbit_core_metrics_gc
+ - rabbit-ct-rabbit_fifo
+ - rabbit-ct-rabbit_fifo_int
+ - rabbit-ct-rabbit_fifo_prop
+ - rabbit-ct-rabbit_fifo_v0
+ - rabbit-ct-rabbit_msg_record
+ - rabbit-ct-rabbit_stream_queue
+ - rabbit-ct-rabbitmq_queues_cli_integration
+ - rabbit-ct-rabbitmqctl_integration
+ - rabbit-ct-rabbitmqctl_shutdown
+ - rabbit-ct-signal_handling
+ - rabbit-ct-simple_ha
+ - rabbit-ct-single_active_consumer
+ - rabbit-ct-sync_detection
+ - rabbit-ct-term_to_binary_compat_prop
+ - rabbit-ct-topic_permission
+ - rabbit-ct-unit_access_control
+ - rabbit-ct-unit_access_control_authn_authz_context_propagation
+ - rabbit-ct-unit_access_control_credential_validation
+ - rabbit-ct-unit_amqp091_content_framing
+ - rabbit-ct-unit_amqp091_server_properties
+ - rabbit-ct-unit_app_management
+ - rabbit-ct-unit_cluster_formation_locking_mocks
+ - rabbit-ct-unit_collections
+ - rabbit-ct-unit_config_value_encryption
+ - rabbit-ct-unit_connection_tracking
+ - rabbit-ct-unit_credit_flow
+ - rabbit-ct-unit_disk_monitor
+ - rabbit-ct-unit_disk_monitor_mocks
+ - rabbit-ct-unit_file_handle_cache
+ - rabbit-ct-unit_gen_server2
+ - rabbit-ct-unit_gm
+ - rabbit-ct-unit_log_config
+ - rabbit-ct-unit_log_management
+ - rabbit-ct-unit_operator_policy
+ - rabbit-ct-unit_pg_local
+ - rabbit-ct-unit_plugin_directories
+ - rabbit-ct-unit_plugin_versioning
+ - rabbit-ct-unit_policy_validators
+ - rabbit-ct-unit_priority_queue
+ - rabbit-ct-unit_queue_consumers
+ - rabbit-ct-unit_stats_and_metrics
+ - rabbit-ct-unit_supervisor2
+ - rabbit-ct-unit_vm_memory_monitor
+ - rabbit-ct-upgrade_preparation
+ - rabbit-ct-vhost
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ needs.rabbit-checks.outputs.step_start }} \
+ eu.gcr.io/cf-rabbitmq-core/ci-rabbit:erlang-23.1-rabbitmq-${{ github.sha }} \
+ /workspace/rabbitmq/ci/scripts/collect.sh
+ amqp_client:
+ name: amqp_client
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=amqp_client \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: amqp_client-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ amqp10_common:
+ name: amqp10_common
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=amqp10_common \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: amqp10_common-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_auth_backend_cache:
+ name: rabbitmq_auth_backend_cache
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_auth_backend_cache \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_auth_backend_cache-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_auth_backend_http:
+ name: rabbitmq_auth_backend_http
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_auth_backend_http \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_auth_backend_http-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_auth_backend_oauth2:
+ name: rabbitmq_auth_backend_oauth2
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_auth_backend_oauth2 \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_auth_backend_oauth2-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_auth_mechanism_ssl:
+ name: rabbitmq_auth_mechanism_ssl
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_auth_mechanism_ssl \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_auth_mechanism_ssl-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_aws:
+ name: rabbitmq_aws
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_aws \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_aws-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_cli:
+ name: rabbitmq_cli
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_cli \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/broker-logs:/workspace/broker-logs \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/rabbitmq_cli.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_cli-broker-logs
+ path: broker-logs/broker-logs.tar.xz
+ rabbitmq_consistent_hash_exchange:
+ name: rabbitmq_consistent_hash_exchange
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_consistent_hash_exchange \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_consistent_hash_exchange-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_event_exchange:
+ name: rabbitmq_event_exchange
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_event_exchange \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_event_exchange-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_federation:
+ name: rabbitmq_federation
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_federation \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_federation-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_federation_management:
+ name: rabbitmq_federation_management
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_federation_management \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_federation_management-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_jms_topic_exchange:
+ name: rabbitmq_jms_topic_exchange
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_jms_topic_exchange \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_jms_topic_exchange-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_management:
+ name: rabbitmq_management
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_management \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_management-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_management_agent:
+ name: rabbitmq_management_agent
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_management_agent \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_management_agent-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_peer_discovery_common:
+ name: rabbitmq_peer_discovery_common
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_peer_discovery_common \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_peer_discovery_common-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_peer_discovery_k8s:
+ name: rabbitmq_peer_discovery_k8s
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_peer_discovery_k8s \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_peer_discovery_k8s-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_peer_discovery_consul:
+ name: rabbitmq_peer_discovery_consul
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_peer_discovery_consul \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_peer_discovery_consul-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_prometheus:
+ name: rabbitmq_prometheus
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_prometheus \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_prometheus-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_random_exchange:
+ name: rabbitmq_random_exchange
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_random_exchange \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_random_exchange-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_recent_history_exchange:
+ name: rabbitmq_recent_history_exchange
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_recent_history_exchange \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_recent_history_exchange-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_sharding:
+ name: rabbitmq_sharding
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_sharding \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_sharding-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_shovel:
+ name: rabbitmq_shovel
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_shovel \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_shovel-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_shovel_management:
+ name: rabbitmq_shovel_management
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_shovel_management \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_shovel_management-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_stomp:
+ name: rabbitmq_stomp
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_stomp \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_stomp-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_top:
+ name: rabbitmq_top
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_top \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_top-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_tracing:
+ name: rabbitmq_tracing
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_tracing \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_tracing-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_trust_store:
+ name: rabbitmq_trust_store
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_trust_store \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_trust_store-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_web_dispatch:
+ name: rabbitmq_web_dispatch
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_web_dispatch \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_web_dispatch-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_web_mqtt:
+ name: rabbitmq_web_mqtt
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_web_mqtt \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_web_mqtt-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_web_mqtt_examples:
+ name: rabbitmq_web_mqtt_examples
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_web_mqtt_examples \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_web_mqtt_examples-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_web_stomp:
+ name: rabbitmq_web_stomp
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_web_stomp \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_web_stomp-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_web_stomp_examples:
+ name: rabbitmq_web_stomp_examples
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env project=rabbitmq_web_stomp_examples \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/ct-logs:/workspace/ct-logs \
+ --oom-kill-disable \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/tests.sh
+ - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ if: failure()
+ with:
+ name: rabbitmq_web_stomp_examples-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
+ package-generic-unix:
+ name: package-generic-unix
+ needs:
+ - prepare
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - name: RECORD STEP START
+ id: buildevents
+ run: |
+ echo "::set-output name=step_start::$(date +%s)"
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - 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 \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ --volume ${PWD}/PACKAGES:/workspace/rabbitmq/PACKAGES \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/package_generic_unix.sh
+ - name: UPLOAD GENERIC UNIX PACKAGE ARTIFACT
+ uses: actions/upload-artifact@v2-preview
+ with:
+ name: rabbitmq-server-generic-unix.tar.xz
+ path: PACKAGES/rabbitmq-server-generic-unix-*.tar.xz
+ - name: RECORD STEP FINISH
+ if: always()
+ run: |
+ docker run \
+ --env project=packaging \
+ --env GITHUB_RUN_ID=${{ github.run_id }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env STEP_START=${{ steps.buildevents.outputs.step_start }} \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/collect.sh
+ finish:
+ name: finish
+ needs:
+ - prepare
+ - xref
+ - dialyze
+ - rabbit_common
+ - rabbit
+ - amqp_client
+ - amqp10_common
+ - rabbitmq_auth_backend_cache
+ - rabbitmq_auth_backend_http
+ - rabbitmq_auth_backend_oauth2
+ - rabbitmq_auth_mechanism_ssl
+ - rabbitmq_aws
+ - rabbitmq_cli
+ - rabbitmq_consistent_hash_exchange
+ - rabbitmq_event_exchange
+ - rabbitmq_federation
+ - rabbitmq_federation_management
+ - rabbitmq_jms_topic_exchange
+ - rabbitmq_management
+ - rabbitmq_management_agent
+ - rabbitmq_peer_discovery_common
+ - rabbitmq_peer_discovery_k8s
+ - rabbitmq_peer_discovery_consul
+ - rabbitmq_prometheus
+ - rabbitmq_random_exchange
+ - rabbitmq_recent_history_exchange
+ - rabbitmq_sharding
+ - rabbitmq_shovel
+ - rabbitmq_shovel_management
+ - rabbitmq_stomp
+ - rabbitmq_top
+ - rabbitmq_tracing
+ - rabbitmq_trust_store
+ - rabbitmq_web_dispatch
+ - rabbitmq_web_mqtt
+ - rabbitmq_web_mqtt_examples
+ - rabbitmq_web_stomp
+ - rabbitmq_web_stomp_examples
+ - package-generic-unix
+ runs-on: ubuntu-18.04
+ if: '!contains(github.event.head_commit.message, ''[ci skip]'')'
+ steps:
+ - uses: technote-space/workflow-conclusion-action@v1
+ - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
+ with:
+ service_account_key: ${{ secrets.GCR_JSON_KEY }}
+ export_default_credentials: true
+ - name: RECORD BUILD FINISH
+ run: |
+ echo -n "${{ env.WORKFLOW_CONCLUSION }}" > conclusion
- # Fetch the master Umbrella; the final umbrellas are created from
- # the master copy.
- if ! test -d umbrellas/master; then
- git config --global advice.detachedHead false
- git clone \
- https://github.com/rabbitmq/rabbitmq-public-umbrella.git \
- umbrellas/master
- make -C umbrellas/master co # To get RabbitMQ components.
- fi
+ gsutil cp conclusion \
+ 'gs://monorepo_github_actions_conclusions/${{ github.sha }}/${{ github.workflow }}'
- # We copy the master Umbrella and checkout the appropriate tag.
- cp -a umbrellas/master "$umbrella"
- git -C "$umbrella" checkout "master"
- make -C "$umbrella" up BRANCH="$version"
- # To remove third-party deps which were checked out when the
- # projects were on the `master` branch. Thus, possibly not the
- # version pinning we expect. We update the Umbrella one last time
- # to fetch the correct third-party deps.
- make -C "$umbrella" clean-3rd-party-repos
- make -C "$umbrella" up
- make -C "$umbrella/deps/rabbit" test-dist
- rm -rf "$umbrella"/deps/rabbitmq_website
- rm -rf "$umbrella"/deps/rabbitmq_prometheus/docker
- rm -rf "$umbrella"/deps/*/{.git,test} "$umbrella"/.git
- fi
- done
- rm -fr umbrellas/master
- - name: CREATE SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar cf - umbrellas | xz > secondary-umbrellas.tar.xz
- - name: UPLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/upload-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- path: secondary-umbrellas.tar.xz
- # vim:sw=2:et:
- dialyzer:
- name: dialyzer
- needs: [checks]
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- if: success() && 'latest' == 'latest'
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- if: success() && 'latest' == 'latest'
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- if: success() && 'latest' == 'latest'
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- if: success() && 'latest' == 'latest'
- run: |
- tar Jxf deps.tar.xz
- rm deps.tar.xz
- - name: RUN DIALYZER
- if: success() && 'latest' == 'latest'
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- make dialyze \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL=
- # vim:sw=2:et:
- eunit:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: eunit
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- rm deps.tar.xz
- - name: RUN TESTS
- run: |
- ! test -d ebin || touch ebin/*
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- make eunit \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1
- # vim:sw=2:et:
- ct-amqqueue_backward_compatibility:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-amqqueue_backward_compatibility
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-amqqueue_backward_compatibility \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-amqqueue_backward_compatibility \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-amqqueue_backward_compatibility-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-backing_queue:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-backing_queue
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-backing_queue \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-backing_queue \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-backing_queue-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-channel_interceptor:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-channel_interceptor
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-channel_interceptor \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-channel_interceptor \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-channel_interceptor-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-channel_operation_timeout:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-channel_operation_timeout
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-channel_operation_timeout \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-channel_operation_timeout \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-channel_operation_timeout-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-cluster:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-cluster
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-cluster \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-cluster \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-cluster-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-cluster_rename:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-cluster_rename
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-cluster_rename \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-cluster_rename \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-cluster_rename-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-clustering_management:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-clustering_management
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-clustering_management \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-clustering_management \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-clustering_management-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-config_schema:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-config_schema
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-config_schema \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-config_schema \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-config_schema-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-confirms_rejects:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-confirms_rejects
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-confirms_rejects \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-confirms_rejects \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-confirms_rejects-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-consumer_timeout:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-consumer_timeout
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-consumer_timeout \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-consumer_timeout \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-consumer_timeout-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-crashing_queues:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-crashing_queues
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-crashing_queues \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-crashing_queues \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-crashing_queues-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-dead_lettering:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-dead_lettering
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-dead_lettering \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-dead_lettering \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-dead_lettering-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-definition_import:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-definition_import
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-definition_import \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-definition_import \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-definition_import-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-disconnect_detected_during_alarm:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-disconnect_detected_during_alarm
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-disconnect_detected_during_alarm \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-disconnect_detected_during_alarm \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-disconnect_detected_during_alarm-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-dynamic_ha:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-dynamic_ha
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-dynamic_ha \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-dynamic_ha \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-dynamic_ha-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-dynamic_qq:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-dynamic_qq
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-dynamic_qq \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-dynamic_qq \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-dynamic_qq-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-eager_sync:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-eager_sync
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-eager_sync \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-eager_sync \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-eager_sync-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-feature_flags:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-feature_flags
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-feature_flags \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-feature_flags \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-feature_flags-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-lazy_queue:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-lazy_queue
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-lazy_queue \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-lazy_queue \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-lazy_queue-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-list_consumers_sanity_check:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-list_consumers_sanity_check
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-list_consumers_sanity_check \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-list_consumers_sanity_check \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-list_consumers_sanity_check-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-list_queues_online_and_offline:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-list_queues_online_and_offline
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-list_queues_online_and_offline \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-list_queues_online_and_offline \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-list_queues_online_and_offline-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-maintenance_mode:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-maintenance_mode
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-maintenance_mode \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-maintenance_mode \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-maintenance_mode-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-many_node_ha:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-many_node_ha
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-many_node_ha \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-many_node_ha \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-many_node_ha-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-message_size_limit:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-message_size_limit
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-message_size_limit \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-message_size_limit \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-message_size_limit-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-metrics:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-metrics
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-metrics \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-metrics \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-metrics-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-mirrored_supervisor:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-mirrored_supervisor
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-mirrored_supervisor \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-mirrored_supervisor \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-mirrored_supervisor-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-msg_store:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-msg_store
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-msg_store \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-msg_store \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-msg_store-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-peer_discovery_classic_config:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-peer_discovery_classic_config
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-peer_discovery_classic_config \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-peer_discovery_classic_config \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-peer_discovery_classic_config-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-peer_discovery_dns:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-peer_discovery_dns
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-peer_discovery_dns \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-peer_discovery_dns \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-peer_discovery_dns-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-per_user_connection_channel_limit:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-per_user_connection_channel_limit
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-per_user_connection_channel_limit \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-per_user_connection_channel_limit \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-per_user_connection_channel_limit-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-per_user_connection_channel_limit_partitions:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-per_user_connection_channel_limit_partitions
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-per_user_connection_channel_limit_partitions \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-per_user_connection_channel_limit_partitions \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-per_user_connection_channel_limit_partitions-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-per_user_connection_channel_tracking:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-per_user_connection_channel_tracking
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-per_user_connection_channel_tracking \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-per_user_connection_channel_tracking \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-per_user_connection_channel_tracking-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-per_user_connection_tracking:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-per_user_connection_tracking
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-per_user_connection_tracking \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-per_user_connection_tracking \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-per_user_connection_tracking-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-per_vhost_connection_limit:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-per_vhost_connection_limit
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-per_vhost_connection_limit \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-per_vhost_connection_limit \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-per_vhost_connection_limit-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-per_vhost_connection_limit_partitions:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-per_vhost_connection_limit_partitions
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-per_vhost_connection_limit_partitions \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-per_vhost_connection_limit_partitions \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-per_vhost_connection_limit_partitions-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-per_vhost_msg_store:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-per_vhost_msg_store
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-per_vhost_msg_store \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-per_vhost_msg_store \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-per_vhost_msg_store-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-per_vhost_queue_limit:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-per_vhost_queue_limit
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-per_vhost_queue_limit \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-per_vhost_queue_limit \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-per_vhost_queue_limit-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-policy:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-policy
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-policy \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-policy \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-policy-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-priority_queue:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-priority_queue
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-priority_queue \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-priority_queue \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-priority_queue-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-priority_queue_recovery:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-priority_queue_recovery
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-priority_queue_recovery \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-priority_queue_recovery \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-priority_queue_recovery-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-product_info:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-product_info
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-product_info \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-product_info \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-product_info-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-proxy_protocol:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-proxy_protocol
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-proxy_protocol \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-proxy_protocol \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-proxy_protocol-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-publisher_confirms_parallel:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-publisher_confirms_parallel
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-publisher_confirms_parallel \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-publisher_confirms_parallel \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-publisher_confirms_parallel-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-queue_length_limits:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-queue_length_limits
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-queue_length_limits \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-queue_length_limits \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-queue_length_limits-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-queue_master_location:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-queue_master_location
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-queue_master_location \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-queue_master_location \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-queue_master_location-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-queue_parallel:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-queue_parallel
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-queue_parallel \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-queue_parallel \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-queue_parallel-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-queue_type:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-queue_type
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-queue_type \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-queue_type \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-queue_type-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-quorum_queue:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-quorum_queue
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-quorum_queue \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-quorum_queue \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-quorum_queue-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-rabbit_confirms:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-rabbit_confirms
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-rabbit_confirms \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-rabbit_confirms \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-rabbit_confirms-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-rabbit_core_metrics_gc:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-rabbit_core_metrics_gc
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-rabbit_core_metrics_gc \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-rabbit_core_metrics_gc \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-rabbit_core_metrics_gc-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-rabbit_fifo:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-rabbit_fifo
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-rabbit_fifo \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-rabbit_fifo \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-rabbit_fifo-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-rabbit_fifo_int:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-rabbit_fifo_int
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-rabbit_fifo_int \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-rabbit_fifo_int \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-rabbit_fifo_int-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-rabbit_fifo_prop:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-rabbit_fifo_prop
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-rabbit_fifo_prop \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-rabbit_fifo_prop \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-rabbit_fifo_prop-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-rabbit_fifo_v0:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-rabbit_fifo_v0
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-rabbit_fifo_v0 \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-rabbit_fifo_v0 \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-rabbit_fifo_v0-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-rabbit_msg_record:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-rabbit_msg_record
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-rabbit_msg_record \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-rabbit_msg_record \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-rabbit_msg_record-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-rabbit_stream_queue:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-rabbit_stream_queue
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-rabbit_stream_queue \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-rabbit_stream_queue \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-rabbit_stream_queue-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-rabbitmq_queues_cli_integration:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-rabbitmq_queues_cli_integration
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-rabbitmq_queues_cli_integration \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-rabbitmq_queues_cli_integration \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-rabbitmq_queues_cli_integration-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-rabbitmqctl_integration:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-rabbitmqctl_integration
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-rabbitmqctl_integration \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-rabbitmqctl_integration \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-rabbitmqctl_integration-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-rabbitmqctl_shutdown:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-rabbitmqctl_shutdown
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-rabbitmqctl_shutdown \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-rabbitmqctl_shutdown \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-rabbitmqctl_shutdown-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-signal_handling:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-signal_handling
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-signal_handling \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-signal_handling \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-signal_handling-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-simple_ha:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-simple_ha
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-simple_ha \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-simple_ha \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-simple_ha-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-single_active_consumer:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-single_active_consumer
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-single_active_consumer \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-single_active_consumer \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-single_active_consumer-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-sync_detection:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-sync_detection
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-sync_detection \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-sync_detection \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-sync_detection-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-term_to_binary_compat_prop:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-term_to_binary_compat_prop
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-term_to_binary_compat_prop \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-term_to_binary_compat_prop \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-term_to_binary_compat_prop-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-topic_permission:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-topic_permission
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-topic_permission \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-topic_permission \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-topic_permission-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_access_control:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_access_control
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_access_control \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_access_control \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_access_control-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_access_control_authn_authz_context_propagation:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_access_control_authn_authz_context_propagation
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_access_control_authn_authz_context_propagation \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_access_control_authn_authz_context_propagation \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_access_control_authn_authz_context_propagation-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_access_control_credential_validation:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_access_control_credential_validation
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_access_control_credential_validation \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_access_control_credential_validation \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_access_control_credential_validation-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_amqp091_content_framing:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_amqp091_content_framing
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_amqp091_content_framing \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_amqp091_content_framing \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_amqp091_content_framing-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_amqp091_server_properties:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_amqp091_server_properties
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_amqp091_server_properties \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_amqp091_server_properties \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_amqp091_server_properties-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_app_management:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_app_management
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_app_management \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_app_management \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_app_management-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_cluster_formation_locking_mocks:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_cluster_formation_locking_mocks
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_cluster_formation_locking_mocks \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_cluster_formation_locking_mocks \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_cluster_formation_locking_mocks-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_collections:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_collections
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_collections \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_collections \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_collections-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_config_value_encryption:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_config_value_encryption
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_config_value_encryption \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_config_value_encryption \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_config_value_encryption-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_connection_tracking:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_connection_tracking
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_connection_tracking \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_connection_tracking \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_connection_tracking-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_credit_flow:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_credit_flow
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_credit_flow \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_credit_flow \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_credit_flow-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_disk_monitor:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_disk_monitor
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_disk_monitor \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_disk_monitor \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_disk_monitor-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_disk_monitor_mocks:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_disk_monitor_mocks
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_disk_monitor_mocks \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_disk_monitor_mocks \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_disk_monitor_mocks-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_file_handle_cache:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_file_handle_cache
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_file_handle_cache \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_file_handle_cache \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_file_handle_cache-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_gen_server2:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_gen_server2
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_gen_server2 \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_gen_server2 \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_gen_server2-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_gm:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_gm
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_gm \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_gm \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_gm-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_log_config:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_log_config
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_log_config \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_log_config \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_log_config-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_log_management:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_log_management
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_log_management \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_log_management \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_log_management-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_operator_policy:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_operator_policy
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_operator_policy \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_operator_policy \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_operator_policy-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_pg_local:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_pg_local
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_pg_local \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_pg_local \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_pg_local-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_plugin_directories:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_plugin_directories
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_plugin_directories \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_plugin_directories \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_plugin_directories-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_plugin_versioning:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_plugin_versioning
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_plugin_versioning \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_plugin_versioning \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_plugin_versioning-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_policy_validators:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_policy_validators
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_policy_validators \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_policy_validators \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_policy_validators-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_priority_queue:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_priority_queue
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_priority_queue \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_priority_queue \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_priority_queue-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_queue_consumers:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_queue_consumers
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_queue_consumers \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_queue_consumers \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_queue_consumers-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_stats_and_metrics:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_stats_and_metrics
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_stats_and_metrics \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_stats_and_metrics \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_stats_and_metrics-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_supervisor2:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_supervisor2
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_supervisor2 \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_supervisor2 \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_supervisor2-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-unit_vm_memory_monitor:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-unit_vm_memory_monitor
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-unit_vm_memory_monitor \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-unit_vm_memory_monitor \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-unit_vm_memory_monitor-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-upgrade_preparation:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-upgrade_preparation
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-upgrade_preparation \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-upgrade_preparation \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-upgrade_preparation-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- ct-vhost:
- needs: [checks]
- # https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contexts
- name: ct-vhost
- runs-on: ubuntu-18.04
- steps:
- - name: CHECKOUT REPOSITORY
- uses: actions/checkout@v2
- # https://github.com/marketplace/actions/setup-elixir
- - name: CONFIGURE OTP & ELIXIR
- uses: actions/setup-elixir@v1
- with:
- otp-version: 23.1
- # https://github.com/elixir-lang/elixir/releases
- elixir-version: 1.10.4
- - name: DOWNLOAD DEPS ARCHIVE
- uses: actions/download-artifact@v2
- with:
- name: deps.tar.xz
- - name: UNPACK DEPS ARCHIVE
- run: |
- tar Jxf deps.tar.xz
- - name: RUN TESTS
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- ! test -d ebin || touch ebin/*
- export BASE_RMQ_REF=master
- export ERLANG_VERSION=23.1
- export ELIXIR_VERSION=1.10.4
- make ct-vhost \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- uses: actions/download-artifact@v2
- with:
- name: secondary-umbrellas.tar.xz
- - name: UNPACK SECONDARY UMBRELLAS ARCHIVE
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- tar Jxf secondary-umbrellas.tar.xz
- rm secondary-umbrellas.tar.xz
- - name: RUN TESTS [mixed-versions]
- if: success() && 'latest' == 'oldest'
- run: |
- set -ex
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- for umbrella in umbrellas/*; do
- test -d "$umbrella"
- printf '\n\033[1;32mMixing clusters with RabbitMQ %s\033[0m' \
- $(basename "$umbrella")
- make distclean-ct ct-vhost \
- base_rmq_ref=master \
- current_rmq_ref=$branch_or_tag_name \
- FULL= \
- FAIL_FAST=1 \
- SKIP_AS_ERROR=1 \
- SECONDARY_UMBRELLA=$PWD/$umbrella \
- RABBITMQ_FEATURE_FLAGS= \
- CT_OPTS="-ct_hooks honeycomb_cth '[{directory,\"$PWD/honeycomb\"}]'"
- done
- - name: ON FAILURE ARCHIVE TESTS LOGS
- if: failure()
- run: |
- make ct-logs-archive
- - name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
- # https://github.com/marketplace/actions/upload-artifact
- uses: actions/upload-artifact@v2-preview
- if: failure()
- with:
- name: ct-vhost-logs
- path: "*-ct-logs-*.tar.xz"
- - name: HONEYCOMB
- if: success() || failure()
- run: |
- echo "$(ls honeycomb | wc -l) events recorded"
- for f in honeycomb/*; do
- RC=$(curl --silent \
- -H 'X-Honeycomb-Team: ${{ secrets.HONEYCOMB_TEAM }}' \
- -d @${f} \
- -o /dev/null \
- -w "%{http_code}" \
- "https://api.honeycomb.io/1/events/rabbitmq-ci")
- if [ "$RC" != "200" ]; then
- echo "Honeycomb returned ${RC}"
- cat ${f}
- printf "\n\n"
- fi
- done
- # vim:sw=2:et:
- capture-tested-deps-versions:
- needs:
- - dialyzer
- - eunit
- - ct-amqqueue_backward_compatibility
- - ct-backing_queue
- - ct-channel_interceptor
- - ct-channel_operation_timeout
- - ct-cluster
- - ct-cluster_rename
- - ct-clustering_management
- - ct-config_schema
- - ct-confirms_rejects
- - ct-consumer_timeout
- - ct-crashing_queues
- - ct-dead_lettering
- - ct-definition_import
- - ct-disconnect_detected_during_alarm
- - ct-dynamic_ha
- - ct-dynamic_qq
- - ct-eager_sync
- - ct-feature_flags
- - ct-lazy_queue
- - ct-list_consumers_sanity_check
- - ct-list_queues_online_and_offline
- - ct-maintenance_mode
- - ct-many_node_ha
- - ct-message_size_limit
- - ct-metrics
- - ct-mirrored_supervisor
- - ct-msg_store
- - ct-peer_discovery_classic_config
- - ct-peer_discovery_dns
- - ct-per_user_connection_channel_limit
- - ct-per_user_connection_channel_limit_partitions
- - ct-per_user_connection_channel_tracking
- - ct-per_user_connection_tracking
- - ct-per_vhost_connection_limit
- - ct-per_vhost_connection_limit_partitions
- - ct-per_vhost_msg_store
- - ct-per_vhost_queue_limit
- - ct-policy
- - ct-priority_queue
- - ct-priority_queue_recovery
- - ct-product_info
- - ct-proxy_protocol
- - ct-publisher_confirms_parallel
- - ct-queue_length_limits
- - ct-queue_master_location
- - ct-queue_parallel
- - ct-queue_type
- - ct-quorum_queue
- - ct-rabbit_confirms
- - ct-rabbit_core_metrics_gc
- - ct-rabbit_fifo
- - ct-rabbit_fifo_int
- - ct-rabbit_fifo_prop
- - ct-rabbit_fifo_v0
- - ct-rabbit_msg_record
- - ct-rabbit_stream_queue
- - ct-rabbitmq_queues_cli_integration
- - ct-rabbitmqctl_integration
- - ct-rabbitmqctl_shutdown
- - ct-signal_handling
- - ct-simple_ha
- - ct-single_active_consumer
- - ct-sync_detection
- - ct-term_to_binary_compat_prop
- - ct-topic_permission
- - ct-unit_access_control
- - ct-unit_access_control_authn_authz_context_propagation
- - ct-unit_access_control_credential_validation
- - ct-unit_amqp091_content_framing
- - ct-unit_amqp091_server_properties
- - ct-unit_app_management
- - ct-unit_cluster_formation_locking_mocks
- - ct-unit_collections
- - ct-unit_config_value_encryption
- - ct-unit_connection_tracking
- - ct-unit_credit_flow
- - ct-unit_disk_monitor
- - ct-unit_disk_monitor_mocks
- - ct-unit_file_handle_cache
- - ct-unit_gen_server2
- - ct-unit_gm
- - ct-unit_log_config
- - ct-unit_log_management
- - ct-unit_operator_policy
- - ct-unit_pg_local
- - ct-unit_plugin_directories
- - ct-unit_plugin_versioning
- - ct-unit_policy_validators
- - ct-unit_priority_queue
- - ct-unit_queue_consumers
- - ct-unit_stats_and_metrics
- - ct-unit_supervisor2
- - ct-unit_vm_memory_monitor
- - ct-upgrade_preparation
- - ct-vhost
- runs-on: ubuntu-18.04
- steps:
- - if: github.ref == 'refs/heads/master'
- uses: actions/download-artifact@v2
- with:
- name: rabbit-rabbitmq-deps.mk
- - name: FORMAT GIT REF
- if: github.ref == 'refs/heads/master'
- # https://github.community/t5/GitHub-Actions/How-can-I-set-an-expression-as-an-environment-variable-at/m-p/41804/highlight/true#M4751
- id: ref
- run: |
- branch_or_tag_name=${GITHUB_REF#refs/*/}
- echo "::set-output name=branch_or_tag_name::$branch_or_tag_name"
- - name: UPLOAD TO S3
- if: github.ref == 'refs/heads/master'
- # https://github.com/marketplace/actions/s3-file-upload
- uses: zdurham/s3-upload-github-action@master
- env:
- AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
- AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- AWS_REGION: ${{ secrets.AWS_REGION }}
- FILE: rabbit-rabbitmq-deps.mk
- S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
- S3_KEY: rabbitmq-server/${{ steps.ref.outputs.branch_or_tag_name }}/${{ github.run_id }}/otp-23.1/rabbit-rabbitmq-deps.mk
+ 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 }} \
+ --env BUILDEVENT_APIKEY=${{ secrets.HONEYCOMB_API_KEY }} \
+ --env BUILD_START=${{ needs.prepare.outputs.build_start }} \
+ --env BUILD_RESULT=${{ env.WORKFLOW_CONCLUSION }} \
+ eu.gcr.io/cf-rabbitmq-core/ci:erlang-23.1-rabbitmq-${{ github.sha }} \
+ ci/scripts/finish.sh