Skip to content

fix(workflows): add example with latest version of Nginx - #238

Open
assiaait wants to merge 1 commit into
unikraft-cloud:mainfrom
assiaait:add-bun-workflows
Open

fix(workflows): add example with latest version of Nginx#238
assiaait wants to merge 1 commit into
unikraft-cloud:mainfrom
assiaait:add-bun-workflows

Conversation

@assiaait

Copy link
Copy Markdown

No description provided.

Signed-off-by: Assia AIT LAMALEM <assia.aitlamalem@gmail.com>
@razvand
razvand self-requested a review December 13, 2025 10:40
@razvand razvand self-assigned this Dec 13, 2025
@razvand razvand added the enhancement New feature or request label Dec 13, 2025

@razvand razvand left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why is this PR here? Shouldn't PR #219 already do this?

Use Add instead of add in the commit message.

Remove the app-nginx file. What is that?

The workflow files don't belong here, they belong in the root of the repository.

Copilot AI left a comment

Copy link
Copy Markdown

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 Nginx example to use a newer “official” runtime and customizes the default landing page, and adds GitHub Actions workflows intended to build/test the example.

Changes:

  • Switch nginx/Kraftfile runtime from base-compat:latest to index.unikraft.io/official/nginx:latest.
  • Replace the default Nginx welcome HTML with a Unikraft + Nginx “Hello World” page.
  • Add two new Nginx example workflows under nginx/.github/workflows/.

Reviewed changes

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

File Description
nginx/rootfs/wwwroot/index.html Replaces the default Nginx welcome page with a Unikraft-branded greeting.
nginx/Kraftfile Updates the runtime reference for the Nginx example.
nginx/.github/workflows/example-nginx-staging.yaml Adds a staging workflow intended to build/test the Nginx example.
nginx/.github/workflows/example-nginx-stable.yaml Adds a stable workflow intended to build/test the Nginx example.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread nginx/Kraftfile
spec: v0.6

runtime: base-compat:latest
runtime: index.unikraft.io/official/nginx:latest
Comment on lines +1 to +5
name: Build and Test Nginx Example - Stable

on:
push:
branches: [add-nginx-latest]
Comment on lines +25 to +27
- name: Test Nginx
run: |
curl http://localhost:8080
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
Comment on lines +1 to +5
name: Build and Test Nginx Example - Staging

on:
push:
branches: [staging]
Comment on lines +25 to +27
- name: Test Nginx
run: |
curl http://localhost:8080
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants