-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
79 changed files
with
530 additions
and
3,541 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Description & motivation | ||
Please provide some context for your reviewers | ||
- *What does this PR do?* | ||
- *Why does this PR do it?* | ||
|
||
# Verification | ||
Please describe how you verified that the change works as intended | ||
- *Did you add a unit test?* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: CI pipeline | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- '**' | ||
push: | ||
branches: | ||
- '*' | ||
tags-ignore: | ||
- 'v[0-9]+.[0-9]+.[0-9]+' | ||
|
||
jobs: | ||
ci-pipeline: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
spark: | ||
# - 2.4.8 | ||
# - 3.0.2 | ||
# - 3.1.3 | ||
- 3.2.4 | ||
# - 3.3.2 | ||
# - 3.4.1 | ||
# - 3.5.0 | ||
env: | ||
ENV: 'ci' | ||
SPARK_VERSION: ${{ matrix.spark }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Build and test | ||
run: | | ||
sbt -java-home "$JAVA_HOME_17_X64" clean +test +publishM2 pyTest -DsparkVersion="$SPARK_VERSION" | ||
- name: Publish Unit test results | ||
uses: mikepenz/action-junit-report@v4 | ||
with: | ||
report_paths: '**/target/test-reports/TEST-*.xml' | ||
check_name: Unit test results | ||
if: always() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Publish pipeline | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
push: | ||
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+' | ||
|
||
jobs: | ||
publish-artifacts: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
spark: | ||
# - 2.4.8 | ||
# - 3.0.2 | ||
# - 3.1.3 | ||
- 3.2.4 | ||
# - 3.3.2 | ||
# - 3.4.1 | ||
# - 3.5.0 | ||
|
||
env: | ||
ENV: 'ci' | ||
SPARK_VERSION: ${{ matrix.spark }} | ||
NEXUS_USER: ${{ secrets.NEXUS_USER }} | ||
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Import GPG Key | ||
uses: crazy-max/ghaction-import-gpg@v1 | ||
env: | ||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | ||
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | ||
- name: Publish artifacts | ||
run: | | ||
sbt -java-home "$JAVA_HOME_17_X64" clean +publishSigned -DsparkVersion="$SPARK_VERSION" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Release pipeline | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: Semantic version. For example 1.0.0 | ||
required: true | ||
|
||
jobs: | ||
ci-pipeline: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout main branch | ||
uses: actions/checkout@v3 | ||
- name: Release | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Action" | ||
git tag -a v${{ github.event.inputs.version }} -m "next release" | ||
git push --tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
# Intellij idea | ||
.idea/ | ||
.bsp/ | ||
*.iml | ||
|
||
# vscode with metals | ||
.bloop/ | ||
.vscode/ | ||
.metals/ | ||
metals.sbt | ||
|
||
# output folders | ||
target/ | ||
dist/ | ||
|
||
# MacOS | ||
.DS_Store | ||
|
||
# Virtual env | ||
.venv | ||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
.pytest_cache/ |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-J--enable-preview -J--add-modules=jdk.incubator.vector -Dsbt.argsfile=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Enable auto-env through the sdkman_auto_env config | ||
# Add key=value pairs of SDKs to use below | ||
java=17.0.9-amzn | ||
scala=2.12.18 | ||
sbt=1.9.8 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.