Skip to content

Commit

Permalink
Add x86_64 sysroot profile to cloud and operator skaffold configs (#1941
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ddelnano authored Jun 20, 2024
1 parent 7359d40 commit b2f69f6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
17 changes: 8 additions & 9 deletions skaffold/skaffold_cloud.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---
.common_bazel_args: &common_bazel_args
- --compilation_mode=opt
- --config=stamp
- --action_env=GOOGLE_APPLICATION_CREDENTIALS
- --config=x86_64_sysroot
apiVersion: skaffold/v4beta1
kind: Config
build:
Expand Down Expand Up @@ -112,9 +117,7 @@ profiles:
- op: add
path: /build/artifacts/context=./bazel/args
value:
- --compilation_mode=opt
- --config=stamp
- --action_env=GOOGLE_APPLICATION_CREDENTIALS
*common_bazel_args
- op: replace
path: /manifests/kustomize/paths
value:
Expand All @@ -126,9 +129,7 @@ profiles:
- op: add
path: /build/artifacts/context=./bazel/args
value:
- --compilation_mode=opt
- --config=stamp
- --action_env=GOOGLE_APPLICATION_CREDENTIALS
*common_bazel_args
- op: replace
path: /manifests/kustomize/paths
value:
Expand All @@ -140,9 +141,7 @@ profiles:
- op: add
path: /build/artifacts/context=./bazel/args
value:
- --compilation_mode=opt
- --config=stamp
- --action_env=GOOGLE_APPLICATION_CREDENTIALS
*common_bazel_args
- op: replace
path: /manifests/kustomize/paths
value:
Expand Down
6 changes: 6 additions & 0 deletions skaffold/skaffold_operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ profiles:
path: /build/local
value:
push: false
- name: x86_64_sysroot
patches:
- op: add
path: /build/artifacts/context=./bazel/args
value:
- --config=x86_64_sysroot

0 comments on commit b2f69f6

Please sign in to comment.