Skip to content

Commit 8f884da

Browse files
committed
updated actions
upgrade deps exclusion of pentaho exclusion of ldap added patch 2.3 support add artifacts upload fix upload artifact fix upload artifact updated to release update release name add shasum file in release adding session info in metastore client logging the region op add system log removed unused logs updated release tag publish release true revert: adding session info in metastore client removed unused comments
1 parent 2710702 commit 8f884da

3 files changed

Lines changed: 31 additions & 15 deletions

File tree

.github/workflows/build.yml

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
name: Build Hive
2-
32
on:
43
push:
5-
branches: [ branch-3.1.patch ]
4+
branches: [ branch-3.1.patch, branch-2.3.patch ]
65
pull_request:
7-
branches: [ branch-3.1.patch ]
6+
branches: [ branch-3.1.patch, branch-2.3.patch ]
87
workflow_dispatch:
9-
108
jobs:
119
build:
1210
runs-on: ubuntu-latest
@@ -31,15 +29,21 @@ jobs:
3129
restore-keys: ${{ runner.os }}-m2
3230

3331
- name: Build with Maven
34-
run: mvn -B clean install -DskipTests
35-
36-
- name: Archive build artifacts
37-
uses: actions/upload-artifact@v3
32+
run: mvn clean package -Pdist -DskipTests
33+
34+
- name: Generate SHA256 checksum
35+
run: |
36+
cd packaging/target
37+
sha256sum apache-hive-3.1.3-bin.tar.gz > apache-hive-3.1.3-bin.tar.gz.sha256
38+
39+
- name: Upload to Release
40+
if: github.event_name == 'push'
41+
uses: softprops/action-gh-release@v1
3842
with:
39-
name: hive-artifacts
40-
path: |
41-
**/target/*.jar
42-
!**/target/*-sources.jar
43-
!**/target/*-javadoc.jar
44-
!**/target/test-classes/**
45-
!**/target/classes/**
43+
tag_name: 3.1.3
44+
files: |
45+
packaging/target/apache-hive-3.1.3-bin.tar.gz
46+
packaging/target/apache-hive-3.1.3-bin.tar.gz.sha256
47+
draft: false
48+
env:
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

service/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,12 @@
303303
<artifactId>apacheds-server-integ</artifactId>
304304
<version>${apache-directory-server.version}</version>
305305
<scope>test</scope>
306+
<exclusions>
307+
<exclusion>
308+
<groupId>org.apache.directory.client.ldap</groupId>
309+
<artifactId>ldap-client-api</artifactId>
310+
</exclusion>
311+
</exclusions>
306312
</dependency>
307313

308314
<dependency>

upgrade-acid/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@
8080
<artifactId>hive-exec</artifactId>
8181
<version>2.3.3</version>
8282
<scope>provided</scope>
83+
<exclusions>
84+
<exclusion>
85+
<groupId>org.pentaho</groupId>
86+
<artifactId>pentaho-aggdesigner-algorithm</artifactId>
87+
</exclusion>
88+
</exclusions>
8389
</dependency>
8490
<dependency>
8591
<groupId>org.apache.hadoop</groupId>

0 commit comments

Comments
 (0)