Skip to content

chore: configure BuildBuddy credentials #366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Sep 21, 2024
Merged

chore: configure BuildBuddy credentials #366

merged 8 commits into from
Sep 21, 2024

Conversation

aherrmann
Copy link
Owner

Anonymous BuildBuddy builds are now deprecated.
This switches the build and CI to use an access token.

  • Configure BuildBuddy account
  • Configure repository secret
  • Set up build metadata through workspace status

See https://www.buildbuddy.io/docs/guide-metadata/

The e2e tests call the root repository's status script.
The integration tests load hard-coded build metadata from a generated
`.bazelrc` file.
secrets can only be referenced in the main GitHub actions workflow file.
In an attempt to avoid errors of the form
```
Testing //zig/tests/integration_tests:workspace_test_bazel_7_0_0 failed: Failed to fetch blobs because they do not exist remotely.: Missing digest: 706e6dd0b26708c982fe2865971a54ca9f1986298a0feb656421e4cb62f58066/3233456 for bazel-out/k8-fastbuild/bin/zig/tests/integration_tests/integration_tests_runner
```
See
https://github.com/aherrmann/rules_zig/actions/runs/10972304325/job/30468421344?pr=366#step:3:751
@aherrmann aherrmann enabled auto-merge September 21, 2024 12:19
@aherrmann aherrmann merged commit 049ed88 into main Sep 21, 2024
47 checks passed
@aherrmann aherrmann deleted the re branch September 21, 2024 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant