Skip to content

Commit

Permalink
Allow building CLI with elixir 1.18.x
Browse files Browse the repository at this point in the history
Tested with elixir 1.18.0-rc0

(cherry picked from commit 5086e28)

# Conflicts:
#	.github/workflows/check-build-system-equivalence.yaml
#	.github/workflows/gazelle-scheduled.yaml
#	.github/workflows/oci-arm64-make.yaml
#	.github/workflows/oci-make.yaml
#	.github/workflows/templates/test.template.yaml
#	.github/workflows/test-authnz.yaml
#	.github/workflows/test-make-target.yaml
#	.github/workflows/test-make.yaml
#	.github/workflows/test-management-ui-for-pr.yaml
#	.github/workflows/test-management-ui.yaml
#	.github/workflows/test-mixed-versions.yaml
#	.github/workflows/test-plugin-mixed.yaml
#	.github/workflows/test-plugin.yaml
#	.github/workflows/test.yaml
#	COMMUNITY_SUPPORT.md
#	MODULE.bazel
#	Makefile
#	bazel/BUILD.horus
#	bazel/BUILD.redbug
#	bazel/bzlmod/secondary_umbrella.bzl
#	deps/amqp10_client/BUILD.bazel
#	deps/amqp10_client/app.bzl
#	deps/amqp10_client/src/amqp10_client.erl
#	deps/amqp10_client/src/amqp10_client_connection.erl
#	deps/amqp10_client/src/amqp10_client_frame_reader.erl
#	deps/amqp10_client/src/amqp10_client_session.erl
#	deps/amqp10_client/src/amqp10_client_types.erl
#	deps/amqp10_client/src/amqp10_msg.erl
#	deps/amqp10_client/test/system_SUITE.erl
#	deps/amqp10_common/app.bzl
#	deps/amqp_client/src/amqp_network_connection.erl
#	deps/oauth2_client/app.bzl
#	deps/oauth2_client/include/oauth2_client.hrl
#	deps/oauth2_client/src/oauth2_client.erl
#	deps/oauth2_client/test/system_SUITE.erl
#	deps/oauth2_client/test/unit_SUITE.erl
#	deps/rabbit/BUILD.bazel
#	deps/rabbit/Makefile
#	deps/rabbit/app.bzl
#	deps/rabbit/ct.test.spec
#	deps/rabbit/include/rabbit_amqp.hrl
#	deps/rabbit/src/mc.erl
#	deps/rabbit/src/mc_amqp.erl
#	deps/rabbit/src/mc_amqpl.erl
#	deps/rabbit/src/mc_compat.erl
#	deps/rabbit/src/mc_util.erl
#	deps/rabbit/src/rabbit_access_control.erl
#	deps/rabbit/src/rabbit_amqp_management.erl
#	deps/rabbit/src/rabbit_amqp_reader.erl
#	deps/rabbit/src/rabbit_amqp_session.erl
#	deps/rabbit/src/rabbit_amqp_util.erl
#	deps/rabbit/src/rabbit_amqp_writer.erl
#	deps/rabbit/src/rabbit_amqqueue.erl
#	deps/rabbit/src/rabbit_amqqueue_process.erl
#	deps/rabbit/src/rabbit_backing_queue.erl
#	deps/rabbit/src/rabbit_binding.erl
#	deps/rabbit/src/rabbit_channel.erl
#	deps/rabbit/src/rabbit_core_ff.erl
#	deps/rabbit/src/rabbit_db_binding.erl
#	deps/rabbit/src/rabbit_db_cluster.erl
#	deps/rabbit/src/rabbit_db_exchange.erl
#	deps/rabbit/src/rabbit_depr_ff_extra.erl
#	deps/rabbit/src/rabbit_deprecated_features.erl
#	deps/rabbit/src/rabbit_exchange.erl
#	deps/rabbit/src/rabbit_feature_flags.erl
#	deps/rabbit/src/rabbit_ff_controller.erl
#	deps/rabbit/src/rabbit_ff_extra.erl
#	deps/rabbit/src/rabbit_ff_registry.erl
#	deps/rabbit/src/rabbit_ff_registry_factory.erl
#	deps/rabbit/src/rabbit_ff_registry_wrapper.erl
#	deps/rabbit/src/rabbit_global_counters.erl
#	deps/rabbit/src/rabbit_khepri.erl
#	deps/rabbit/src/rabbit_mnesia.erl
#	deps/rabbit/src/rabbit_networking.erl
#	deps/rabbit/src/rabbit_prelaunch_feature_flags.erl
#	deps/rabbit/src/rabbit_queue_type.erl
#	deps/rabbit/src/rabbit_quorum_queue.erl
#	deps/rabbit/src/rabbit_reader.erl
#	deps/rabbit/src/rabbit_stream_queue.erl
#	deps/rabbit/test/amqp_address_SUITE.erl
#	deps/rabbit/test/amqp_auth_SUITE.erl
#	deps/rabbit/test/amqp_client_SUITE.erl
#	deps/rabbit/test/amqp_system_SUITE.erl
#	deps/rabbit/test/dead_lettering_SUITE.erl
#	deps/rabbit/test/disconnect_detected_during_alarm_SUITE.erl
#	deps/rabbit/test/feature_flags_v2_SUITE.erl
#	deps/rabbit/test/mc_unit_SUITE.erl
#	deps/rabbit/test/quorum_queue_SUITE.erl
#	deps/rabbit/test/rabbit_db_binding_SUITE.erl
#	deps/rabbit/test/rabbit_db_queue_SUITE.erl
#	deps/rabbit/test/topic_permission_SUITE.erl
#	deps/rabbit_common/mk/rabbitmq-early-plugin.mk
#	deps/rabbit_common/src/rabbit_core_metrics.erl
#	deps/rabbit_common/src/rabbit_env.erl
#	deps/rabbit_common/src/rabbit_event.erl
#	deps/rabbit_common/src/rabbit_ssl_options.erl
#	deps/rabbit_common/test/rabbit_env_SUITE.erl
#	deps/rabbitmq_amqp_client/src/rabbitmq_amqp_client.erl
#	deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot/pom.xml
#	deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot_kotlin/pom.xml
#	deps/rabbitmq_auth_backend_http/src/rabbit_auth_backend_http.erl
#	deps/rabbitmq_auth_backend_ldap/src/rabbit_auth_backend_ldap.erl
#	deps/rabbitmq_auth_backend_oauth2/BUILD.bazel
#	deps/rabbitmq_auth_backend_oauth2/Makefile
#	deps/rabbitmq_auth_backend_oauth2/README.md
#	deps/rabbitmq_auth_backend_oauth2/app.bzl
#	deps/rabbitmq_auth_backend_oauth2/priv/schema/rabbitmq_auth_backend_oauth2.schema
#	deps/rabbitmq_auth_backend_oauth2/src/rabbit_auth_backend_oauth2.erl
#	deps/rabbitmq_auth_backend_oauth2/src/rabbit_oauth2_schema.erl
#	deps/rabbitmq_auth_backend_oauth2/src/rabbit_oauth2_scope.erl
#	deps/rabbitmq_auth_backend_oauth2/src/uaa_jwks.erl
#	deps/rabbitmq_auth_backend_oauth2/src/uaa_jwt.erl
#	deps/rabbitmq_auth_backend_oauth2/src/uaa_jwt_jwt.erl
#	deps/rabbitmq_auth_backend_oauth2/test/config_schema_SUITE_data/rabbitmq_auth_backend_oauth2.snippets
#	deps/rabbitmq_auth_backend_oauth2/test/jwks_SUITE.erl
#	deps/rabbitmq_auth_backend_oauth2/test/rabbit_oauth2_schema_SUITE.erl
#	deps/rabbitmq_auth_backend_oauth2/test/system_SUITE.erl
#	deps/rabbitmq_auth_backend_oauth2/test/unit_SUITE.erl
#	deps/rabbitmq_cli/Makefile
#	deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/list_connections_command.ex
#	deps/rabbitmq_cli/mix.exs
#	deps/rabbitmq_event_exchange/BUILD.bazel
#	deps/rabbitmq_event_exchange/Makefile
#	deps/rabbitmq_event_exchange/README.md
#	deps/rabbitmq_event_exchange/app.bzl
#	deps/rabbitmq_event_exchange/priv/schema/rabbitmq_event_exchange.schema
#	deps/rabbitmq_event_exchange/src/rabbit_exchange_type_event.erl
#	deps/rabbitmq_event_exchange/test/config_schema_SUITE_data/rabbitmq_event_exchange.snippets
#	deps/rabbitmq_event_exchange/test/system_SUITE.erl
#	deps/rabbitmq_management/.gitignore
#	deps/rabbitmq_management/BUILD.bazel
#	deps/rabbitmq_management/Makefile
#	deps/rabbitmq_management/app.bzl
#	deps/rabbitmq_management/priv/schema/rabbitmq_management.schema
#	deps/rabbitmq_management/priv/www/css/main.css
#	deps/rabbitmq_management/priv/www/js/dispatcher.js
#	deps/rabbitmq_management/priv/www/js/global.js
#	deps/rabbitmq_management/priv/www/js/main.js
#	deps/rabbitmq_management/priv/www/js/oidc-oauth/helper.js
#	deps/rabbitmq_management/priv/www/js/tmpl/connection.ejs
#	deps/rabbitmq_management/priv/www/js/tmpl/connections.ejs
#	deps/rabbitmq_management/priv/www/js/tmpl/deprecated-features.ejs
#	deps/rabbitmq_management/priv/www/js/tmpl/feature-flags.ejs
#	deps/rabbitmq_management/src/rabbit_mgmt_dispatcher.erl
#	deps/rabbitmq_management/src/rabbit_mgmt_wm_auth.erl
#	deps/rabbitmq_management/test/clustering_prop_SUITE.erl
#	deps/rabbitmq_management/test/config_schema_SUITE_data/rabbitmq_management.snippets
#	deps/rabbitmq_management/test/rabbit_mgmt_http_SUITE.erl
#	deps/rabbitmq_management/test/rabbit_mgmt_wm_auth_SUITE.erl
#	deps/rabbitmq_management_agent/src/rabbit_mgmt_ff.erl
#	deps/rabbitmq_mqtt/BUILD.bazel
#	deps/rabbitmq_mqtt/Makefile
#	deps/rabbitmq_mqtt/src/mc_mqtt.erl
#	deps/rabbitmq_mqtt/src/rabbit_mqtt.erl
#	deps/rabbitmq_mqtt/src/rabbit_mqtt_ff.erl
#	deps/rabbitmq_mqtt/src/rabbit_mqtt_processor.erl
#	deps/rabbitmq_mqtt/src/rabbit_mqtt_reader.erl
#	deps/rabbitmq_mqtt/test/java_SUITE_data/pom.xml
#	deps/rabbitmq_mqtt/test/mc_mqtt_SUITE.erl
#	deps/rabbitmq_mqtt/test/mqtt_shared_SUITE.erl
#	deps/rabbitmq_prometheus/BUILD.bazel
#	deps/rabbitmq_prometheus/app.bzl
#	deps/rabbitmq_prometheus/src/collectors/prometheus_rabbitmq_global_metrics_collector.erl
#	deps/rabbitmq_prometheus/src/rabbit_prometheus_dispatcher.erl
#	deps/rabbitmq_prometheus/test/rabbit_prometheus_http_SUITE.erl
#	deps/rabbitmq_stream/test/protocol_interop_SUITE.erl
#	deps/rabbitmq_stream/test/rabbit_stream_SUITE_data/pom.xml
#	deps/rabbitmq_stream_management/priv/www/js/tmpl/streamConnection.ejs
#	deps/rabbitmq_stream_management/test/http_SUITE_data/pom.xml
#	deps/rabbitmq_web_mqtt/src/rabbit_web_mqtt_handler.erl
#	moduleindex.yaml
#	rabbitmq-components.mk
#	rabbitmq.bzl
#	release-notes/4.0.1.md
#	selenium/.gitignore
#	selenium/bin/components/devkeycloak
#	selenium/bin/components/fakeportal
#	selenium/bin/components/fakeproxy
#	selenium/bin/components/prodkeycloak
#	selenium/bin/components/rabbitmq
#	selenium/bin/components/uaa
#	selenium/bin/gen-env-file
#	selenium/bin/suite_template
#	selenium/fakeportal/app.js
#	selenium/full-suite-authnz-messaging
#	selenium/full-suite-management-ui
#	selenium/package.json
#	selenium/run-suites.sh
#	selenium/short-suite-management-ui
#	selenium/suites/authnz-messaging/auth-internal-backend.sh
#	selenium/suites/authnz-mgt/oauth-with-uaa.sh
#	selenium/test/amqp.js
#	selenium/test/authnz-msg-protocols/amqp10.js
#	selenium/test/authnz-msg-protocols/env.auth-oauth-dev.docker
#	selenium/test/authnz-msg-protocols/env.auth-oauth-dev.local
#	selenium/test/authnz-msg-protocols/env.auth-oauth-prod.docker
#	selenium/test/authnz-msg-protocols/env.auth-oauth-prod.local
#	selenium/test/authnz-msg-protocols/env.docker.devkeycloak
#	selenium/test/authnz-msg-protocols/env.docker.prodkeycloak
#	selenium/test/authnz-msg-protocols/env.local.devkeycloak
#	selenium/test/authnz-msg-protocols/env.local.prodkeycloak
#	selenium/test/authnz-msg-protocols/mqtt.js
#	selenium/test/basic-auth/env.local
#	selenium/test/basic-auth/imports/users.json
#	selenium/test/basic-auth/rabbitmq.conf
#	selenium/test/connections/amqp10/sessions-for-monitoring-user.js
#	selenium/test/env.docker
#	selenium/test/env.local
#	selenium/test/env.tls.docker
#	selenium/test/env.tls.local
#	selenium/test/exchanges/management.js
#	selenium/test/multi-oauth/env.local
#	selenium/test/multi-oauth/env.local.devkeycloak
#	selenium/test/multi-oauth/env.local.prodkeycloak
#	selenium/test/multi-oauth/rabbitmq.tls.conf
#	selenium/test/oauth/env.docker.fakeportal
#	selenium/test/oauth/env.docker.fakeproxy
#	selenium/test/oauth/env.docker.uaa
#	selenium/test/oauth/env.local
#	selenium/test/oauth/env.local.fakeportal
#	selenium/test/oauth/env.local.keycloak
#	selenium/test/oauth/env.local.uaa
#	selenium/test/oauth/rabbitmq.conf
#	selenium/test/oauth/rabbitmq.keycloak-mgt-oauth-provider.conf
#	selenium/test/oauth/rabbitmq.tls.conf
#	selenium/test/oauth/uaa/uaa.yml
#	selenium/test/pageobjects/BasePage.js
#	selenium/test/pageobjects/OverviewPage.js
  • Loading branch information
VlkrS authored and mergify[bot] committed Dec 12, 2024
1 parent ebfeab8 commit 8f8ee61
Show file tree
Hide file tree
Showing 268 changed files with 16,449 additions and 1 deletion.
54 changes: 54 additions & 0 deletions .github/DISCUSSION_TEMPLATE/ideas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
title: "[Suggestion] "
body:
- type: markdown
attributes:
value: |
## Before We Start
Please provide reasonably detailed responses to the question below to help the Core Team and maintainers
to understand how you run RabbitMQ and why you'd like to see the suggested changes.
- type: markdown
attributes:
value: |
## Relevant Details
- type: dropdown
id: rabbitmq_series
attributes:
label: RabbitMQ series
options:
- 4.0.x
- 4.1.x
validations:
required: true
- type: input
id: os
attributes:
label: Operating system (distribution) used
description: What OS or distribution do you run RabbitMQ on?
validations:
required: true
- type: dropdown
id: deployment_type
attributes:
label: How is RabbitMQ deployed?
options:
- Community Docker image
- Debian package
- RPM package
- Generic binary package
- Kubernetes Operator(s) from Team RabbitMQ
- Bitnami Helm chart
- Chocolatey package
- Windows installer
- Windows binary package
- RabbitMQ-as-a-Service from a public cloud provider
- Other
validations:
required: true
- type: textarea
id: details
attributes:
label: What would you like to suggest for a future version of RabbitMQ?
description: Please take the time to explain how you use RabbitMQ and why this change is important
validations:
required: true
54 changes: 54 additions & 0 deletions .github/DISCUSSION_TEMPLATE/other.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
title: "[Other] "
body:
- type: markdown
attributes:
value: |
## Before We Start
This category exists for free form questions where deployment details are less relevant, e.g. application and topology
design kind of questions. Please provide a reasonably detailed description of what you are trying to do with RabbitMQ.
- type: checkboxes
attributes:
label: Community Support Policy
description:
options:
- label: I have read [RabbitMQ's Community Support Policy](https://github.com/rabbitmq/rabbitmq-server/blob/main/COMMUNITY_SUPPORT.md)
required: true
- type: markdown
attributes:
value: |
## Relevant Details
- type: dropdown
id: rabbitmq_version
attributes:
label: RabbitMQ version used
options:
- 4.0.3
- 3.13.7 or older
validations:
required: true
- type: dropdown
id: deployment_type
attributes:
label: How is RabbitMQ deployed?
options:
- Community Docker image
- Debian package
- RPM package
- Generic binary package
- Kubernetes Operator(s) from Team RabbitMQ
- Bitnami Helm chart
- Chocolatey package
- Windows installer
- Windows binary package
- RabbitMQ-as-a-Service from a public cloud provider
- Other
validations:
required: true
- type: textarea
id: details
attributes:
label: Steps to reproduce the behavior in question
description: What specific steps need to be performed in order to reproduce this behavior? Why?
validations:
required: true
209 changes: 209 additions & 0 deletions .github/DISCUSSION_TEMPLATE/questions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
title: "[Questions] "
body:
- type: markdown
attributes:
value: |
## Before We Start
Please provide reasonably detailed responses to the question below to help others help you.
If you omit relevant information, those trying to reproduce what you are about to report will have to guess.
Guessing is a very time consuming, and therefore expensive, approach to troubleshooting distributed messaging infrastructure.
- type: checkboxes
attributes:
label: Community Support Policy
description:
options:
- label: I have read [RabbitMQ's Community Support Policy](https://github.com/rabbitmq/rabbitmq-server/blob/main/COMMUNITY_SUPPORT.md)
required: true
- label: I run RabbitMQ 4.x, the only series currently covered by [community support](https://www.rabbitmq.com/release-information)
required: true
- label: I promise to provide all relevant information (versions, logs from all nodes, rabbitmq-diagnostics output, detailed reproduction steps)
required: true
- type: markdown
attributes:
value: |
## Relevant Details
- type: dropdown
id: rabbitmq_version
attributes:
label: RabbitMQ version used
options:
- 4.0.4
- 4.0.3
validations:
required: true
- type: dropdown
id: erlang_version
attributes:
label: Erlang version used
options:
- 26.2.x
- 26.1.x
- 26.0.x
validations:
required: true
- type: input
id: os
attributes:
label: Operating system (distribution) used
description: What OS or distribution do you run RabbitMQ on?
validations:
required: true
- type: dropdown
id: deployment_type
attributes:
label: How is RabbitMQ deployed?
options:
- Community Docker image
- Debian package
- RPM package
- Generic binary package
- Kubernetes Operator(s) from Team RabbitMQ
- Bitnami Helm chart
- Chocolatey package
- Windows installer
- Windows binary package
- RabbitMQ-as-a-Service from a public cloud provider
- Other
validations:
required: true
- type: textarea
id: diagnostics_status
attributes:
label: rabbitmq-diagnostics status output
value: |
See https://www.rabbitmq.com/docs/cli to learn how to use rabbitmq-diagnostics
<details>
```
# PASTE OUTPUT HERE, BETWEEN BACKTICKS
```
</details>
validations:
required: true
- type: textarea
id: rabbitmq_logs
attributes:
label: Logs from node 1 (with sensitive values edited out)
description: Relevant RabbitMQ logs with sensitive values edited out
value: |
See https://www.rabbitmq.com/docs/logging to learn how to collect logs
<details>
```
# PASTE LOG HERE, BETWEEN BACKTICKS
```
</details>
validations:
required: true
- type: textarea
id: logs_node_2
attributes:
label: Logs from node 2 (if applicable, with sensitive values edited out)
description: Relevant RabbitMQ logs with sensitive values edited out
value: |
See https://www.rabbitmq.com/docs/logging to learn how to collect logs
<details>
```
# PASTE LOG HERE, BETWEEN BACKTICKS
```
</details>
validations:
required: false
- type: textarea
id: logs_node_3
attributes:
label: Logs from node 3 (if applicable, with sensitive values edited out)
description: Relevant RabbitMQ logs with sensitive values edited out
value: |
See https://www.rabbitmq.com/docs/logging to learn how to collect logs
<details>
```
# PASTE LOG HERE, BETWEEN BACKTICKS
```
</details>
validations:
required: false
- type: textarea
id: rabbitmq_conf
attributes:
label: rabbitmq.conf
description: rabbitmq.conf contents
value: |
See https://www.rabbitmq.com/docs/configure#config-location to learn how to find rabbitmq.conf file location
<details>
```
# PASTE rabbitmq.conf HERE, BETWEEN BACKTICKS
```
</details>
validations:
required: true
- type: textarea
id: deployment_steps
attributes:
label: Steps to deploy RabbitMQ cluster
description: How would you explain how you deploy RabbitMQ to a new colleague?
validations:
required: true
- type: textarea
id: reproduction_steps
attributes:
label: Steps to reproduce the behavior in question
description: What specific steps need to be performed in order to reproduce this behavior? Why?
validations:
required: true
- type: textarea
id: advanced_config
attributes:
label: advanced.config
description: advanced.config contents (if applicable)
value: |
See https://www.rabbitmq.com/docs/configure#config-location to learn how to find advanced.config file location
<details>
```
# PASTE advanced.config HERE, BETWEEN BACKTICKS
```
</details>
validations:
required: false
- type: textarea
id: app_code
attributes:
label: Application code
description: Relevant messaging-related parts of application code
value: |
<details>
```python
# PASTE CODE HERE, BETWEEN BACKTICKS
```
</details>
validations:
required: false
- type: textarea
id: k8s_deployment
attributes:
label: Kubernetes deployment file
description: Kubernetes deployment YAML that demonstrates how RabbitMQ is deployed (if applicable)
value: |
<details>
```yaml
# Relevant parts of K8S deployment that demonstrate how RabbitMQ is deployed
# PASTE YAML HERE, BETWEEN BACKTICKS
```
</details>
validations:
required: false
- type: textarea
id: question
attributes:
label: What problem are you trying to solve?
description: and why?
validations:
required: true
4 changes: 4 additions & 0 deletions .github/workflows/check-build-system-equivalence.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ on:
elixir_version:
description: 'Elixir version to build with'
required: true
<<<<<<< HEAD
default: "1.17"
=======
default: "1.15"
>>>>>>> 5086e283b (Allow building CLI with elixir 1.18.x)
project_version:
description: 'PROJECT_VERSION used for make'
required: true
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/gazelle-scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@ jobs:
matrix:
target_branch:
- main
<<<<<<< HEAD
- v3.12.x
- v3.11.x
- v3.10.x
=======
- v4.0.x
- v3.13.x
- v3.12.x
>>>>>>> 5086e283b (Allow building CLI with elixir 1.18.x)
timeout-minutes: 10
steps:
- name: CHECKOUT REPOSITORY
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/oci-arm64-make.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ jobs:
- name: make package-generic-unix
if: steps.authorized.outputs.authorized == 'true'
run: |
<<<<<<< HEAD
make package-generic-unix PROJECT_VERSION=4.0.0
=======
make package-generic-unix PROJECT_VERSION=4.1.0-alpha.1
>>>>>>> 5086e283b (Allow building CLI with elixir 1.18.x)
- name: Upload package-generic-unix
if: steps.authorized.outputs.authorized == 'true'
uses: actions/upload-artifact@v4.3.1
Expand Down
Loading

0 comments on commit 8f8ee61

Please sign in to comment.