Skip to content

Commit

Permalink
add ci-build profile
Browse files Browse the repository at this point in the history
  • Loading branch information
sboeckelmann committed Dec 21, 2023
1 parent ac2f867 commit 405f31c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
--no-transfer-progress \
--batch-mode \
-Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} \
-Pcoverage -Popenepcis-ossrh \
-Pcoverage -Pci-build -Popenepcis-ossrh \
-Dsonar.host.url=${{ secrets.CG_SONAR_HOST_URL }} \
-Dsonar.login=${{ secrets.CG_SONAR_LOGIN }} \
-B clean verify deploy sonar:sonar
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:

- name: "Prepare Build"
run: >
mvn --no-transfer-progress --batch-mode clean package -DskipTests
mvn --no-transfer-progress --batch-mode clean package -Pci-build -DskipTests
- name: vus.js ui build
uses: actions/setup-node@v3
Expand All @@ -111,7 +111,7 @@ jobs:
- name: "Build linux/amd64 Image"
run: |
mvn --no-transfer-progress --batch-mode \
mvn --no-transfer-progress --batch-mode -Pci-build \
clean package -f ./testdata-generator-quarkus-rest-app/pom.xml \
-Dquarkus.container-image.name=testdata-generator \
-Dquarkus.container-image.build=true \
Expand All @@ -123,7 +123,7 @@ jobs:
- name: "Build linux/arm64 Image"
run: |
mvn --no-transfer-progress --batch-mode \
mvn --no-transfer-progress --batch-mode -Pci-build \
clean package -f ./testdata-generator-quarkus-rest-app/pom.xml \
-Dquarkus.container-image.name=testdata-generator \
-Dquarkus.container-image.build=true \
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:

- name: "Prepare Build"
run: >
mvn --no-transfer-progress --batch-mode clean package -DskipTests
mvn --no-transfer-progress --batch-mode clean package -Pci-build -DskipTests
- name: vus.js ui build
uses: actions/setup-node@v3
with:
Expand All @@ -213,7 +213,7 @@ jobs:
- name: "Build ${{matrix.platform}} native Image"
run: |
mvn --no-transfer-progress --batch-mode package -Dnative -DskipTests -f ./testdata-generator-quarkus-rest-app/pom.xml \
mvn --no-transfer-progress --batch-mode package -Dnative -Pci-build -DskipTests -f ./testdata-generator-quarkus-rest-app/pom.xml \
-Dquarkus.native.container-build=true \
-Dquarkus.container-image.build=true \
-Dquarkus.container-image.name=testdata-generator-native \
Expand Down
15 changes: 15 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -231,5 +231,20 @@
</plugins>
</build>
</profile>
<profile>
<id>ci-build</id>
<build>
<plugins>
<plugin>
<groupId>com.cosium.code</groupId>
<artifactId>git-code-format-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit 405f31c

Please sign in to comment.