File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 25
25
plugin :
26
26
required : true
27
27
type : string
28
+ # in almost all cases this should not be set and the ref that triggered
29
+ # the workflow will be used. however, mixed version tests for skip-version
30
+ # upgrades (eg. 3.13->4.2) need this because they run on scheduled
31
+ # and scheduled workflows get `main` as ref
32
+ ref :
33
+ required : false
34
+ type : string
35
+ description : ' Git ref (branch, tag, or SHA) to checkout'
28
36
jobs :
29
37
test :
30
38
name : ${{ inputs.plugin }} (${{ inputs.make_target }})
33
41
steps :
34
42
- name : CHECKOUT REPOSITORY
35
43
uses : actions/checkout@v5
44
+ with :
45
+ ref : ${{ inputs.ref }}
36
46
37
47
- name : FETCH TAGS
38
48
run : git fetch --tags
Original file line number Diff line number Diff line change 17
17
previous_version :
18
18
required : false
19
19
type : string
20
+ # in almost all cases this should not be set and the ref that triggered
21
+ # the workflow will be used. however, mixed version tests for skip-version
22
+ # upgrades (eg. 3.13->4.2) need this because they run on scheduled
23
+ # and scheduled workflows get `main` as ref
24
+ ref :
25
+ required : false
26
+ type : string
27
+ description : ' Git ref (branch, tag, or SHA) to checkout'
20
28
jobs :
21
29
test-rabbit :
22
30
name : Test rabbit
47
55
previous_version : ${{ inputs.previous_version }}
48
56
make_target : ${{ matrix.make_target }}
49
57
plugin : rabbit
58
+ ref : ${{ inputs.ref }}
50
59
51
60
test-rabbitmq-mqtt :
52
61
name : Test rabbitmq_mqtt
59
68
previous_version : ${{ inputs.previous_version }}
60
69
make_target : parallel-ct-set-1
61
70
plugin : rabbitmq_mqtt
71
+ ref : ${{ inputs.ref }}
62
72
63
73
# The integration_SUITE requires secrets and
64
74
# is therefore run from a separate workflow.
73
83
previous_version : ${{ inputs.previous_version }}
74
84
make_target : ct-config_schema ct-unit
75
85
plugin : rabbitmq_peer_discovery_aws
86
+ ref : ${{ inputs.ref }}
76
87
77
88
test-plugin :
78
89
name : Test plugins
@@ -132,3 +143,4 @@ jobs:
132
143
previous_version : ${{ inputs.previous_version }}
133
144
make_target : tests
134
145
plugin : ${{ matrix.plugin }}
146
+ ref : ${{ inputs.ref }}
Original file line number Diff line number Diff line change 28
28
previous_version : ' tags/v3.13.7'
29
29
metadata_store : ${{ matrix.metadata_store }}
30
30
mixed_clusters : true
31
+ ref : ' v4.2.x'
You can’t perform that action at this time.
0 commit comments