summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kuryloski <kuryloskip@vmware.com>2021-03-10 15:05:39 +0100
committerPhilip Kuryloski <kuryloskip@vmware.com>2021-03-10 15:05:39 +0100
commitb6e0a7bc87567b20414902f835a09c49dc717c6f (patch)
tree5f5cc4c2f9372acbcd800c2707a7470e32f1db2b
parent561be2da6f30d1ca00f85108866d0fa124ee83d1 (diff)
downloadrabbitmq-server-git-b6e0a7bc87567b20414902f835a09c49dc717c6f.tar.gz
WIP: GitHub Actions without docker images 27
-rw-r--r--.github/workflows/test-erlang-otp-23.1.yaml2
-rw-r--r--.github/workflows/test-erlang-otp-git.yaml2
-rw-r--r--workflow_sources/test/rabbitmq_cli.lib.yml3
3 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/test-erlang-otp-23.1.yaml b/.github/workflows/test-erlang-otp-23.1.yaml
index b95e6d8129..5c2a1339dc 100644
--- a/.github/workflows/test-erlang-otp-23.1.yaml
+++ b/.github/workflows/test-erlang-otp-23.1.yaml
@@ -11337,7 +11337,7 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: |
make -C deps/rabbitmq_cli tests MIX_TEST_OPTS="--exclude test"
- make -C deps/rabbitmq_cli tests
+ make -C deps/rabbitmq_cli tests RABBITMQ_VERSION="3.9.0"
- name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
uses: actions/upload-artifact@v2-preview
if: failure()
diff --git a/.github/workflows/test-erlang-otp-git.yaml b/.github/workflows/test-erlang-otp-git.yaml
index 98295a40e0..a1479a15a2 100644
--- a/.github/workflows/test-erlang-otp-git.yaml
+++ b/.github/workflows/test-erlang-otp-git.yaml
@@ -5480,7 +5480,7 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: |
make -C deps/rabbitmq_cli tests MIX_TEST_OPTS="--exclude test"
- make -C deps/rabbitmq_cli tests
+ make -C deps/rabbitmq_cli tests RABBITMQ_VERSION="3.9.0"
- name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
uses: actions/upload-artifact@v2-preview
if: failure()
diff --git a/workflow_sources/test/rabbitmq_cli.lib.yml b/workflow_sources/test/rabbitmq_cli.lib.yml
index b11558460a..c3a593d9af 100644
--- a/workflow_sources/test/rabbitmq_cli.lib.yml
+++ b/workflow_sources/test/rabbitmq_cli.lib.yml
@@ -35,9 +35,10 @@ steps:
PLUGINS='rabbitmq_federation rabbitmq_stomp'
- name: RUN TESTS
if: steps.cache.outputs.cache-hit != 'true'
+ #@ rabbitmq_version = data.values.base_rmq_ref.replace('master', '3.9.x').replace('.x', '.0')
run: |
make -C deps/(@= dep.name @) tests MIX_TEST_OPTS="--exclude test"
- make -C deps/(@= dep.name @) tests
+ make -C deps/(@= dep.name @) tests RABBITMQ_VERSION="(@= rabbitmq_version @)"
- name: ON FAILURE UPLOAD TESTS LOGS ARTIFACT
#! https://github.com/marketplace/actions/upload-artifact
uses: actions/upload-artifact@v2-preview