Skip to content

Commit

Permalink
fix: scope credential helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
thesayyn committed Sep 19, 2023
1 parent eb7c404 commit 851541e
Show file tree
Hide file tree
Showing 17 changed files with 226 additions and 1,937 deletions.
3 changes: 2 additions & 1 deletion .apko/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
# Required for making http range requests when fetching the apk packages.
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests

common --credential_helper="%workspace%/.apko/range.sh"
common --credential_helper="dl-cdn.alpinelinux.org=%workspace%/.apko/range.sh"
common --credential_helper="packages.wolfi.dev=%workspace%/.apko/range.sh"
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

# Required until this is the default; expected in Bazel 7
common --enable_bzlmod
# Disable lockfile for now. It is unstable.
common --lockfile_mode=off

# Required for rules_apko to make range requests
try-import %workspace%/.apko/.bazelrc
Expand Down
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
docs/*.md linguist-generated=true
docs/initial-setup.md linguist-generated=false
docs/apko-cache.md linguist-generated=false
MODULE.bazel.lock linguist-generated=true
MODULE.bazel.lock linguist-generated=true
**/apko.lock.json linguist-generated=true
Loading

0 comments on commit 851541e

Please sign in to comment.