From 38591b0bf3e6916dc87be27522eceee6ee417c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Vu=C4=8Dica?= Date: Mon, 13 May 2024 15:56:43 +0100 Subject: [PATCH] .github/workflows: Set `--build_metadata=ROLE=CI` on Bazel CI builds. Setting it explicitly might not be required, but the documentation for BuildBuddy suggests it's a good idea. --- .github/workflows/ci-bazel.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-bazel.yml b/.github/workflows/ci-bazel.yml index fd90e6b0..b6b92777 100644 --- a/.github/workflows/ci-bazel.yml +++ b/.github/workflows/ci-bazel.yml @@ -118,7 +118,7 @@ jobs: # More useful with e.g. npm. - name: rbe bazel build - run: bazel build --config=remote //:yatc + run: bazel build --config=remote --build_metadata=ROLE=CI //:yatc bazel_test_buildbuddy: runs-on: ubuntu-latest @@ -154,7 +154,7 @@ jobs: # More useful with e.g. npm. - name: rbe bazel test - run: bazel test --config=remote //:util_test + run: bazel test --config=remote --build_metadata=ROLE=CI //:util_test # Temporarily allow errors. This is known to fail at this time due to insufficient # number of binary packages installed by the rules_libsdl12. continue-on-error: true