Skip to content

Commit

Permalink
Restrict cluster-leader-election native build memory usage on CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnetherton committed Jul 27, 2023
1 parent 242444c commit 8bf31c9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
6 changes: 6 additions & 0 deletions cluster-leader-election/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 8bf31c9

Please sign in to comment.