-
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.
Update versions, add more aliases (#20)
- Loading branch information
1 parent
c4a8fbc
commit a61475e
Showing
20 changed files
with
161 additions
and
26 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,19 @@ | ||
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 | ||
|
||
# Additional suggestions from buildbuddy for speed | ||
build:remote --experimental_remote_cache_compression | ||
build:remote --experimental_remote_cache_compression_threshold=100 | ||
build:remote --noslim_profile | ||
build:remote --experimental_profile_include_target_label | ||
build:remote --experimental_profile_include_primary_output | ||
build:remote --nolegacy_important_outputs | ||
|
||
build --experimental_inmemory_jdeps_files | ||
build --experimental_inmemory_dotd_files | ||
|
||
build:ci --config=remote | ||
build:ci --build_metadata=ROLE=CI | ||
build:ci --remote_download_minimal |
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,36 @@ | ||
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' | ||
readonly_token: | ||
description: 'Build Buddy API readonly token' | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup without key | ||
env: | ||
API_KEY: ${{ inputs.token }} | ||
READONLY_KEY: ${{ inputs.readonly_token }} | ||
if: ${{ env.API_KEY == '' }} | ||
shell: bash | ||
run: | | ||
echo "No API key secret detected, will setup readonly cache" | ||
echo "build:ci --noremote_upload_local_results" > .buildbuddy-auth.rc | ||
echo "build:ci --remote_header=x-buildbuddy-api-key=${{ env.READONLY_KEY }}" >> .buildbuddy-auth.rc | ||
echo "build:ci --noremote_upload_local_results" > tests/.buildbuddy-auth.rc | ||
echo "build:ci --remote_header=x-buildbuddy-api-key=${{ env.READONLY_KEY }}" >> 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:ci --remote_header=x-buildbuddy-api-key=${{ env.API_KEY }}" > .buildbuddy-auth.rc | ||
echo "build:ci --remote_header=x-buildbuddy-api-key=${{ env.API_KEY }}" > tests/.buildbuddy-auth.rc |
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 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 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 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 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 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,19 @@ | ||
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 | ||
|
||
# Additional suggestions from buildbuddy for speed | ||
build:remote --experimental_remote_cache_compression | ||
build:remote --experimental_remote_cache_compression_threshold=100 | ||
build:remote --noslim_profile | ||
build:remote --experimental_profile_include_target_label | ||
build:remote --experimental_profile_include_primary_output | ||
build:remote --nolegacy_important_outputs | ||
|
||
build --experimental_inmemory_jdeps_files | ||
build --experimental_inmemory_dotd_files | ||
|
||
build:ci --config=remote | ||
build:ci --build_metadata=ROLE=CI | ||
build:ci --remote_download_minimal |
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