Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use BP_MAVEN_ACTIVE_PROFILES for native builds #361

Merged
merged 1 commit into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions spring-cloud-serverless/kubernetes/tap/workload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ spec:
value: "false"
- name: BP_JVM_VERSION
value: "17"
- name: BP_MAVEN_BUILD_ARGUMENTS
value: "-Pnative -Dmaven.test.skip=true --no-transfer-progress package"
- name: BP_MAVEN_ACTIVE_PROFILES
value: native
source:
git:
url: <https URL for your generated project's Git repository>
Expand Down
4 changes: 2 additions & 2 deletions tanzu-java-web-app/config/workload-native.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ spec:
value: "17"
- name: BP_NATIVE_IMAGE
value: "true"
- name: BP_MAVEN_ADDITIONAL_BUILD_ARGUMENTS
value: -Pnative
- name: BP_MAVEN_ACTIVE_PROFILES
value: native
- name: MANAGEMENT_HEALTH_PROBES_ENABLED
value: "true"
- name: MANAGEMENT_ENDPOINT_HEALTH_PROBES_ADD_ADDITIONAL_PATHS
Expand Down
Loading