chore: Merge prod-staging into prod-stable#174
Merged
Conversation
Signed-off-by: Unikraft Bot <monkey@unikraft.io>
Merging to prod-staging / prod-stable should trigger website deploys for www. Now, anytime we deploy docs to prod-stable, this will update the website. Signed-off-by: Justin Chadwell <justin@unikraft.com>
Which uses our org-wide commitlint settings. Signed-off-by: Justin Chadwell <justin@unikraft.com>
Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.com> Approved-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.com>
Signed-off-by: Jesús Rascón <jesus@unikraft.io>
Signed-off-by: Alex-Andrei Cioc <andrei.cioc@unikraft.io>
Signed-off-by: Alex-Andrei Cioc <andrei.cioc@unikraft.io>
Signed-off-by: Unikraft Bot <monkey@unikraft.io>
Signed-off-by: Daniel Vallance <daniel@unikraft.com>
Reviewed-by: Alex-Andrei Cioc <andrei.cioc@unikraft.io> Approved-by: Alex-Andrei Cioc <andrei.cioc@unikraft.io>
There was a problem hiding this comment.
Pull request overview
Updates the docs site configuration and content as part of merging the prod-staging branch into prod-stable, including navigation/link updates, a new CLI migration tutorial, and CI/build pipeline adjustments for “staging vs stable” channels.
Changes:
- Standardize many documentation pages to use
<CodeTabs syncKey="cli">and add a new “KraftKit to Unikraft” migration tutorial. - Update docs navigation/links for the Node HTTP Server guide from Node 25 to Node 26, and tweak a few guide outputs.
- Introduce a
CHANNELbuild arg to select dependency branches during Docker builds, and update GitHub workflows to passchanneland trigger downstreamwwwdeploys.
Reviewed changes
Copilot reviewed 40 out of 40 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
zudoku.config.tsx |
Adjust favicon path, update guide nav to Node 26, add new tutorial to navigation. |
pages/use-cases/webhooks.mdx |
Switch CodeTabs sync key to cli. |
pages/use-cases/serverless-functions.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/use-cases/serverless-databases.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/use-cases/sandboxes.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/use-cases/remote-ides.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/use-cases/remote-desktops.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/use-cases/mcp-servers.mdx |
Switch CodeTabs sync key to cli. |
pages/use-cases/headless-browsers.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/use-cases/build-test-environments.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/use-cases/api-gateways.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/tutorials/rootfs-volumes-roms.mdx |
Switch CodeTabs sync key to cli. |
pages/tutorials/kraftkit-to-unikraft.mdx |
Add new tutorial covering migration from kraft cloud to unikraft. |
pages/tutorials/instance-metrics.mdx |
Switch CodeTabs sync key to cli. |
pages/tutorials/environment-variables.mdx |
Switch CodeTabs sync key to cli. |
pages/tutorials/docker-to-ukc.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/platform/volumes.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/platform/troubleshooting.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/platform/services.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/platform/metros.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/platform/images.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/platform/domains.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/platform/certificates.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/integrations/kubernetes.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/guides/overview.mdx |
Update guide link to Node HTTP Server Node 26. |
pages/guides/httpserver-rust1.88-actix-web4.mdx |
Update sample output casing/punctuation. |
pages/guides/httpserver-node26.mdx |
Update example paths and identifiers from node25 to node26. |
pages/guides/httpserver-go1.21.mdx |
Update sample output casing/punctuation. |
pages/features/snapshots.mdx |
Switch CodeTabs sync key to cli. |
pages/features/scale-to-zero.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/features/roms.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/features/load-balancing.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/features/autoscale.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
pages/cli/registries.mdx |
Switch CodeTabs sync key to cli in multiple sections. |
Dockerfile |
Add CHANNEL arg and use it to select dependency branches for docs/OpenAPI/schema inputs. |
.github/workflows/prod-staging.yaml |
Pass channel: staging and trigger downstream www deployment on success. |
.github/workflows/prod-stable.yaml |
Pass channel: stable and trigger downstream www deployment on success. |
.github/workflows/pr-preview.yaml |
Pass channel: staging for previews. |
.github/workflows/check-pr.yaml |
Replace bespoke PR checks with shared check-pr action; update checkout usage. |
.github/actions/setup-www/action.yaml |
Rename input from docs-channel to channel and pass CHANNEL build-arg to Docker build. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
4
to
8
| metadata: { | ||
| title: "%s | Unikraft Cloud Docs", | ||
| favicon: "/favicon.ico", | ||
| favicon: "/docs/favicon.ico", | ||
| }, | ||
| basePath: "/docs", |
Comment on lines
+9
to
+14
| check-pr: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: format | ||
| if: always() | ||
| uses: taskmedia/action-conventional-commits@v1.1.20 | ||
| with: | ||
| types: "build|ci|docs|feat|fix|perf|refactor|style|test|revert|chore" | ||
| token: ${{ secrets.GH_PAT }} | ||
|
|
||
| - name: length | ||
| if: ${{ github.actor != 'dependabot' && github.actor != 'dependabot[bot]' }} | ||
| uses: gsactions/commit-message-checker@v2 | ||
| with: | ||
| pattern: '((^(?=(?:.|\n)*(?:^|\n)\[\d\]: .{69,}(?:$|\n)(?:.|\n)*)(?:.|\n)*$)|(^(?!(?:.|\n)*(?:^|\n).{74,}(?:$|\n)(?:.|\n)*)(?:.|\n)*$))' | ||
| flags: '' | ||
| error: 'The maximum line length of 74 characters is exceeded.' | ||
| excludeDescription: 'true' | ||
| excludeTitle: 'true' | ||
| checkAllCommitMessages: 'true' | ||
| accessToken: ${{ secrets.GH_PAT }} | ||
|
|
||
| - name: signed-off-by | ||
| if: always() | ||
| uses: gsactions/commit-message-checker@v2 | ||
| with: | ||
| pattern: '^Signed-off-by: .+ \<.+\@.+\..+\>$' | ||
| error: 'Signed-off-by line is missing.' | ||
| excludeDescription: 'true' | ||
| excludeTitle: 'true' | ||
| checkAllCommitMessages: 'true' | ||
| accessToken: ${{ secrets.GH_PAT }} | ||
|
|
||
| pr: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: title-format | ||
| if: always() | ||
| uses: gsactions/commit-message-checker@v2 | ||
| with: | ||
| pattern: '^(build|ci|docs|feat|fix|perf|refactor|style|test|revert|chore)(\([\w\-\_\d]+\))?!?: ' | ||
| error: 'The PR title must follow the conventional commits format.' | ||
| excludeDescription: 'true' | ||
| excludeTitle: 'false' | ||
| checkAllCommitMessages: 'false' | ||
| accessToken: ${{ secrets.GH_PAT }} | ||
|
|
||
| - name: title-length | ||
| if: ${{ github.actor != 'dependabot' && github.actor != 'dependabot[bot]' }} | ||
| uses: gsactions/commit-message-checker@v2 | ||
| with: | ||
| pattern: '^(?!.{75,}).*' | ||
| flags: '' | ||
| error: 'The maximum line length of 75 characters is exceeded.' | ||
| excludeDescription: 'true' | ||
| excludeTitle: 'false' | ||
| checkAllCommitMessages: 'false' | ||
| accessToken: ${{ secrets.GH_PAT }} | ||
|
|
||
| - name: description | ||
| if: ${{ github.actor != 'dependabot' && github.actor != 'dependabot[bot]' }} | ||
| uses: gsactions/commit-message-checker@v2 | ||
| with: | ||
| pattern: '^\S+( \S+)*$' | ||
| error: 'The PR description must not be empty.' | ||
| flags: 'gm' | ||
| excludeDescription: 'false' | ||
| excludeTitle: 'true' | ||
| checkAllCommitMessages: 'false' | ||
| accessToken: ${{ secrets.GH_PAT }} | ||
| - uses: actions/checkout@v6 | ||
| with: | ||
| fetch-depth: 0 |
Comment on lines
+45
to
+46
| The branch/channel of dependency repos (openapi, x) to pull when | ||
| building the site. One of `staging` or `stable`. |
nurof3n
approved these changes
May 27, 2026
nurof3n
left a comment
Contributor
There was a problem hiding this comment.
LGTM!
Reviewed-by: Alex-Andrei Cioc andrei.cioc@unikraft.io
Approved-by: Alex-Andrei Cioc andrei.cioc@unikraft.io
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.