Skip to content

Improve target naming#763

Open
jhkrug wants to merge 2 commits into
kubewarden:mainfrom
jhkrug:improve-target-naming
Open

Improve target naming#763
jhkrug wants to merge 2 commits into
kubewarden:mainfrom
jhkrug:improve-target-naming

Conversation

@jhkrug
Copy link
Copy Markdown
Contributor

@jhkrug jhkrug commented May 22, 2026

Reduce to 2 playbooks by using a command line attribute definition for Netlify. Better naming for targets in the Makefile. Use only 1 build directory.

Signed-off-by: John Krug john.krug@suse.com

jhkrug added 2 commits May 22, 2026 14:34
… Netlify. Better naming for targets in the Makefile. Use only 1 build directory.

Signed-off-by: John Krug <john.krug@suse.com>
Signed-off-by: John Krug <john.krug@suse.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented May 22, 2026

Deploy Preview for docs-kubewarden-io ready!

Name Link
🔨 Latest commit 5737786
🔍 Latest deploy log https://app.netlify.com/projects/docs-kubewarden-io/deploys/6a104fa3395c0b00082f722d
😎 Deploy Preview https://deploy-preview-763--docs-kubewarden-io.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.

@jhkrug jhkrug self-assigned this May 22, 2026
@jhkrug jhkrug requested a review from Copilot May 22, 2026 12:44
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the docs build configuration to consolidate Antora playbooks/output directories and improve Makefile target naming, aligning Netlify preview builds with a CLI-defined Antora attribute.

Changes:

  • Switched Netlify to build via a renamed Makefile target (community-netlify-preview).
  • Consolidated Antora output to a single directory (build/site) and removed the dedicated Netlify playbook.
  • Simplified/renamed local preview target (preview) and streamlined build logging.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
netlify.toml Uses the new Makefile target for Netlify preview builds.
Makefile Renames/adjusts build + preview targets, unifies output dir and log naming, and adds CLI attribute for Netlify builds.
kw-remote-community-playbook.yml Removes commented URL configuration block (no functional change).
kw-remote-community-netlify-playbook.yml Deleted; Netlify-specific behavior moved to CLI attribute on the Makefile target.
kw-local-community-playbook.yml Changes output directory to build/site to match other build flows.
Comments suppressed due to low confidence (1)

Makefile:39

  • ln -s kubewarden/latest latest has the same non-idempotent behavior in the Netlify preview target; a second run without cleaning will fail if build/site/latest already exists. Use an idempotent symlink creation approach so Netlify rebuilds (or local reruns) don't fail unexpectedly.
	cd build/site && ln -s kubewarden/latest latest

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Makefile
Comment thread Makefile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pending review

Development

Successfully merging this pull request may close these issues.

3 participants