Skip to content

Commit 5960d3d

Browse files
jakobbraunmorazow
andauthored
Feature/31 UDF Logs (#32)
* feature/31: Added module for capturing logs from UDFs Co-authored-by: Muhammet Orazov <m.orazow@gmail.com>
1 parent 3444ead commit 5960d3d

35 files changed

+847
-121
lines changed

.github/workflows/broken_links_checker.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,21 @@ on:
44
schedule:
55
- cron: "0 5 * * *"
66
push:
7+
branches:
8+
- main
9+
pull_request:
710

811
jobs:
912
linkChecker:
1013
runs-on: ubuntu-latest
1114
steps:
1215
- uses: actions/checkout@v2
16+
- name: Configure broken links checker
17+
run: |
18+
mkdir -p ./target
19+
echo '{ "aliveStatusCodes": [429, 200] }' > ./target/broken_links_checker.json
1320
- uses: gaurav-nelson/github-action-markdown-link-check@v1
1421
with:
1522
use-quiet-mode: 'yes'
16-
use-verbose-mode: 'yes'
23+
use-verbose-mode: 'yes'
24+
config-file: ./target/broken_links_checker.json
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI Build next Java
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
java-17-compatibility:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout the repository
14+
uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0
17+
- name: Set up JDK 17
18+
uses: actions/setup-java@v2
19+
with:
20+
distribution: 'temurin'
21+
java-version: 17
22+
- name: Cache local Maven repository
23+
uses: actions/cache@v2
24+
with:
25+
path: ~/.m2/repository
26+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
27+
restore-keys: |
28+
${{ runner.os }}-maven-
29+
- name: Run tests and build with Maven
30+
run: |
31+
mvn --batch-mode --update-snapshots clean package -DtrimStackTrace=false \
32+
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
33+
- name: Publish Test Report
34+
uses: scacap/action-surefire-report@v1
35+
if: ${{ always() && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' }}
36+
with:
37+
github_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/dependencies_check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v2
1313
- name: Set up JDK 11
14-
uses: actions/setup-java@v1
14+
uses: actions/setup-java@v2
1515
with:
16+
distribution: 'temurin'
1617
java-version: 11
1718
- name: Cache local Maven repository
1819
uses: actions/cache@v2

.github/workflows/release_droid_prepare_original_checksum.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ jobs:
1212
with:
1313
fetch-depth: 0
1414
- name: Set up JDK 11
15-
uses: actions/setup-java@v1
15+
uses: actions/setup-java@v2
1616
with:
17+
distribution: 'temurin'
1718
java-version: 11
1819
- name: Cache local Maven repository
1920
uses: actions/cache@v2
@@ -23,7 +24,7 @@ jobs:
2324
restore-keys: |
2425
${{ runner.os }}-maven-
2526
- name: Run tests and build with Maven
26-
run: mvn -B clean verify --file pom.xml
27+
run: mvn --batch-mode clean verify --file pom.xml
2728
- name: Prepare checksum
2829
run: find target -maxdepth 1 -name *.jar -exec sha256sum "{}" + > original_checksum
2930
- name: Upload checksum to the artifactory

.github/workflows/release_droid_print_quick_checksum.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ jobs:
1212
with:
1313
fetch-depth: 0
1414
- name: Set up JDK 11
15-
uses: actions/setup-java@v1
15+
uses: actions/setup-java@v2
1616
with:
17+
distribution: 'temurin'
1718
java-version: 11
1819
- name: Cache local Maven repository
1920
uses: actions/cache@v2
@@ -23,7 +24,7 @@ jobs:
2324
restore-keys: |
2425
${{ runner.os }}-maven-
2526
- name: Build with Maven skipping tests
26-
run: mvn -B clean verify -DskipTests
27+
run: mvn --batch-mode clean verify -DskipTests
2728
- name: Print checksum
2829
run: echo 'checksum_start==';find target -maxdepth 1 -name *.jar -exec sha256sum "{}" + | xargs;echo '==checksum_end'
2930

.github/workflows/release_droid_release_on_maven_central.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ jobs:
1212
with:
1313
fetch-depth: 0
1414
- name: Set up Maven Central Repository
15-
uses: actions/setup-java@v1
15+
uses: actions/setup-java@v2
1616
with:
17+
distribution: 'temurin'
1718
java-version: 11
1819
server-id: ossrh
1920
server-username: MAVEN_USERNAME

.github/workflows/release_droid_upload_github_release_assets.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ jobs:
1616
with:
1717
fetch-depth: 0
1818
- name: Set up JDK 11
19-
uses: actions/setup-java@v1
19+
uses: actions/setup-java@v2
2020
with:
21+
distribution: 'temurin'
2122
java-version: 11
2223
- name: Cache local Maven repository
2324
uses: actions/cache@v2
@@ -27,7 +28,7 @@ jobs:
2728
restore-keys: |
2829
${{ runner.os }}-maven-
2930
- name: Build with Maven skipping tests
30-
run: mvn clean verify -DskipTests
31+
run: mvn --batch-mode clean verify -DskipTests
3132
- name: Generate sha256sum files
3233
run: find target -maxdepth 1 -name *.jar -exec bash -c 'sha256sum {} > {}.sha256' \;
3334
- name: Upload assets to the GitHub release draft

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,10 @@ Scripts
2424
**/*.log
2525
.directory
2626
venv/
27+
28+
~*
29+
*.lock
30+
*.bak
31+
*.orig
32+
*.old
33+
*.md.html

0 commit comments

Comments
 (0)