feat(lab10): GHCR release on tag, HF Spaces deploy, tunnel bonus#1399
Open
blacktree-lab wants to merge 5 commits into
Open
feat(lab10): GHCR release on tag, HF Spaces deploy, tunnel bonus#1399blacktree-lab wants to merge 5 commits into
blacktree-lab wants to merge 5 commits into
Conversation
Signed-off-by: DJ Bubu <djbubu28@yahoo.com>
Signed-off-by: DJ Bubu <djbubu28@yahoo.com>
…Cloudflare tunnel bonus
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.
Goal
Ship QuickNotes to a real registry + hosted platform: a tag-triggered CI push to GHCR, a public Hugging Face Space, and (bonus) a Cloudflare Tunnel with an internal-vs-external latency comparison.
Changes
.github/workflows/release.yml- on av*tag: build./appand pushghcr.io/blacktree-lab/devops-intro/quicknotestagged<version>+latest;packages: writeonly; all third-party actions SHA-pinnedapp/Dockerfile- multi-stage distroless build (brought onto this branch;maindidn't track it)submissions/lab10.md- workflow, GHCR clean-pull proof, HF Space files, latency measurements, design answers a–iBarberryML/quicknotes(Docker SDK,app_port: 8080, pulls the GHCR image)Testing
v0.1.0-> release workflow green; image atghcr.io/blacktree-lab/devops-intro/quicknotes:0.1.0+:latest, package publicdocker logout ghcr.io && docker pull …:0.1.0succeeds with no auth -> publicly pullable;/healthOKhttps://barberryml-quicknotes.hf.space;/health+/notesreturn JSON; warm p50 2.65 s; 3 cold-start samples after 35-min idleNotes
DATA_PATHpoints at/tmpbecause HF runs Space containers as UID 1000 (can't write the image's/data, owned by distroless uid 65532)Checklist
packages: writeonlya/notes` work