Skip to content

Update rules_bazel page and add to private apk repo page#3067

Merged
matthewhelmke merged 4 commits into
chainguard-dev:mainfrom
matthewhelmke:privateAPK_bazel
Mar 12, 2026
Merged

Update rules_bazel page and add to private apk repo page#3067
matthewhelmke merged 4 commits into
chainguard-dev:mainfrom
matthewhelmke:privateAPK_bazel

Conversation

@matthewhelmke
Copy link
Copy Markdown
Collaborator

@matthewhelmke matthewhelmke commented Mar 12, 2026

This fixes https://github.com/chainguard-dev/internal/issues/5730 and https://github.com/chainguard-dev/internal/issues/5731, the latter of which became an issue because it was super-outdated and the new small section being added to the Private APK Repos page links to it. I couldn't in good conscience link a new section to an outdated page.

This PR:

  • Adds a section called Using Private APK Repositories with Bazel rules for apko to the Chainguard's Private APK Repositories page that uses a parallel construction to the existing section it follows and links to the Bazel page for more detail.
  • Rewrites most of the Bazel Rules for apko page as the existing page uses Bazel 6 and a number of deprecated features. It now uses Bazel 9, which was released earlier this week. I tested everything on the page extensively using the Chainguard Container for Bazel 9 on my local system. Please read for sanity, but the build and details are correct (and mostly discovered while figuring all this out).

DocsTeam reviewers: Please check me on my headings. I used gerunds for headings that cover multiple sections of procedural steps and imperatives for individual steps. Is this what we use? I can't remember, but it seemed reasonable while I was in the writing flow. Now that we're reviewing, please help me get it right.

@matthewhelmke matthewhelmke requested a review from a team as a code owner March 12, 2026 14:33
@matthewhelmke matthewhelmke self-assigned this Mar 12, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 12, 2026

Deploy Preview for ornate-narwhal-088216 ready!

Name Link
🔨 Latest commit fcbe80a
🔍 Latest deploy log https://app.netlify.com/projects/ornate-narwhal-088216/deploys/69b2f60e0330df000897e26e
😎 Deploy Preview https://deploy-preview-3067--ornate-narwhal-088216.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread content/open-source/build-tools/apko/bazel-rules.md Outdated
Comment thread content/open-source/build-tools/apko/bazel-rules.md Outdated
Comment thread content/open-source/build-tools/apko/bazel-rules.md Outdated
Comment thread content/open-source/build-tools/apko/bazel-rules.md Outdated
Comment thread content/open-source/build-tools/apko/bazel-rules.md Outdated
Comment thread content/open-source/build-tools/apko/bazel-rules.md Outdated
Comment thread content/open-source/build-tools/apko/bazel-rules.md Outdated
Comment thread content/open-source/build-tools/apko/bazel-rules.md Outdated
Comment thread content/open-source/build-tools/apko/bazel-rules.md Outdated
Comment thread content/open-source/build-tools/apko/bazel-rules.md Outdated
Comment thread content/open-source/build-tools/apko/bazel-rules.md Outdated
Comment thread content/open-source/build-tools/apko/bazel-rules.md Outdated
Comment thread content/open-source/build-tools/apko/bazel-rules.md Outdated
Comment thread content/open-source/build-tools/apko/bazel-rules.md Outdated
@matthewhelmke matthewhelmke changed the title Update rules_bazel page and add to private apk repo page` Update rules_bazel page and add to private apk repo page Mar 12, 2026
Copy link
Copy Markdown
Member

@xnox xnox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good!

Copy link
Copy Markdown
Collaborator

@SharpRake SharpRake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Two comments, the first is non-blocking but the output label should be applied to the last block

Comment thread content/chainguard/chainguard-images/features/packages/private-apk-repos/index.md Outdated
Comment thread content/chainguard/chainguard-images/features/packages/private-apk-repos/index.md Outdated
@matthewhelmke
Copy link
Copy Markdown
Collaborator Author

LGTM! Two comments, the first is non-blocking but the output label should be applied to the last block

Thank you! I got them both in that last commit. Merging.

@matthewhelmke matthewhelmke merged commit c03c274 into chainguard-dev:main Mar 12, 2026
9 checks passed
@matthewhelmke matthewhelmke deleted the privateAPK_bazel branch March 12, 2026 17:22
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.

4 participants