Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix release build #336

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/ci-build.yml

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

10 changes: 9 additions & 1 deletion .github/workflows/release.yml

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

30 changes: 24 additions & 6 deletions .project-keeper.yml
Original file line number Diff line number Diff line change
@@ -36,6 +36,7 @@ build:
name: Build extension
id: build-extension
run: |
# Packaged JAR is required for building the extension
mvn --batch-mode package -DskipTests
cd extension
npm ci
@@ -47,13 +48,30 @@ build:
content:
name: Run tests and build with Maven
id: build-pk-verify
run: |
# Omit clean to speedup build
mvn --batch-mode verify \
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \
-DtrimStackTrace=false \
-Dcom.exasol.dockerdb.image=${{ matrix.exasol_db_version }}
# Omit clean to speedup build
run: mvn --batch-mode verify -Dcom.exasol.dockerdb.image=${{ matrix.exasol_db_version }}
env:
# Set additional environment variable as in scala projects the scalatest plugin does not forward
# the system property -Dcom.exasol.dockerdb.image to the test's implementation.
EXASOL_DB_VERSION: ${{ matrix.exasol_db_version }}

- name: release.yml
stepCustomizations:
- action: INSERT_AFTER
stepId: verify-release
content:
name: Build extension
id: build-extension
run: |
# Packaged JAR is required for building the extension
mvn --batch-mode package -DskipTests
cd extension
npm ci
npm run build
- action: REPLACE
stepId: build
content:
name: Build project
id: build
# Omit clean to speedup build. Tests already ran durning CI build.
run: mvn --batch-mode -DskipTests verify
131 changes: 64 additions & 67 deletions dependencies.md

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

3 changes: 2 additions & 1 deletion doc/changes/changes_2.8.4.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Cloud Storage Extension 2.8.4, released 2024-11-20
# Cloud Storage Extension 2.8.4, released 2024-11-21

Code name: Fix vulnerabilities CVE-2024-23454 & CVE-2024-47561 & CVE-2024-47554 & CVE-2024-51504 & CVE-2024-47535

@@ -77,6 +77,7 @@ This release fixes the following vulnerabilities in dependencies:
* Updated `org.apache.maven.plugins:maven-site-plugin:3.3` to `3.9.1`
* Updated `org.apache.maven.plugins:maven-surefire-plugin:3.2.5` to `3.5.1`
* Updated `org.codehaus.mojo:versions-maven-plugin:2.16.2` to `2.17.1`
* Removed `org.itsallcode:openfasttrace-maven-plugin:1.6.2`

### Extension

18 changes: 0 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -908,24 +908,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.itsallcode</groupId>
<artifactId>openfasttrace-maven-plugin</artifactId>
<version>1.6.2</version>
<executions>
<execution>
<id>trace-requirements</id>
<goals>
<goal>trace</goal>
</goals>
</execution>
</executions>
<configuration>
<reportOutputFormat>html</reportOutputFormat>
<reportVerbosity>ALL</reportVerbosity>
<reportShowOrigin>true</reportShowOrigin>
</configuration>
</plugin>
Comment on lines -911 to -928
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The project does not use requirement tracing

<plugin>
<groupId>org.scalastyle</groupId>
<artifactId>scalastyle-maven-plugin</artifactId>