diff options
| author | Michael Klishin <michael@clojurewerkz.org> | 2020-05-30 18:30:43 +0300 |
|---|---|---|
| committer | Michael Klishin <michael@clojurewerkz.org> | 2020-05-30 18:30:43 +0300 |
| commit | a53ec39f0eb64e4c99c68067f733b160b2cf8f8f (patch) | |
| tree | b89b7e6b749f13636c226c1d92aa0b7df58d370d /.github | |
| parent | 0490c179c814499ebdb8ae6e8beba19f1449a890 (diff) | |
| download | rabbitmq-server-git-a53ec39f0eb64e4c99c68067f733b160b2cf8f8f.tar.gz | |
Regenerate GitHub Action workflows post #2356
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/test-erlang-otp-21.3.yaml | 74 | ||||
| -rw-r--r-- | .github/workflows/test-erlang-otp-22.3.yaml | 74 |
2 files changed, 148 insertions, 0 deletions
diff --git a/.github/workflows/test-erlang-otp-21.3.yaml b/.github/workflows/test-erlang-otp-21.3.yaml index 8d1a47c8a5..0304d02f57 100644 --- a/.github/workflows/test-erlang-otp-21.3.yaml +++ b/.github/workflows/test-erlang-otp-21.3.yaml @@ -6018,6 +6018,79 @@ jobs: name: ct-unit_plugin_versioning-logs path: "*-ct-logs-*.tar.xz" # 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: 21.3 + # https://github.com/elixir-lang/elixir/releases + elixir-version: 1.8.0 + - 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/* + make ct-unit_policy_validators \ + base_rmq_ref=master \ + current_rmq_ref=$branch_or_tag_name \ + FULL= \ + FAIL_FAST=1 \ + SKIP_AS_ERROR=1 + - name: DOWNLOAD SECONDARY UMBRELLAS ARCHIVE + if: success() && 'oldest' == 'oldest' + uses: actions/download-artifact@v2 + with: + name: secondary-umbrellas.tar.xz + - name: UNPACK SECONDARY UMBRELLAS ARCHIVE + if: success() && 'oldest' == 'oldest' + run: | + set -ex + tar Jxf secondary-umbrellas.tar.xz + rm secondary-umbrellas.tar.xz + - name: RUN TESTS [mixed-versions] + if: success() && 'oldest' == '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= + 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" + # 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 @@ -6613,6 +6686,7 @@ jobs: - 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 diff --git a/.github/workflows/test-erlang-otp-22.3.yaml b/.github/workflows/test-erlang-otp-22.3.yaml index 3aca279ccf..dd2a698fb5 100644 --- a/.github/workflows/test-erlang-otp-22.3.yaml +++ b/.github/workflows/test-erlang-otp-22.3.yaml @@ -6018,6 +6018,79 @@ jobs: name: ct-unit_plugin_versioning-logs path: "*-ct-logs-*.tar.xz" # 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: 22.3 + # https://github.com/elixir-lang/elixir/releases + elixir-version: 1.8.0 + - 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/* + make ct-unit_policy_validators \ + base_rmq_ref=master \ + current_rmq_ref=$branch_or_tag_name \ + FULL= \ + FAIL_FAST=1 \ + SKIP_AS_ERROR=1 + - 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= + 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" + # 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 @@ -6613,6 +6686,7 @@ jobs: - 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 |
