diff options
author | Michael Klishin <klishinm@vmware.com> | 2021-12-29 11:00:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-29 11:00:25 +0300 |
commit | 0a054bf59e443b5ace9094488ed3215c256a6ecd (patch) | |
tree | b2dded5ae60755b20be41f50d164c28acea4ccd1 /ci/scripts/rabbitmq_cli.sh | |
parent | e89dec54e9f8758f0e7262fb80e2af7726c648b5 (diff) | |
parent | 4993fefa08fa0785385d23465d1f6de20bd4649c (diff) | |
download | rabbitmq-server-git-confirm_on_ack_cli.tar.gz |
Merge branch 'master' into confirm_on_ack_cliconfirm_on_ack_cli
Diffstat (limited to 'ci/scripts/rabbitmq_cli.sh')
-rwxr-xr-x | ci/scripts/rabbitmq_cli.sh | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/ci/scripts/rabbitmq_cli.sh b/ci/scripts/rabbitmq_cli.sh deleted file mode 100755 index d21608df22..0000000000 --- a/ci/scripts/rabbitmq_cli.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash - -set -euo pipefail - -cd /workspace/rabbitmq/deps/$project - -trap 'catch $?' EXIT - -SPAN_ID=${GITHUB_RUN_ID}-${project} - -catch() { - buildevents cmd ${GITHUB_RUN_ID} ${SPAN_ID} stop-node -- \ - make stop-node -C ../.. \ - DEPS_DIR=/workspace/rabbitmq/deps \ - PLUGINS='rabbitmq_federation rabbitmq_stomp' - - if [ "$1" != "0" ]; then - tar -c -f - /tmp/rabbitmq-test-instances/*/log | \ - xz > /workspace/broker-logs/broker-logs.tar.xz - fi - - buildevents step ${GITHUB_RUN_ID} ${SPAN_ID} ${STEP_START} ${project} -} - -buildevents cmd ${GITHUB_RUN_ID} ${SPAN_ID} make -- \ - make DEPS_DIR=/workspace/rabbitmq/deps - -buildevents cmd ${GITHUB_RUN_ID} ${SPAN_ID} start-background-broker -- \ - make start-background-broker \ - -C ../.. \ - DEPS_DIR=/workspace/rabbitmq/deps \ - PLUGINS='rabbitmq_federation rabbitmq_stomp' - -buildevents cmd ${GITHUB_RUN_ID} ${SPAN_ID} rebar -- \ - mix local.rebar --force - -# due to https://github.com/elixir-lang/elixir/issues/7699 we -# "run" the tests, but skip them all, in order to trigger -# compilation of all *_test.exs files before we actually run themq -buildevents cmd ${GITHUB_RUN_ID} ${SPAN_ID} compile-tests -- \ - make tests \ - MIX_TEST_OPTS="--exclude test" \ - DEPS_DIR=/workspace/rabbitmq/deps - -# rabbitmq-diagnostics erlang-cookie-sources reads USER from then env -export USER=$(whoami) -buildevents cmd ${GITHUB_RUN_ID} ${SPAN_ID} tests -- \ - make tests \ - DEPS_DIR=/workspace/rabbitmq/deps |