summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorPhilip Kuryloski <kuryloskip@vmware.com>2020-11-23 15:59:24 +0100
committerPhilip Kuryloski <kuryloskip@vmware.com>2020-11-23 22:36:32 +0100
commitc564c1f2cbf69a6208a6f00db049e7d408f268c1 (patch)
tree6e3640254a00b5ca8eef3e7acd65b24168d4c110 /.github
parent19ec5d9abc21d4ec55cfffbce3cb4715350934cd (diff)
downloadrabbitmq-server-git-c564c1f2cbf69a6208a6f00db049e7d408f268c1.tar.gz
Enable testing of rabbitmq_amqp1_0 in GitHub Actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test-erlang-otp-22.3.yaml36
-rw-r--r--.github/workflows/test-erlang-otp-23.1.yaml36
-rw-r--r--.github/workflows/test-erlang-otp-git.yaml36
3 files changed, 108 insertions, 0 deletions
diff --git a/.github/workflows/test-erlang-otp-22.3.yaml b/.github/workflows/test-erlang-otp-22.3.yaml
index 376e8ccbdb..c0bdc0b86d 100644
--- a/.github/workflows/test-erlang-otp-22.3.yaml
+++ b/.github/workflows/test-erlang-otp-22.3.yaml
@@ -7298,6 +7298,41 @@ jobs:
with:
name: amqp10_common-ct-logs
path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_amqp1_0:
+ name: rabbitmq_amqp1_0
+ 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-22.3-rabbitmq-${{ github.sha }}
+ mkdir ct-logs && chmod 777 ct-logs
+ docker run \
+ --env project=rabbitmq_amqp1_0 \
+ --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-22.3-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_amqp1_0-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
rabbitmq_auth_backend_cache:
name: rabbitmq_auth_backend_cache
needs:
@@ -8468,6 +8503,7 @@ jobs:
- rabbit
- amqp_client
- amqp10_common
+ - rabbitmq_amqp1_0
- rabbitmq_auth_backend_cache
- rabbitmq_auth_backend_http
- rabbitmq_auth_backend_oauth2
diff --git a/.github/workflows/test-erlang-otp-23.1.yaml b/.github/workflows/test-erlang-otp-23.1.yaml
index 62edbf753d..f87f3473fc 100644
--- a/.github/workflows/test-erlang-otp-23.1.yaml
+++ b/.github/workflows/test-erlang-otp-23.1.yaml
@@ -4049,6 +4049,41 @@ jobs:
with:
name: amqp10_common-ct-logs
path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_amqp1_0:
+ name: rabbitmq_amqp1_0
+ 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_amqp1_0 \
+ --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_amqp1_0-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
rabbitmq_auth_backend_cache:
name: rabbitmq_auth_backend_cache
needs:
@@ -5220,6 +5255,7 @@ jobs:
- rabbit
- amqp_client
- amqp10_common
+ - rabbitmq_amqp1_0
- rabbitmq_auth_backend_cache
- rabbitmq_auth_backend_http
- rabbitmq_auth_backend_oauth2
diff --git a/.github/workflows/test-erlang-otp-git.yaml b/.github/workflows/test-erlang-otp-git.yaml
index 4c17fd5a44..b8cec49aea 100644
--- a/.github/workflows/test-erlang-otp-git.yaml
+++ b/.github/workflows/test-erlang-otp-git.yaml
@@ -3915,6 +3915,41 @@ jobs:
with:
name: amqp10_common-ct-logs
path: ct-logs/*-ct-logs-*.tar.xz
+ rabbitmq_amqp1_0:
+ name: rabbitmq_amqp1_0
+ 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-git-rabbitmq-${{ github.sha }}
+ mkdir ct-logs && chmod 777 ct-logs
+ docker run \
+ --env project=rabbitmq_amqp1_0 \
+ --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-git-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_amqp1_0-ct-logs
+ path: ct-logs/*-ct-logs-*.tar.xz
rabbitmq_auth_backend_cache:
name: rabbitmq_auth_backend_cache
needs:
@@ -5085,6 +5120,7 @@ jobs:
- rabbit
- amqp_client
- amqp10_common
+ - rabbitmq_amqp1_0
- rabbitmq_auth_backend_cache
- rabbitmq_auth_backend_http
- rabbitmq_auth_backend_oauth2