Skip to content

Commit 4522342

Browse files
committed
add explanatory comment
1 parent 627f4b6 commit 4522342

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.bazelrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ build:base_remote --nolegacy_important_outputs
4343

4444
common:base_remote_readonly --noremote_upload_local_results
4545
build:artifactory_readonly --config=base_remote_readonly
46-
build:artifactory_readonly --remote_cache=https://frcmaven.wpi.edu/artifactory/wpilib-generic-cache-bazel-local --remote_cache_header=X-JFrog-Download-Redirect-To=None
46+
build:artifactory_readonly --remote_cache=https://frcmaven.wpi.edu/artifactory/wpilib-generic-cache-bazel-local
47+
# workaround for https://github.com/bazelbuild/bazel/issues/17700
48+
build:artifactory_readonly --remote_cache_header=X-JFrog-Download-Redirect-To=None
4749

4850
# Build Buddy Cache Setup
4951
build:build_buddy --bes_results_url=https://app.buildbuddy.io/invocation/

.github/actions/setup-artifactory-bazel/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ runs:
2626
shell: bash
2727
run: |
2828
echo "API Key detected!"
29+
# X-JFrog-Download-Redirect-To is a workaround for https://github.com/bazelbuild/bazel/issues/17700
2930
echo "build:base_remote --remote_cache=https://${{ inputs.username }}:${{ inputs.token }}@frcmaven.wpi.edu/artifactory/wpilib-generic-cache-bazel-local --remote_cache_header=X-JFrog-Download-Redirect-To=None" > bazel_auth.rc

0 commit comments

Comments
 (0)