Revert "Temporarily disable LDAP tests in Actions"

This reverts commit 980da856c3.
This commit is contained in:
Michael Klishin 2024-10-16 13:36:22 -04:00
parent 467f178ecc
commit 68ce2e83cd
No known key found for this signature in database
GPG Key ID: FF4F6501646A9C9A
5 changed files with 63 additions and 63 deletions

View File

@ -32,7 +32,7 @@ env:
erlang_version: ${{ inputs.erlang_version || github.event.inputs.erlang_version }}
elixir_version: ${{ inputs.elixir_version || github.event.inputs.elixir_version }}
VERSION: ${{ inputs.project_version || github.event.inputs.project_version }}
PLUGINS: amqp10_common amqp10_client rabbitmq_amqp1_0 rabbitmq_auth_backend_cache rabbitmq_auth_backend_http rabbitmq_auth_backend_oauth2 rabbitmq_auth_mechanism_ssl rabbitmq_consistent_hash_exchange rabbitmq_event_exchange rabbitmq_federation rabbitmq_jms_topic_exchange rabbitmq_mqtt rabbitmq_random_exchange rabbitmq_recent_history_exchange rabbitmq_sharding rabbitmq_shovel rabbitmq_stomp rabbitmq_stream rabbitmq_trust_store rabbitmq_web_dispatch rabbitmq_management_agent rabbitmq_management rabbitmq_prometheus rabbitmq_federation_management rabbitmq_shovel_management rabbitmq_stream_management rabbitmq_top rabbitmq_tracing rabbitmq_web_mqtt rabbitmq_web_mqtt_examples rabbitmq_web_stomp rabbitmq_web_stomp_examples rabbitmq_aws rabbitmq_peer_discovery_common rabbitmq_peer_discovery_aws rabbitmq_peer_discovery_k8s rabbitmq_peer_discovery_consul rabbitmq_peer_discovery_etcd
PLUGINS: amqp10_common amqp10_client rabbitmq_amqp1_0 rabbitmq_auth_backend_cache rabbitmq_auth_backend_http rabbitmq_auth_backend_ldap rabbitmq_auth_backend_oauth2 rabbitmq_auth_mechanism_ssl rabbitmq_consistent_hash_exchange rabbitmq_event_exchange rabbitmq_federation rabbitmq_jms_topic_exchange rabbitmq_mqtt rabbitmq_random_exchange rabbitmq_recent_history_exchange rabbitmq_sharding rabbitmq_shovel rabbitmq_stomp rabbitmq_stream rabbitmq_trust_store rabbitmq_web_dispatch rabbitmq_management_agent rabbitmq_management rabbitmq_prometheus rabbitmq_federation_management rabbitmq_shovel_management rabbitmq_stream_management rabbitmq_top rabbitmq_tracing rabbitmq_web_mqtt rabbitmq_web_mqtt_examples rabbitmq_web_stomp rabbitmq_web_stomp_examples rabbitmq_aws rabbitmq_peer_discovery_common rabbitmq_peer_discovery_aws rabbitmq_peer_discovery_k8s rabbitmq_peer_discovery_consul rabbitmq_peer_discovery_etcd
EXTRA_PLUGINS: accept amqp_client aten base64url cowboy cowlib credentials_obfuscation cuttlefish eetcd enough gen_batch_server getopt gun jose observer_cli osiris prometheus quantile_estimator ra ranch recon redbug seshat stdout_formatter syslog sysmon_handler systemd thoas
jobs:
build-with-bazel:

View File

@ -470,24 +470,24 @@ jobs:
repo_cache_key: ${{ needs.check-workflow.outputs.repo_cache_key }}
plugin: rabbitmq_auth_backend_http
secrets: inherit
# test-rabbitmq_auth_backend_ldap-mixed:
# needs:
# - check-workflow
# - test-rabbit-0-mixed
# - test-rabbit-1-mixed
# - test-rabbit-2-mixed
# - test-rabbit-3-mixed
# - test-rabbit-4-mixed
# - test-rabbit-5-mixed
# - test-rabbit-6-mixed
# - test-rabbit-7-mixed
# - test-rabbit-8-mixed
# - test-rabbit-9-mixed
# uses: ./.github/workflows/test-plugin-mixed.yaml
# with:
# repo_cache_key: ${{ needs.check-workflow.outputs.repo_cache_key }}
# plugin: rabbitmq_auth_backend_ldap
# secrets: inherit
test-rabbitmq_auth_backend_ldap-mixed:
needs:
- check-workflow
- test-rabbit-0-mixed
- test-rabbit-1-mixed
- test-rabbit-2-mixed
- test-rabbit-3-mixed
- test-rabbit-4-mixed
- test-rabbit-5-mixed
- test-rabbit-6-mixed
- test-rabbit-7-mixed
- test-rabbit-8-mixed
- test-rabbit-9-mixed
uses: ./.github/workflows/test-plugin-mixed.yaml
with:
repo_cache_key: ${{ needs.check-workflow.outputs.repo_cache_key }}
plugin: rabbitmq_auth_backend_ldap
secrets: inherit
test-rabbitmq_auth_backend_oauth2-mixed:
needs:
- check-workflow
@ -1151,7 +1151,7 @@ jobs:
- test-rabbitmq_amqp1_0-mixed
- test-rabbitmq_auth_backend_cache-mixed
- test-rabbitmq_auth_backend_http-mixed
# - test-rabbitmq_auth_backend_ldap-mixed
- test-rabbitmq_auth_backend_ldap-mixed
- test-rabbitmq_auth_backend_oauth2-mixed
- test-rabbitmq_auth_mechanism_ssl-mixed
- test-rabbitmq_aws-mixed

View File

@ -93,20 +93,20 @@ jobs:
cat << EOF >> user.bazelrc
build --strategy=TestRunner=local
EOF
# - name: deps/rabbitmq_auth_backend_ldap SETUP
# if: inputs.plugin == 'rabbitmq_auth_backend_ldap'
# run: |
# sudo apt-get update && \
# sudo apt-get install -y \
# ldap-utils \
# slapd
- name: deps/rabbitmq_auth_backend_ldap SETUP
if: inputs.plugin == 'rabbitmq_auth_backend_ldap'
run: |
sudo apt-get update && \
sudo apt-get install -y \
ldap-utils \
slapd
# sudo systemctl is-active --quiet apparmor.service && sudo systemctl stop apparmor.service
# sudo systemctl disable apparmor.service
sudo systemctl is-active --quiet apparmor.service && sudo systemctl stop apparmor.service
sudo systemctl disable apparmor.service
# cat << EOF >> user.bazelrc
# build --strategy=TestRunner=local
# EOF
cat << EOF >> user.bazelrc
build --strategy=TestRunner=local
EOF
- name: deps/rabbitmq_mqtt SETUP
if: inputs.plugin == 'rabbitmq_mqtt'
run: |

View File

@ -90,20 +90,20 @@ jobs:
cat << EOF >> user.bazelrc
build --strategy=TestRunner=local
EOF
# - name: deps/rabbitmq_auth_backend_ldap SETUP
# if: inputs.plugin == 'rabbitmq_auth_backend_ldap'
# run: |
# sudo apt-get update && \
# sudo apt-get install -y \
# ldap-utils \
# slapd
- name: deps/rabbitmq_auth_backend_ldap SETUP
if: inputs.plugin == 'rabbitmq_auth_backend_ldap'
run: |
sudo apt-get update && \
sudo apt-get install -y \
ldap-utils \
slapd
# sudo systemctl is-active --quiet apparmor.service && sudo systemctl stop apparmor.service
# sudo systemctl disable apparmor.service
sudo systemctl is-active --quiet apparmor.service && sudo systemctl stop apparmor.service
sudo systemctl disable apparmor.service
# cat << EOF >> user.bazelrc
# build --strategy=TestRunner=local
# EOF
cat << EOF >> user.bazelrc
build --strategy=TestRunner=local
EOF
- name: deps/rabbitmq_mqtt SETUP
if: inputs.plugin == 'rabbitmq_mqtt'
run: |

View File

@ -411,24 +411,24 @@ jobs:
repo_cache_key: ${{ needs.check-workflow.outputs.repo_cache_key }}
plugin: rabbitmq_auth_backend_http
secrets: inherit
# test-rabbitmq_auth_backend_ldap:
# needs:
# - check-workflow
# - test-rabbit-0
# - test-rabbit-1
# - test-rabbit-2
# - test-rabbit-3
# - test-rabbit-4
# - test-rabbit-5
# - test-rabbit-6
# - test-rabbit-7
# - test-rabbit-8
# - test-rabbit-9
# uses: ./.github/workflows/test-plugin.yaml
# with:
# repo_cache_key: ${{ needs.check-workflow.outputs.repo_cache_key }}
# plugin: rabbitmq_auth_backend_ldap
# secrets: inherit
test-rabbitmq_auth_backend_ldap:
needs:
- check-workflow
- test-rabbit-0
- test-rabbit-1
- test-rabbit-2
- test-rabbit-3
- test-rabbit-4
- test-rabbit-5
- test-rabbit-6
- test-rabbit-7
- test-rabbit-8
- test-rabbit-9
uses: ./.github/workflows/test-plugin.yaml
with:
repo_cache_key: ${{ needs.check-workflow.outputs.repo_cache_key }}
plugin: rabbitmq_auth_backend_ldap
secrets: inherit
test-rabbitmq_auth_backend_oauth2:
needs:
- check-workflow
@ -1092,7 +1092,7 @@ jobs:
- test-rabbitmq_amqp1_0
- test-rabbitmq_auth_backend_cache
- test-rabbitmq_auth_backend_http
# - test-rabbitmq_auth_backend_ldap
- test-rabbitmq_auth_backend_ldap
- test-rabbitmq_auth_backend_oauth2
- test-rabbitmq_auth_mechanism_ssl
- test-rabbitmq_aws