File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 3939 run : cargo fmt --all --check
4040
4141 build :
42- name : All tests except for TLS connectivity
42+ name : Non- TLS tests
4343 strategy :
4444 matrix :
4545 rabbitmq-series :
@@ -81,10 +81,11 @@ jobs:
8181 run : RUST_BACKTRACE=1 NEXTEST_RETRIES=2 cargo nextest run --workspace --no-fail-fast --all-features
8282
8383 tls-tests :
84- name : TLS connectivity tests only
84+ name : TLS tests
8585 strategy :
8686 matrix :
8787 rabbitmq-series :
88+ - " 4.0"
8889 - " 4.1"
8990 - " 4.2"
9091 rust-version :
@@ -126,11 +127,14 @@ jobs:
126127
127128 - name : Create RabbitMQ TLS configuration
128129 run : |
129- echo 'management.ssl.port = 15671' > tests/tls/certs/rabbitmq.conf
130- echo 'management.ssl.cacertfile = /etc/rabbitmq/certs/ca_certificate.pem' >> tests/tls/certs/rabbitmq.conf
131- echo 'management.ssl.certfile = /etc/rabbitmq/certs/server_certificate.pem' >> tests/tls/certs/rabbitmq.conf
132- echo 'management.ssl.keyfile = /etc/rabbitmq/certs/server_key.pem' >> tests/tls/certs/rabbitmq.conf
133- echo 'management.tcp.port = 15672' >> tests/tls/certs/rabbitmq.conf
130+ cat > tests/tls/certs/rabbitmq.conf << 'EOF'
131+ management.ssl.port = 15671
132+ management.ssl.cacertfile = /etc/rabbitmq/certs/ca_certificate.pem
133+ management.ssl.certfile = /etc/rabbitmq/certs/server_certificate.pem
134+ management.ssl.keyfile = /etc/rabbitmq/certs/server_key.pem
135+ management.tcp.port = 15672
136+ EOF
137+ sed -i 's/^ //' tests/tls/certs/rabbitmq.conf
134138 echo "Generated config:"
135139 cat tests/tls/certs/rabbitmq.conf
136140
You can’t perform that action at this time.
0 commit comments