Skip to content

Commit

Permalink
bazel/ci: Add repo customizations (envoyproxy#36831)
Browse files Browse the repository at this point in the history
This allows per-repo configuration/customization of the bazel (eg rbe)
settings

Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax authored Oct 28, 2024
1 parent 4661f76 commit 40a1dbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,6 @@ build:rbe-envoy-engflow --define=engflow_rbe=true

build:remote-envoy-engflow --config=common-envoy-engflow
build:remote-envoy-engflow --config=cache-envoy-engflow
build:remote-envoy-engflow --config=bes-envoy-engflow
build:remote-envoy-engflow --config=rbe-envoy-engflow

#############################################################################
Expand All @@ -557,6 +556,7 @@ common:debug --config=debug-sandbox
common:debug --config=debug-coverage
common:debug --config=debug-tests

try-import %workspace%/repo.bazelrc
try-import %workspace%/clang.bazelrc
try-import %workspace%/user.bazelrc
try-import %workspace%/local_tsan.bazelrc
4 changes: 4 additions & 0 deletions .github/workflows/_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,10 @@ jobs:
BAZEL_BUILD_EXTRA_OPTIONS="--google_credentials=/build/${GCP_SERVICE_ACCOUNT_KEY_FILE} --config=remote-ci --config=rbe-google"
echo "BAZEL_BUILD_EXTRA_OPTIONS=${BAZEL_BUILD_EXTRA_OPTIONS}" >> "$GITHUB_ENV"
- run: |
echo "${{ vars.ENVOY_CI_BAZELRC }}" > repo.bazelrc
if: ${{ vars.ENVOY_CI_BAZELRC }}
- uses: envoyproxy/toolshed/gh-actions/github/run@actions-v0.2.37
name: Run CI ${{ inputs.command }} ${{ inputs.target }}
with:
Expand Down

0 comments on commit 40a1dbf

Please sign in to comment.