File tree Expand file tree Collapse file tree 2 files changed +9
-16
lines changed
Expand file tree Collapse file tree 2 files changed +9
-16
lines changed Original file line number Diff line number Diff line change 1818 duckdb_version :
1919 required : true
2020 type : string
21+ # Extension CI tools version to use
22+ ci_tools_version :
23+ required : true
24+ type : string
2125 # ';' separated list of architectures to exclude, for example: 'linux_amd64;osx_arm64'
2226 exclude_archs :
2327 required : false
4347 required : false
4448 type : string
4549 default : " ./duckdb/scripts/extension-upload-single.sh"
46- # Override the default matrix parse script with a custom script
47- matrix_parse_script :
48- required : false
49- type : string
50- default : " ./duckdb/scripts/modify_distribution_matrix.py"
5150 repository :
5251 required : false
5352 type : string
@@ -65,21 +64,14 @@ jobs:
6564 steps :
6665 - uses : actions/checkout@v3
6766 with :
68- repository : ${{ inputs.repository }}
69- ref : ${{ inputs.ref }}
70- fetch-depth : 0
71- submodules : ' true'
72-
73- - uses : actions/checkout@v3
74- with :
75- repository : ' duckdb/duckdb'
76- ref : ${{ inputs.duckdb_version }}
77- path : duckdb
67+ repository : ' duckdb/extension-ci-tools'
68+ ref : ${{ inputs.ci_tools_version }}
69+ path : extension-ci-tools
7870 fetch-depth : 0
7971
8072 - id : parse-matrices
8173 run : |
82- python3 ${{ inputs.matrix_parse_script }} --input ./extension-ci-tools/config/distribution_matrix.json --deploy_matrix --output deploy_matrix.json --exclude "${{ inputs.exclude_archs }}" --pretty
74+ python3 ./extension-ci-tools/scripts/modify_distribution_matrix.py --input ./extension-ci-tools/config/distribution_matrix.json --deploy_matrix --output deploy_matrix.json --exclude "${{ inputs.exclude_archs }}" --pretty
8375 deploy_matrix="`cat deploy_matrix.json`"
8476 echo deploy_matrix=$deploy_matrix >> $GITHUB_OUTPUT
8577 echo `cat $GITHUB_OUTPUT`
Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ jobs:
139139 with :
140140 deploy_latest : true
141141 duckdb_version : ${{ inputs.duckdb_version || 'v1.3.2' }}
142+ ci_tools_version : ' main'
142143 exclude_archs : ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_EXCLUDE_PLATFORMS }}
143144 extension_name : ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_NAME }}
144145 repository : ${{ needs.prepare.outputs.COMMUNITY_EXTENSION_GITHUB }}
You can’t perform that action at this time.
0 commit comments