From 5ae64407a08e55b5d1c4f5a7e1ee6aff6d376d8d Mon Sep 17 00:00:00 2001 From: Christoph Pirkl <4711730+kaklakariada@users.noreply.github.com> Date: Thu, 11 Apr 2024 09:15:54 +0200 Subject: [PATCH] Generate dummy error code report (#153) * Generate dummy error code report * Run PK fix * Rename luacov report artifact * Update release date --- .github/workflows/ci-build.yml | 7 ++++++- .github/workflows/release.yml | 5 +++++ .project-keeper.yml | 16 +++++++++++++++- doc/changes/changes_1.5.4.md | 2 +- 4 files changed, 27 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 995e671..2f2130c 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -95,11 +95,16 @@ jobs: env: { EXASOL_DB_VERSION: '${{ matrix.exasol_db_version }}' } + - { + name: Generate dummy error code report, + id: generate-dummy-error-code-report, + run: 'echo ''{"$schema":"https://schemas.exasol.com/error_code_report-1.0.0.json","errorCodes":[]}'' > target/error_code_report.json' + } - name: Archive code coverage results id: archive-luacov-report uses: actions/upload-artifact@v4 with: { - name: luacov.report.out, + name: 'luacov.report.out-exasol-${{ matrix.exasol_db_version }}', path: target/luacov-reports/luacov.report.out, if-no-files-found: error } diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9144ce0..0f2f75e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -126,6 +126,11 @@ jobs: id: build, run: mvn --batch-mode -DskipTests clean verify } + - { + name: Generate dummy error code report, + id: generate-dummy-error-code-report, + run: 'echo ''{"$schema":"https://schemas.exasol.com/error_code_report-1.0.0.json","errorCodes":[]}'' > target/error_code_report.json' + } - { name: List secret GPG keys, id: list-secret-gpg-keys, diff --git a/.project-keeper.yml b/.project-keeper.yml index 19ee431..e3a5beb 100644 --- a/.project-keeper.yml +++ b/.project-keeper.yml @@ -52,7 +52,7 @@ build: id: archive-luacov-report uses: actions/upload-artifact@v4 with: - name: luacov.report.out + name: luacov.report.out-exasol-${{ matrix.exasol_db_version }} path: target/luacov-reports/luacov.report.out if-no-files-found: error - action: REPLACE @@ -61,6 +61,13 @@ build: name: Skip SonarCloud analysis id: sonar-analysis run: echo "SonarCloud analysis is skipped because the project is written in Lua." + # Generate dummy error code reports. Error code crawler does not support Lua projects yet. + - action: INSERT_AFTER + stepId: build-pk-verify + content: + name: Generate dummy error code report + id: generate-dummy-error-code-report + run: echo '{"$schema":"https://schemas.exasol.com/error_code_report-1.0.0.json","errorCodes":[]}' > target/error_code_report.json - name: release.yml stepCustomizations: @@ -86,6 +93,13 @@ build: name: Install Lua dependencies id: install-lua-dependencies run: luarocks --local install *.rockspec --deps-only + # Generate dummy error code reports. Error code crawler does not support Lua projects yet. + - action: INSERT_AFTER + stepId: build + content: + name: Generate dummy error code report + id: generate-dummy-error-code-report + run: echo '{"$schema":"https://schemas.exasol.com/error_code_report-1.0.0.json","errorCodes":[]}' > target/error_code_report.json excludes: # Project is written in Lua, no need to test with Java 17 diff --git a/doc/changes/changes_1.5.4.md b/doc/changes/changes_1.5.4.md index 5ffdb4f..cb14026 100644 --- a/doc/changes/changes_1.5.4.md +++ b/doc/changes/changes_1.5.4.md @@ -1,4 +1,4 @@ -# Row Level Security lua 1.5.4, released 2024-04-10 +# Row Level Security lua 1.5.4, released 2024-04-11 Code name: Fix CVE-2024-29025 in io.netty:netty-codec-http:jar:4.1.107.Final:test