Skip to content

Commit

Permalink
ci/bazel: Fix repo config (#37349)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax authored Nov 25, 2024
1 parent a3fbd36 commit 7c1b8f5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 15 deletions.
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,9 @@ common:remote-envoy-engflow --config=common-envoy-engflow
common:remote-envoy-engflow --config=cache-envoy-engflow
common:remote-envoy-engflow --config=rbe-envoy-engflow

common:remote-cache-envoy-engflow --config=common-envoy-engflow
common:remote-cache-envoy-engflow --config=cache-envoy-engflow

# Specifies the rustfmt.toml for all rustfmt_test targets.
build --@rules_rust//rust/settings:rustfmt.toml=//:rustfmt.toml

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/_precheck_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ jobs:
target-suffix: arm64
arch: arm64
bazel-extra: >-
--config=common-envoy-engflow
--config=cache-envoy-engflow
--config=bes-envoy-engflow
--config=remote-cache-envoy-engflow
rbe: false
runs-on: envoy-arm64-large
timeout-minutes: 180
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/_publish_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ jobs:
name: Release (arm64)
arch: arm64
bazel-extra: >-
--config=cache-envoy-engflow
--config=common-envoy-engflow
--config=bes-envoy-engflow
--config=remote-cache-envoy-engflow
rbe: false
runs-on: envoy-arm64-medium

Expand All @@ -97,9 +95,7 @@ jobs:
with:
arch: ${{ matrix.arch }}
bazel-extra: >-
--config=cache-envoy-engflow
--config=common-envoy-engflow
--config=bes-envoy-engflow
--config=remote-cache-envoy-engflow
downloads: |
release.${{ matrix.arch }}: release/${{ matrix.arch }}/bin/
target: ${{ matrix.target }}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/_publish_verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,5 @@ jobs:
target: verify_distro
arch: arm64
bazel-extra: >-
--config=cache-envoy-engflow
--config=common-envoy-engflow
--config=bes-envoy-engflow
--config=remote-cache-envoy-engflow
runs-on: envoy-arm64-small
4 changes: 1 addition & 3 deletions .github/workflows/envoy-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ jobs:
_BAZEL_BUILD_EXTRA_OPTIONS=(
--remote_download_toplevel
--flaky_test_attempts=2
--config=bes-envoy-engflow
--config=cache-envoy-engflow
--config=common-envoy-engflow
--config=remote-cache-envoy-engflow
--config=ci)
export BAZEL_BUILD_EXTRA_OPTIONS=${_BAZEL_BUILD_EXTRA_OPTIONS[*]}
Expand Down

0 comments on commit 7c1b8f5

Please sign in to comment.