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 2525 plugin :
2626 required : true
2727 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'
2836jobs :
2937 test :
3038 name : ${{ inputs.plugin }} (${{ inputs.make_target }})
3341 steps :
3442 - name : CHECKOUT REPOSITORY
3543 uses : actions/checkout@v5
44+ with :
45+ ref : ${{ inputs.ref }}
3646
3747 - name : FETCH TAGS
3848 run : git fetch --tags
Original file line number Diff line number Diff line change 1717 previous_version :
1818 required : false
1919 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'
2028jobs :
2129 test-rabbit :
2230 name : Test rabbit
4755 previous_version : ${{ inputs.previous_version }}
4856 make_target : ${{ matrix.make_target }}
4957 plugin : rabbit
58+ ref : ${{ inputs.ref }}
5059
5160 test-rabbitmq-mqtt :
5261 name : Test rabbitmq_mqtt
5968 previous_version : ${{ inputs.previous_version }}
6069 make_target : parallel-ct-set-1
6170 plugin : rabbitmq_mqtt
71+ ref : ${{ inputs.ref }}
6272
6373 # The integration_SUITE requires secrets and
6474 # is therefore run from a separate workflow.
7383 previous_version : ${{ inputs.previous_version }}
7484 make_target : ct-config_schema ct-unit
7585 plugin : rabbitmq_peer_discovery_aws
86+ ref : ${{ inputs.ref }}
7687
7788 test-plugin :
7889 name : Test plugins
@@ -132,3 +143,4 @@ jobs:
132143 previous_version : ${{ inputs.previous_version }}
133144 make_target : tests
134145 plugin : ${{ matrix.plugin }}
146+ ref : ${{ inputs.ref }}
Original file line number Diff line number Diff line change 2828 previous_version : ' tags/v3.13.7'
2929 metadata_store : ${{ matrix.metadata_store }}
3030 mixed_clusters : true
31+ ref : ' v4.2.x'
You can’t perform that action at this time.
0 commit comments