Commit Graph

54535 Commits

Author SHA1 Message Date
Michael Klishin bcc46a3c20 Merge branch 'v3.12.x-backport-11619' into v3.12.x 2024-07-08 13:25:46 -04:00
Diana Parra Corbacho ceed0760ae Add new testsuite to app.bzl
(cherry picked from commit bb41a37364)
2024-07-08 12:02:42 -04:00
Diana Parra Corbacho e30c5bc586 rabbit_definitions: ensure federation-upstream-set parameters are exported
These parameters are not proplists but a list of maps

(cherry picked from commit a8dcca084a)
2024-07-08 12:02:31 -04:00
Michael Davis 0dae3e3f91
Merge pull request #11599 from rabbitmq/md/3-12/ci/rename-mixed-version-jobs
3.12: Add '-mixed' suffix to mixed-version CI job names (Backport #11597)
2024-07-02 08:05:40 -05:00
Michael Davis 088b912d67
CI: Regenerate test-mixed-versions workflow
These changes are generated by 'make actions-workflows'. The change to
the template that causes the diff is in the parent commit - adding a
suffixed of "-mixed" to the job names.
2024-07-01 16:32:34 -04:00
Michael Davis 7dc6f4cd78
CI: Add '-mixed' suffix to mixed-version job names
Without the suffix it's hard to tell apart regular and mixed version
workflows by name. Currently you need to go into the "Set up job" step
or look at the bazelisk cquery. Changing the names should have no
functional change - it's just easier to tell the jobs apart in the
GitHub UI.

This commit only updates the template. The child commit will regenerate
the workflow file via 'make actions-workflows'.
2024-07-01 16:31:51 -04:00
Michael Davis fe6e722fd6
CI: Use 'test-plugin-mixed.yaml' for CLI tests in mixed version template
This appears to be an oversight when creating the mixed version
template: the CLI should use the mixed version workflow template rather
than the regular plugin workflow.
2024-07-01 16:31:51 -04:00
Michael Klishin aeef4dc09d
Merge pull request #11537 from rabbitmq/mergify/bp/v3.12.x/pr-11511
Use the latest rules_erlang & rules_elixir (backport #11506) (backport #11511)
2024-06-24 06:32:36 -04:00
Rin Kuryloski 106d401dd8 Use the latest rules_erlang & rules_elixir
(cherry picked from commit 3465eef2cd)
(cherry picked from commit 6ce5109838)
2024-06-23 08:34:16 +00:00
Michael Klishin d49f0bdf13
Merge pull request #11536 from rabbitmq/gazelle-v3.12.x
bazel run gazelle
2024-06-23 00:53:07 -04:00
GitHub 83b92c9688 bazel run gazelle 2024-06-23 04:03:59 +00:00
Michael Klishin 8eaa545fbe
Merge pull request #11510 from rabbitmq/mergify/bp/v3.12.x/pr-11485
Use rules_elixir for rabbitmqctl (backport #11456) (backport #11485)
2024-06-22 02:36:03 -04:00
Rin Kuryloski 3362965ad0 Mark //deps/rabbitmq_cli:tests as large
for a larger timeout
2024-06-20 15:41:34 +02:00
Rin Kuryloski c19d6f8484 Don't check for cli compilation errors 2024-06-20 15:06:46 +02:00
Rin Kuryloski b7673a7a14
Merge branch 'v3.12.x' into mergify/bp/v3.12.x/pr-11485 2024-06-20 15:00:21 +02:00
Rin Kuryloski f7da6c0f38
Merge pull request #11500 from rabbitmq/mergify/bp/v3.12.x/pr-11488
Remove remaining buildbuddy usage (backport #11478) (backport #11488)
2024-06-20 15:00:01 +02:00
Rin Kuryloski af05892ba9 use elixir 1.14 for mixed version archive 2024-06-20 14:49:44 +02:00
Rin Kuryloski db459f0caf fixup backport 2024-06-20 14:10:31 +02:00
Rin Kuryloski 6a456cc2a9 fixup backport
(cherry picked from commit f73af61077)
2024-06-20 11:48:42 +00:00
Rin Kuryloski 3796fbb5fc ensure that csv and json elixir deps are embedded in the cli escript
also set 'cfg =' appropriately

(cherry picked from commit 46250dce11)
(cherry picked from commit 306c593085)
2024-06-20 11:48:42 +00:00
Rin Kuryloski 634ab9d03e use the latest rules_erlang
which fixes and issue with escript_archive that was breaking the rabbitmqctl escript

(cherry picked from commit 5fc8a8cb9a)
(cherry picked from commit 0ce73ff467)
2024-06-20 11:48:42 +00:00
Rin Kuryloski b7ee1deedd use the latest bazel_skylib
(cherry picked from commit a6b3916a9c)
(cherry picked from commit 1de9bb9aab)

# Conflicts:
#	MODULE.bazel
2024-06-20 11:48:41 +00:00
Rin Kuryloski feebd983f6 Check that the cli can compile with --warnings-as-errors in ci
It's technically a build target, so we didn't need to create a whole
new test rule, but it's marked as "manual" so that it doesn't cause
bazel build //... to fail

(cherry picked from commit f2add661f4)
(cherry picked from commit 7e8c9590b9)
2024-06-20 11:48:41 +00:00
Rin Kuryloski 36ddf89ff8 amqp_client system_SUITE apparently needs the cli on the code path
I'm not actually sure why the changes to rabbitmqctl compilation
necessitated this change, but it seems to be the case

(cherry picked from commit 662ad8edf4)
(cherry picked from commit 2287a84889)
2024-06-20 11:48:41 +00:00
Rin Kuryloski a6f5018c14 Set the locale with elixir
(cherry picked from commit ba8cf2c2f7)
(cherry picked from commit 1d11854f84)
2024-06-20 11:48:41 +00:00
Rin Kuryloski 7ac73c3da0 Add erlang binaries to the path in rabbitmq-run.sh
As they are no longer added automatically by the enclosing rule

(cherry picked from commit 35171ebdeb)
(cherry picked from commit 04d6dc4448)
2024-06-20 11:48:40 +00:00
Rin Kuryloski 714f31af1f Use rules_elixir to build the cli without mix
Certain elixir-native deps are still build with mix, but this can be
corrected later

(cherry picked from commit 5debebfaf3)

# Conflicts:
#	deps/rabbit/BUILD.bazel
(cherry picked from commit 7f585d4102)

# Conflicts:
#	deps/rabbitmq_cli/BUILD.bazel
#	deps/rabbitmq_ct_helpers/BUILD.bazel
2024-06-20 11:48:40 +00:00
Michael Klishin 76e0da11d7 Secondary umbrella: resolve a conflict 2024-06-19 13:45:15 -04:00
Michael Klishin 91b4d0f5b1 Resolve a conflict #11488 #11478 #11500 2024-06-19 13:31:16 -04:00
Rin Kuryloski 91665228cc fixup backport
(cherry picked from commit f28089177a)

# Conflicts:
#	.github/workflows/perform-bazel-execution-comparison.yaml
#	bazel/bzlmod/secondary_umbrella.bzl
2024-06-19 17:28:30 +00:00
Rin Kuryloski f28ec6c5ed Remove remaining buildbuddy usage
(cherry picked from commit a2709dfd05)

# Conflicts:
#	.github/workflows/perform-bazel-execution-comparison.yaml
#	bazel/bzlmod/secondary_umbrella.bzl
(cherry picked from commit b38dc84db5)

# Conflicts:
#	bazel/bzlmod/secondary_umbrella.bzl
2024-06-19 17:28:30 +00:00
Rin Kuryloski 52be6df3f0
Merge pull request #11480 from rabbitmq/mergify/bp/v3.12.x/pr-11475
Maybe reduce cache errors (backport #11473) (backport #11475)
2024-06-18 17:05:35 +02:00
Rin Kuryloski c05222656c Maybe reduce cache errors
- https://bazel.build/reference/command-line-reference#flag--experimental_guard_against_concurrent_changes

(cherry picked from commit b5b7605219)
(cherry picked from commit 75619904f3)
2024-06-18 14:49:50 +00:00
Rin Kuryloski 9311186d05
Merge pull request #11428 from rabbitmq/v3.12.x-remove-khepri-from-ci-matrix
remove khepri from ci matrix [v3.12.x]
2024-06-11 15:54:06 +02:00
Rin Kuryloski 78bb05f52c RABBITMQ_METADATA_STORE has no effect on this branch
so no need to vary it in the test matrix
2024-06-10 22:24:42 +02:00
mergify[bot] c78563a335
Turn off BuildBuddy integration (backport #11343) (backport #11390) (#11416)
* Turn off BuildBuddy integration (#11343)

Builds now execute on the github actions workers, using Google Cloud Storage (GCS) as a cache

(cherry picked from commit a6874e39cc)

# Conflicts:
#	.github/workflows/update-elixir-patches.yaml
#	.github/workflows/update-otp-patches.yaml
#	MODULE.bazel
#	WORKSPACE
#	deps/rabbitmq_peer_discovery_consul/test/system_SUITE_data/consul.hcl
(cherry picked from commit 2c62185317)

# Conflicts:
#	.bazelrc
#	.github/workflows/rabbitmq_peer_discovery_aws.yaml
#	.github/workflows/templates/test-mixed-versions.template.yaml
#	.github/workflows/templates/test.template.yaml
#	.github/workflows/test-mixed-versions.yaml
#	.github/workflows/test.yaml
#	MODULE.bazel
#	bazel/platforms/BUILD.bazel

* fixup backport

(cherry picked from commit dd62ac16f3)

# Conflicts:
#	.github/workflows/update-elixir-patches.yaml
#	.github/workflows/update-otp-patches.yaml

* remove rabbitmq_amqp_client tests from this branch

as the plugin does not exist here

(cherry picked from commit 28ee2ddee6)

# Conflicts:
#	.github/workflows/test-mixed-versions.yaml

* Reduce bazel sandbox for rabbitmq_amqp1_0 tests in CI

since they use java

(cherry picked from commit 0d5c0e5086)

* Install daemonize as needed in the peer_discovery_etcd suite

(cherry picked from commit 23f6e5cc7e)

* fixup backport

* oauth2_client does not exist on this branch

and rabbitmq_prelaunch will run as part of the rabbit shards

* Use erlang 25.0/elixir 1.14 for mixed version tests

---------

Co-authored-by: Rin Kuryloski <rin.kuryloski@broadcom.com>
2024-06-10 17:26:49 +02:00
Michael Klishin 81e12147d0
Merge pull request #11393 from rabbitmq/mergify/bp/v3.12.x/pr-11387
rabbitmq-diagnostics status: adjust the (date-based) support status field to match the current community support policy (backport #11386) (backport #11387)
2024-06-06 19:19:56 -04:00
Michael Klishin 00f19ebc54
Merge pull request #11405 from rabbitmq/mergify/bp/v3.12.x/pr-11404
Add back rabbitmq_cli tests to CI (backport #11402) (backport #11404)
2024-06-06 19:18:55 -04:00
Rin Kuryloski 8754bb66e1 Add back rabbitmq_cli tests to CI
Accidentally left out of #11343

(cherry picked from commit bdd18ed800)

# Conflicts:
#	.github/workflows/templates/test-mixed-versions.template.yaml
#	.github/workflows/templates/test.template.yaml
#	.github/workflows/test-mixed-versions.yaml
#	.github/workflows/test.yaml
(cherry picked from commit 57dba90b3d)
2024-06-06 23:04:24 +00:00
Michael Klishin bfce7d006c Resolve conflict #11393 #11386 2024-06-06 11:45:14 -04:00
Michael Klishin f33bf80f3b rabbitmq-diagnostics status: drop date-based support status field
As of [1], this field has become irrelevant or even
misleading.

1. https://www.rabbitmq.com/blog/2024/05/31/new-community-support-policy

(cherry picked from commit 41e5d38b94)
(cherry picked from commit 53c67ce45b)

# Conflicts:
#	deps/rabbit/src/rabbit.erl
#	deps/rabbit/src/rabbit_release_series.erl
2024-06-06 11:36:58 +00:00
Michael Klishin 951fa66c97
Merge pull request #11326 from rabbitmq/mergify/bp/v3.12.x/pr-11323
Make rabbit_misc:which_applications/0 more resilient (backport #11322) (backport #11323)
2024-05-25 02:46:13 -04:00
Michael Klishin 70cce4592d Make rabbit_misc:which_applications/0 more resilient
In certain shutdown scenarios this function on
Erlang 26 runs into exceptions that stem from
application_controller.

The objective of this function is to be
an exception-safe version of
application:which_applications/1, so let's
handle more cases.

This helps certain test suites avoid exceptions
(process crash reports) logged during shutdown,
which makes CT helpers fail test run even
though there were no exceptions in RabbitMQ
itself, and all the exception indicates is a
certain edge case (during system shutdown)
that application_controller does not care to handle.

(cherry picked from commit ca094402a9)
(cherry picked from commit addc990ac3)
2024-05-25 04:05:45 +00:00
Michael Klishin 5b977562a8
Merge pull request #11320 from rabbitmq/mergify/bp/v3.12.x/pr-11319
Update dynamic-shovels.ejs (backport #11318) (backport #11319)
2024-05-24 11:43:47 -04:00
womblep 5e86c7cece Update dynamic-shovels.ejs
remove fail_if_no_peer_cert as it is no longer accepted in Erlang 26 and will stop the connection from happening

(cherry picked from commit 23794e1115)
(cherry picked from commit 54c24b4809)
2024-05-24 15:40:43 +00:00
Rin Kuryloski 8a874cc647
Merge pull request #11289 from rabbitmq/mergify/bp/v3.12.x/pr-11287
Adopt elixir 1.15.8 (backport #11285) (backport #11287)
2024-05-21 19:07:33 +02:00
GitHub 43b07691e3 Adopt elixir 1.15.8
(cherry picked from commit a5955e909a)
(cherry picked from commit 35c284c1e3)
2024-05-21 14:31:57 +00:00
Michael Klishin 10cbb86299
Merge pull request #11263 from rabbitmq/mergify/bp/v3.12.x/pr-11253
Adopt otp 26.2.5 (backport #11252) (backport #11253)
2024-05-17 13:46:27 -04:00
mergify[bot] 85da3dde98 Adopt otp 26.2.5 (backport #11252) (#11253)
* Adopt otp 26.2.5

(cherry picked from commit 07cfb29e2b)

# Conflicts:
#	MODULE.bazel

* fixup backport

---------

Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: Rin Kuryloski <rin.kuryloski@broadcom.com>
(cherry picked from commit c61383a034)
2024-05-17 15:05:57 +00:00
Michael Klishin b265f62335
Merge pull request #11216 from rabbitmq/mergify/bp/v3.12.x/pr-11215
Declaring an exchange with an invalid type is a precondition failure (backport #11214) (backport #11215)
2024-05-12 12:18:51 -04:00