-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42ccdab
commit 90f986f
Showing
26 changed files
with
244 additions
and
2,552 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,27 @@ | ||
build:remote --bes_results_url=https://app.buildbuddy.io/invocation/ | ||
build:remote --bes_backend=grpcs://remote.buildbuddy.io | ||
build:remote --remote_cache=grpcs://remote.buildbuddy.io | ||
build:remote --remote_download_toplevel # Helps remove network bottleneck if caching is enabled | ||
build:remote --remote_timeout=3600 | ||
|
||
build --experimental_inmemory_jdeps_files | ||
build --experimental_inmemory_dotd_files | ||
|
||
# Build Buddy Cache Setup | ||
build:build_buddy --bes_results_url=https://app.buildbuddy.io/invocation/ | ||
build:build_buddy --bes_backend=grpcs://remote.buildbuddy.io | ||
build:build_buddy --remote_cache=grpcs://remote.buildbuddy.io | ||
build:build_buddy --remote_timeout=3600 | ||
|
||
# Additional suggestions from buildbuddy for speed | ||
build:build_buddy --experimental_remote_cache_compression | ||
build:build_buddy --experimental_remote_cache_compression_threshold=100 | ||
build:build_buddy --noslim_profile | ||
build:build_buddy --experimental_profile_include_target_label | ||
build:build_buddy --experimental_profile_include_primary_output | ||
build:build_buddy --nolegacy_important_outputs | ||
|
||
build:build_buddy_readonly --config=build_buddy | ||
build:build_buddy_readonly --noremote_upload_local_results | ||
|
||
# This config should be used locally. It downloads more than the CI version | ||
build:remote_user --config=build_buddy | ||
build:remote_user --config=build_buddy_readonly | ||
build:remote_user --remote_download_toplevel | ||
|
||
build:ci --config=build_buddy | ||
build:ci --remote_download_minimal | ||
build:ci --build_metadata=ROLE=CI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7.2.0 | ||
7.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: 'Setup BuildBuddy acache' | ||
description: 'Sets up the build buddy cache to be readonly / writing based on the presence of environment variables' | ||
|
||
inputs: | ||
token: | ||
description: 'Build Buddy API token' | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup without key | ||
env: | ||
API_KEY: ${{ inputs.token }} | ||
if: ${{ env.API_KEY == '' }} | ||
shell: bash | ||
run: | | ||
echo "No API key secret detected, will setup readonly cache" | ||
echo "build:ci --config=build_buddy_readonly" > .buildbuddy-auth.rc | ||
echo "build:ci --config=build_buddy_readonly"" > tests/.buildbuddy-auth.rc | ||
- name: Set with key | ||
env: | ||
API_KEY: ${{ inputs.token }} | ||
if: ${{ env.API_KEY != '' }} | ||
shell: bash | ||
run: | | ||
echo "API Key detected!" | ||
echo "build:build_buddy --remote_header=x-buildbuddy-api-key=${{ env.API_KEY }}" > .buildbuddy-auth.rc | ||
echo "build:build_buddy --remote_header=x-buildbuddy-api-key=${{ env.API_KEY }}" > tests/.buildbuddy-auth.rc |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
bazel-* | ||
*.pyc | ||
user.bazelrc | ||
.buildbuddy-auth.rc | ||
.DS_Store |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.