Skip to content

Commit

Permalink
ci: initialize build buddy
Browse files Browse the repository at this point in the history
now build buddy is enabled for the entire repo
  • Loading branch information
manuelnaranjo committed Jan 2, 2024
1 parent 86b2917 commit 1a37c3e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
8 changes: 8 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
build --incompatible_strict_action_env

build --bes_results_url=https://bookingcom-opensource.buildbuddy.io/invocation/
build --bes_backend=grpcs://bookingcom-opensource.buildbuddy.io
build --remote_timeout=3600
build --remote_executor=grpcs://bookingcom-opensource.buildbuddy.io

try-import %workspace%/.bazelrc.user
2 changes: 2 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ jobs:
- uses: bazelbuild/setup-bazelisk@v1
- run:
set -x &&
echo "build --remote_header=x-buildbuddy-api-key=${BUILDBUDDY_TOKEN}" >> .bazelrc.user &&
bazel build //... &&
bazel test //... &&
cd examples/bzlmod &&
echo "build --remote_header=x-buildbuddy-api-key=${BUILDBUDDY_TOKEN}" >> .bazelrc.user &&
bazel run @//:bazeldnf -- fetch --repofile repo-configs/*.yaml &&
bazel run :bazeldnf -- rpmtree --basesystem centos-release --repofile repo-configs/centos7.yaml --name centos7-rpm --bzlmod --lock-file rpmtree/centos7/rpm.json rpm &&
bazel run :bazeldnf -- rpmtree --basesystem centos-release --repofile repo-configs/centos7.yaml --name centos7-perl --bzlmod --lock-file rpmtree/centos7/perl.json perl &&
Expand Down
8 changes: 0 additions & 8 deletions examples/bzlmod/.bazelrc

This file was deleted.

1 change: 1 addition & 0 deletions examples/bzlmod/.bazelrc

0 comments on commit 1a37c3e

Please sign in to comment.