Repository navigation
Conversation
A Node.js page showing a message, the commit and the environment, with unit tests on node:test; a Dockerfile on the official Node LTS image pinned by digest, non-root; a Helm chart routed by hostname on K3s's Traefik; a CI that tests, then publishes the image and the chart to GHCR, tagged by commit, with no secret and no third-party action. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
olivier2t
marked this pull request as ready for review
November 18, 2026 18:57
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.
The sample web application of the Cycloid Academy missions, with its image, Helm chart and CI.
What it adds
src/,test/: a Node.js page (no dependency) showing a message, the commit and the environment;/healthz; 5 unit tests onnode:test.Dockerfile: official Node 26 LTS image pinned by digest; tests run in ateststage; the app runs as the non-rootnodeuser.chart/academy-app/: Deployment (non-root, read-only root filesystem, no privilege escalation, all capabilities dropped, no service account token, limits), Service, Ingress routed by hostname on K3s's Traefik (ingress.host, for example an sslip.io name)..github/workflows/ci.yml: on every push, test, then publishghcr.io/<owner>/<repository>:<sha>andoci://ghcr.io/<owner>/charts/academy-appversion0.1.0-g<sha>. No secret or variable, only GitHub's own checkout (pinned by SHA), leastpermissions, neverpull_request_target.How it was tested
On a laptop:
node --test(5 pass);docker buildof the test and runtime stages; the container runs as uid 1000 and the page shows the commit and environment;helm lintandhelm templatewithalpine/helm:3.22.1, the image of Cycloid'shelmstep. This branch's push is the first CI run.To check
ubuntu-24.04runners, since prospects' copies run there.Part of the K3s first path; its log is in
cycloidio/academy-blueprints(docs/first-path-log.md, not pushed yet).🤖 Generated with Claude Code