Skip to content

Commit

Permalink
Add ROLE=CI build metadata in CI only.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbreen committed Sep 17, 2023
1 parent 205fd3c commit 27c4a75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ build --show_result=20
build --verbose_failures
test --test_output=errors
test:ci --test_output=all
build:ci --build_metadata=ROLE=CI

# Critical features required
build --incompatible_enable_cc_toolchain_resolution
Expand All @@ -28,7 +29,6 @@ build:remote --remote_cache=grpc://localhost:1985
build:remote --remote_timeout=120
build:remote --remote_executor=grpc://localhost:1985

build:bb --build_metadata=ROLE=CI
build:bb --bes_results_url=https://app.buildbuddy.io/invocation/
build:bb --bes_backend=grpcs://remote.buildbuddy.io
build:bb --remote_cache=grpcs://remote.buildbuddy.io
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Problems...
> sudo: /bin/sudo must be owned by uid 0 and have the setuid bit set
> ================================================================================
and similar for all DEB and RPM tests.
and similar for all DEB and RPM tests. Does not happen in GitHub Actions nor remotely.

2. Excluding `exec_platforms` from `//:tars` theoretically means it should
declare that it is executable on the host: that seems to propagate to being
Expand Down

0 comments on commit 27c4a75

Please sign in to comment.