Skip to content

bump correct derby version #11

bump correct derby version

bump correct derby version #11

Workflow file for this run

name: Build Hive
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
on:
# schedule:
# - cron: '*/15 * * * *'
workflow_dispatch:
push:
branches: [ "**" ]
# # Publish semver tags as releases.
# tags: [ 'v*.*.*' ]
# pull_request:
# branches: [ "main" ]
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write
steps:
- name: Checkout Hive
uses: actions/checkout@v4
with:
repository: UrbanOS-Public/urbanos-hive
path: hive-3.1 # Store in $GITHUB_WORKSPACE/other-repo
ref: branch-3.1
- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: 8
distribution: temurin
- name: Install Dependencies
run: |
# Maven
sudo apt-get -y install maven
# Native libraries
sudo apt-get -y install build-essential autoconf automake libtool cmake zlib1g-dev pkg-config libssl-dev libsasl2-dev
# Protocol Buffers 3.7.1 (required to build native code)
curl -L -s -S https://github.com/protocolbuffers/protobuf/releases/download/v3.7.1/protobuf-java-3.7.1.tar.gz -o protobuf-3.7.1.tar.gz
mkdir protobuf-3.7-src
tar xzf protobuf-3.7.1.tar.gz --strip-components 1 -C protobuf-3.7-src && cd protobuf-3.7-src
./configure
make -j$(nproc)
sudo make install
cd ..
- name: Build Hive
run: |
cd hive-3.1/standalone-metastore
mvn package -Pdist -DskipTests -Dtar -Dmaven.javadoc.skip=true
echo "$(ls hive-3.1/standalone-metastore/target/apache-hive-metastore-3.1.3-bin)"
- name: 'Tar files'
run: |
echo "$(pwd)"
tar -cvf hive-3.1.tar -C hive-3.1/standalone-metastore/target/apache-hive-metastore-3.1.3-bin .
- name: Upload Hive Build Artifact
uses: actions/[email protected]
with:
name: hive-3.1
path: hive-3.1.tar
- name: Echo
run: |
echo "$(pwd)"