Skip to content

Commit

Permalink
Fix release build (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada authored Apr 5, 2024
1 parent 24be23c commit c939dfe
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 13 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/dependencies_check.yml

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

7 changes: 4 additions & 3 deletions .github/workflows/dependencies_update.yml

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

7 changes: 7 additions & 0 deletions .github/workflows/release.yml

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

29 changes: 23 additions & 6 deletions .project-keeper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,10 @@ build:
id: install-project-keeper
# This fixes https://github.com/exasol/project-keeper/issues/330
run: |
mvn --batch-mode --threads 1C install -DskipTests \
-Dproject-keeper.skip=true -Dossindex.skip=true -Dmaven.javadoc.skip=true \
-Djacoco.skip=true -Derror-code-crawler.skip=true -Dreproducible.skip=true
mvn --batch-mode --threads 1C install \
-Dmaven.test.skip=true -Dproject-keeper.skip=true \
-Dossindex.skip=true -Dmaven.javadoc.skip=true \
-Derror-code-crawler.skip=true -Dreproducible.skip=true
# [itest->dsn~customize-build-process.dependency-update~0]
- name: "dependencies_update.yml"
Expand All @@ -145,6 +146,22 @@ build:
id: install-project-keeper
# This fixes https://github.com/exasol/project-keeper/issues/330
run: |
mvn --batch-mode --threads 1C install -DskipTests \
-Dproject-keeper.skip=true -Dossindex.skip=true -Dmaven.javadoc.skip=true \
-Djacoco.skip=true -Derror-code-crawler.skip=true -Dreproducible.skip=true
mvn --batch-mode --threads 1C install \
-Dmaven.test.skip=true -Dproject-keeper.skip=true \
-Dossindex.skip=true -Dmaven.javadoc.skip=true \
-Derror-code-crawler.skip=true -Dreproducible.skip=true
# [itest->dsn~customize-build-process.release~0]
- name: "release.yml"
stepCustomizations:
- action: INSERT_AFTER
stepId: check-ci-build-status
content:
name: Install Project Keeper
id: install-project-keeper
# Required for running PK verify-release
run: |
mvn --batch-mode --threads 1C install \
-Dmaven.test.skip=true -Dproject-keeper.skip=true \
-Dossindex.skip=true -Dmaven.javadoc.skip=true \
-Derror-code-crawler.skip=true -Dreproducible.skip=true
2 changes: 1 addition & 1 deletion doc/requirements/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ PK allows customizing workflow steps in GitHub workflow `release.yml`.
Covers:
* [`req~customize-build-process~0`](system_requirements.md#customize-build-process)

Needs: impl, utest
Needs: impl, utest, itest

#### Customize GitHub Workflow `dependencies_check.yml`
`dsn~customize-build-process.dependency-check~0`
Expand Down

0 comments on commit c939dfe

Please sign in to comment.