Skip to content

Commit

Permalink
#127: Remove decommissioned maven.exasol.com repository (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada authored Mar 30, 2023
1 parent 7477dce commit f6cc849
Show file tree
Hide file tree
Showing 21 changed files with 278 additions and 281 deletions.
45 changes: 0 additions & 45 deletions .classpath

This file was deleted.

8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.sh text eol=lf
*.bat text eol=crlf

pk_generated_parent.pom linguist-generated=true
dependencies.md linguist-generated=true
doc/changes/changelog.md linguist-generated=true
.github/workflows/broken_links_checker.yml linguist-generated=true
.github/workflows/dependencies_check.yml linguist-generated=true
7 changes: 5 additions & 2 deletions .github/workflows/broken_links_checker.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 31 additions & 15 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,56 @@
name: CI Build

on: [push]
on:
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: "Checkout the repository"
- name: Checkout the repository
uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-depth: 0
- name: "Install Lua"
uses: leafo/gh-actions-lua@v8
uses: leafo/gh-actions-lua@v10
with:
luaVersion: 5.4
- name: "Install LuaRocks"
uses: leafo/gh-actions-luarocks@v4
with:
luarocksVersion: "3.8.0"
luarocksVersion: "3.9.2"
- name: "Install dependencies"
run: |
luarocks --local install *.rockspec --deps-only
- name: "Set up JDK"
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: 'maven'
- name: "Prepare container reuse"
run: |
echo 'testcontainers.reuse.enable=true' > "/home/runner/.testcontainers.properties"
- name: "Build with Maven"
distribution: "temurin"
java-version: 11
cache: "maven"
- name: Enable testcontainer reuse
run: echo 'testcontainers.reuse.enable=true' > "$HOME/.testcontainers.properties"
- name: Run tests and build with Maven
run: |
eval $(luarocks path)
mvn verify -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
mvn --batch-mode clean verify \
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
-DtrimStackTrace=false
- name: Publish Test Report
uses: scacap/action-surefire-report@v1
if: ${{ always() && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Archive code coverage results
uses: actions/upload-artifact@v2
with:
name: luacov.report.out
path: target/luacov-reports/luacov.report.out
path: target/luacov-reports/luacov.report.out
29 changes: 14 additions & 15 deletions .github/workflows/release_droid_prepare_original_checksum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,38 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout the repository"
- name: Checkout the repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: "Install Lua"
uses: leafo/gh-actions-lua@v8
uses: leafo/gh-actions-lua@v10
with:
luaVersion: 5.4
- name: "Install LuaRocks"
uses: leafo/gh-actions-luarocks@v4
with:
luarocksVersion: "3.8.0"
luarocksVersion: "3.9.2"
- name: "Install dependencies"
run: |
luarocks --local install *.rockspec --deps-only
- name: "Set up JDK"
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: 'maven'
- name: "Prepare container reuse"
run: |
echo 'testcontainers.reuse.enable=true' > "/home/runner/.testcontainers.properties"
- name: "Build with Maven"
distribution: "temurin"
java-version: 11
cache: "maven"
- name: Enable testcontainer reuse
run: echo 'testcontainers.reuse.enable=true' > "$HOME/.testcontainers.properties"
- name: Run tests and build with Maven
run: |
eval $(luarocks path)
mvn verify -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- name: "Prepare checksum"
mvn --batch-mode clean verify
- name: Prepare checksum
run: find target -maxdepth 1 \( -name '*.lua' -o -name '*.sql' \) -exec sha256sum "{}" + > original_checksum
- name: "Upload checksum as artifact"
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: original_checksum
retention-days: 5
path: original_checksum
path: original_checksum
21 changes: 10 additions & 11 deletions .github/workflows/release_droid_print_quick_checksum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,28 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout the repository"
- name: Checkout the repository
uses: actions/checkout@v3
with:
fetch-depth: 0
with:
fetch-depth: 0
- name: "Install Lua"
uses: leafo/gh-actions-lua@v8
uses: leafo/gh-actions-lua@v10
with:
luaVersion: 5.4
- name: "Install LuaRocks"
uses: leafo/gh-actions-luarocks@v4
with:
luarocksVersion: "3.8.0"
luarocksVersion: "3.9.2"
- name: "Install dependencies"
run: |
luarocks --local install *.rockspec --deps-only
- name: "Set up JDK"
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: 'maven'
- name: "Build with Maven skipping tests"
distribution: "temurin"
java-version: 11
cache: "maven"
- name: Build with Maven skipping tests
run: mvn --batch-mode clean verify -DskipTests
- name: "Print checksum"
run: echo 'checksum_start==';find target -maxdepth 1 \( -name '*.lua' -o -name '*.sql' \) -exec sha256sum "{}" + | xargs;echo '==checksum_end'

37 changes: 22 additions & 15 deletions .github/workflows/release_droid_upload_github_release_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,50 +4,57 @@ on:
workflow_dispatch:
inputs:
upload_url:
description: 'Assets upload URL'
description: "Assets upload URL"
required: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout the repository"
- name: Checkout the repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: "Install Lua"
uses: leafo/gh-actions-lua@v8
uses: leafo/gh-actions-lua@v10
with:
luaVersion: 5.4
- name: "Install LuaRocks"
uses: leafo/gh-actions-luarocks@v4
with:
luarocksVersion: "3.8.0"
luarocksVersion: "3.9.2"
- name: "Install dependencies"
run: |
luarocks --local install *.rockspec --deps-only
- name: "Set up JDK"
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: 'maven'
- name: "Build with Maven skipping tests"
distribution: "temurin"
java-version: 11
cache: "maven"
- name: Build with Maven skipping tests
run: mvn --batch-mode clean verify -DskipTests
- name: Generate sha256sum files
run: find target -maxdepth 1 \( -name '*.lua' -o -name '*.sql' \) -exec bash -c 'sha256sum {} > {}.sha256' \;
- name: "Upload assets to the GitHub release draft"
run: |
cd target
find . -maxdepth 1 \( -name '*.lua' -o -name '*.sql' \) -exec bash -c 'sha256sum {} > {}.sha256' \;
- name: Upload SQL scripts to the GitHub release draft
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.inputs.upload_url }}
asset_path: target/*.sql
- name: Upload SQL scripts to the GitHub release draft
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.inputs.upload_url }}
asset_path: target/*.jar
- name: "Upload sha256sum files"
asset_path: target/*.lua
- name: Upload sha256sum files
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.inputs.upload_url }}
asset_path: target/*.sha256
- name: "Upload error-code-report"
- name: Upload error-code-report
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.inputs.upload_url }}
asset_path: target/error_code_report.json
asset_path: target/error_code_report.json
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ target
dependency-reduced-pom.xml
.project
.classpath
.settings/org.eclipse.jdt.apt.core.prefs
pom.xml.versionsBackup
~*
*.lock
*.bak
*.orig
*.old
*.flattened-pom.xml
*.flattened-pom.xml
30 changes: 0 additions & 30 deletions .project

This file was deleted.

17 changes: 17 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.generate.finalModifiers": true,
"source.fixAll": true
},
"java.codeGeneration.useBlocks": true,
"java.saveActions.organizeImports": true,
"java.sources.organizeImports.starThreshold": 3,
"java.sources.organizeImports.staticStarThreshold": 3,
"java.test.config": {
"vmArgs": [
"-Djava.util.logging.config.file=src/test/resources/logging.properties"
]
}
}
Loading

0 comments on commit f6cc849

Please sign in to comment.