File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ on: workflow_dispatch
4
4
5
5
jobs :
6
6
build :
7
- runs-on : ubuntu-22 .04
7
+ runs-on : ubuntu-24 .04
8
8
9
9
steps :
10
10
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change
1
+ name : Test against RabbitMQ 4.0 (PR)
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-24.04
11
+
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ - name : Checkout tls-gen
15
+ uses : actions/checkout@v4
16
+ with :
17
+ repository : rabbitmq/tls-gen
18
+ path : ' ./tls-gen'
19
+ - name : Set up JDK
20
+ uses : actions/setup-java@v4
21
+ with :
22
+ distribution : ' zulu'
23
+ java-version : ' 21'
24
+ cache : ' maven'
25
+ - name : Start broker
26
+ run : ci/start-broker.sh
27
+ - name : Start toxiproxy
28
+ run : ci/start-toxiproxy.sh
29
+ - name : Display Java version
30
+ run : ./mvnw --version
31
+ - name : Test
32
+ run : |
33
+ ./mvnw verify -Drabbitmqctl.bin=DOCKER:rabbitmq --no-transfer-progress \
34
+ -Dca.certificate=./tls-gen/basic/result/ca_certificate.pem \
35
+ -Dclient.certificate=./tls-gen/basic/result/client_$(hostname)_certificate.pem \
36
+ -Dclient.key=./tls-gen/basic/result/client_$(hostname)_key.pem
37
+ - name : Stop toxiproxy
38
+ run : docker stop toxiproxy && docker rm toxiproxy
39
+ - name : Stop broker
40
+ run : docker stop rabbitmq && docker rm rabbitmq
You can’t perform that action at this time.
0 commit comments