Skip to content

Commit

Permalink
Deploy as a JVM for now
Browse files Browse the repository at this point in the history
Because JGit triggers an NPE in native mode
  • Loading branch information
yrodiere committed Oct 20, 2023
1 parent 72c25c3 commit 6c514e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:
run: oc delete is ubi-quarkus-native-binary-s2i || true

- name: Build and deploy
run: mvn clean package -Dquarkus.kubernetes.deploy=true -Dquarkus.native.container-build=true -Dnative -Drevision=${{ github.sha }}
run: mvn clean package -Dquarkus.kubernetes.deploy=true -Dquarkus.native.container-build=true -Drevision=${{ github.sha }}
4 changes: 2 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ quarkus.container-image.builder=openshift
# Declare resource requirements
%prod.quarkus.openshift.resources.limits.cpu=1
%prod.quarkus.openshift.resources.requests.cpu=0.5
%prod.quarkus.openshift.resources.limits.memory=200M
%prod.quarkus.openshift.resources.requests.memory=100M
%prod.quarkus.openshift.resources.limits.memory=500M
%prod.quarkus.openshift.resources.requests.memory=200M
# Initial indexing may take a while, especially the quarkus.io Git cloning
%prod.quarkus.openshift.startup-probe.period=10S
%prod.quarkus.openshift.startup-probe.failure-threshold=6
Expand Down

0 comments on commit 6c514e3

Please sign in to comment.