Skip to content

Feature/lab10#1383

Open
Mysteri0K1ng wants to merge 9 commits into
inno-devops-labs:mainfrom
Mysteri0K1ng:feature/lab10
Open

Feature/lab10#1383
Mysteri0K1ng wants to merge 9 commits into
inno-devops-labs:mainfrom
Mysteri0K1ng:feature/lab10

Conversation

@Mysteri0K1ng

Copy link
Copy Markdown

Goal

Complete Lab 10 by publishing the QuickNotes Docker image to GHCR through a tag-triggered release workflow and deploying the released image to Hugging Face Spaces.

Changes

  • Added a tag-triggered GitHub Actions release workflow for QuickNotes.
  • Configured the workflow to build from app/ and push to GHCR with both v0.1.2 and latest tags.
  • Used minimal workflow permissions with contents: read and packages: write.
  • Added Hugging Face Space artifacts under cloud/hf-space/.
  • Deployed QuickNotes to a public Hugging Face Space using the Docker SDK and app_port: 8080.
  • Added Lab 10 measurement artifacts for GHCR/HF/Cloudflare evidence.
  • Documented GHCR pull evidence, HF public health check, warm/cold latency measurements, design questions, and the Cloudflare Tunnel bonus in submissions/lab10.md.

Testing

Triggered the release workflow using tag v0.1.2 and confirmed the GHCR image was pushed successfully. Verified clean pulls for both ghcr.io/mysteri0k1ng/devops-intro/quicknotes:v0.1.2 and ghcr.io/mysteri0k1ng/devops-intro/quicknotes:latest. Deployed the same released image to Hugging Face Spaces and confirmed /health returned HTTP 200 with QuickNotes JSON. Measured Hugging Face warm latency and three cold-start requests after idle windows. For the bonus, exposed the local QuickNotes service through Cloudflare Tunnel, verified public access, measured 50 warm requests, and compared p50/p95 latency with Hugging Face Spaces.

Checklist

  • Title is a clear sentence (≤ 70 chars)
  • Commits are signed (git log --show-signature)
  • submissions/lab10.md updated

Signed-off-by: Nikita Schankin <nikita.sshankin@gmail.com>
Signed-off-by: Nikita Schankin <nikita.sshankin@gmail.com>
Signed-off-by: Nikita Schankin <nikita.sshankin@gmail.com>
Signed-off-by: Nikita Schankin <nikita.sshankin@gmail.com>
Signed-off-by: Nikita Schankin <nikita.sshankin@gmail.com>
Signed-off-by: Nikita Schankin <nikita.sshankin@gmail.com>
Signed-off-by: Nikita Schankin <nikita.sshankin@gmail.com>
Signed-off-by: Nikita Schankin <nikita.sshankin@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant