File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build Patched Iceberg Hive Runtime
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ version :
7+ description : ' Version for the JAR (e.g. 1.6.2)'
8+ required : true
9+ default : ' 1.6.2'
10+ base_tag :
11+ description : ' Base Iceberg tag to build from (e.g. apache-iceberg-1.6.1)'
12+ required : true
13+ default : ' apache-iceberg-1.6.1'
14+
15+ jobs :
16+ build-and-release :
17+ runs-on : ubuntu-latest
18+ permissions :
19+ contents : write
20+
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v4
24+
25+ - name : Set up Java 8
26+ uses : actions/setup-java@v4
27+ with :
28+ distribution : ' corretto'
29+ java-version : ' 8'
30+
31+ - name : Set version
32+ run : echo "${{ github.event.inputs.version }}" > version.txt
33+
34+ - name : Build shadow JAR
35+ run : ./gradlew clean :iceberg-hive-runtime:shadowJar -x test -x integrationTest
36+
37+ - name : Create release
38+ uses : softprops/action-gh-release@v2
39+ with :
40+ tag_name : v${{ github.event.inputs.version }}
41+ name : Iceberg Hive Runtime ${{ github.event.inputs.version }}
42+ body : |
43+ Patched `iceberg-hive-runtime` built from `${{ github.event.inputs.base_tag }}` with:
44+ - HiveClientPool: configurable metastore client via `iceberg.hive.client.class` (for Glue catalog)
45+ - Built with Hive 3 profile + Java 8
46+ files : hive-runtime/build/libs/iceberg-hive-runtime-${{ github.event.inputs.version }}.jar
47+ make_latest : true
You can’t perform that action at this time.
0 commit comments