You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zb...@apache.org on 2023/08/31 14:51:47 UTC
[camel-quarkus-examples] 23/24: Restrict cluster-leader-election native build memory usage on CI builds
This is an automated email from the ASF dual-hosted git repository.
zbendhiba pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git
commit ab6ae6d08c7ff5c0b4d032a699ab51f0fab5feff
Author: James Netherton <ja...@gmail.com>
AuthorDate: Thu Jul 27 15:43:18 2023 +0100
Restrict cluster-leader-election native build memory usage on CI builds
---
.github/workflows/ci-build.yaml | 2 +-
cluster-leader-election/pom.xml | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index 211c869..3749822 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -138,7 +138,7 @@ jobs:
../mvnw ${MAVEN_ARGS} clean verify \
-Dformatter.skip -Dimpsort.skip \
- -Pnative,docker
+ -Pnative,docker,ci
if [[ $? -ne 0 ]]; then
BUILD_FAILURES[${#BUILD_FAILURES[@]}]=${MODULE}
diff --git a/cluster-leader-election/pom.xml b/cluster-leader-election/pom.xml
index db828a0..5c05459 100644
--- a/cluster-leader-election/pom.xml
+++ b/cluster-leader-election/pom.xml
@@ -348,6 +348,12 @@
<skipTests>true</skipTests>
</properties>
</profile>
+ <profile>
+ <id>ci</id>
+ <properties>
+ <quarkus.native.native-image-xmx>5g</quarkus.native.native-image-xmx>
+ </properties>
+ </profile>
</profiles>
</project>