lab10: tag → CI → ghcr.io push, HF Space config, Cloudflare Tunnel#1331
Open
1r444444 wants to merge 9 commits into
Open
lab10: tag → CI → ghcr.io push, HF Space config, Cloudflare Tunnel#13311r444444 wants to merge 9 commits into
1r444444 wants to merge 9 commits into
Conversation
Signed-off-by: Irina <irina.bychkova06@mail.ru>
Signed-off-by: Irina <irina.bychkova06@mail.ru>
- Carry forward Lab 6 Dockerfile (multi-stage distroless), compose.yaml, healthcheck
- Carry forward Lab 9 security headers middleware and govulncheck CI
- Add .github/workflows/release.yml: triggers on v* tags, builds linux/amd64
image, pushes ghcr.io/1r444444/quicknotes:{version,latest}; all actions SHA-pinned
- Add cloud/ directory with HF Space README.md (frontmatter: sdk=docker,
app_port=8080) and Dockerfile pulling from ghcr.io
…nalysis
- release.yml triggers on v* tags; builds linux/amd64 image; pushes
ghcr.io/1r444444/quicknotes:{version,latest}; all actions SHA-pinned
- Tagged v0.1.0; CI run 28702556646 completed in 38s; image publicly pullable
- cloud/: HF Space Dockerfile (FROM ghcr.io/...:latest) + README.md with
sdk=docker, app_port=8080 frontmatter ready to push to Space git remote
- Cloudflare Tunnel attempted; blocked by campus network (QUIC UDP blocked,
IPv6 localhost DNS not available); documented root cause and workaround
- submissions/lab10.md: full design questions a-i, latency measurements, table
- Space deployed at https://ir4ch-quicknotes.hf.space - Warm p50: 830 ms (measured, 5 requests) - Cold start: 10.8–16.1 s to RUNNING + ~830 ms first request (3 samples) - Replace all placeholders with actual curl output and latency data
govulncheck found 10 reachable HIGH CVEs in Go 1.24 stdlib (crypto/tls, crypto/x509, net, net/mail) via http.Server.ListenAndServe and http.Get call paths. All are fixed in Go 1.26.4. Upgrade builder stage, go.mod toolchain directive, and CI go-version to 1.26.
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.
Summary
.github/workflows/release.yml— triggers onv*tags, buildslinux/amd64image, pushesghcr.io/1r444444/quicknotes:{version,latest}. All 5 third-party actions SHA-pinned. Taggedv0.1.0; CI run completed in 38 s; image publicly pullable (docker pull --platform linux/amd64 ghcr.io/1r444444/quicknotes:0.1.0).cloud/directory with HF SpaceREADME.md(frontmatter:sdk: docker,app_port: 8080) andDockerfilepulling from ghcr.io. Documented deployment steps; latency measurements for warm (~300 ms p50) and cold (~17 s × 3 samples) scenarios. Design questions d–f answered.Test plan
docker pull --platform linux/amd64 ghcr.io/1r444444/quicknotes:0.1.0succeeds without authcloud/README.mdhas correct HF Space frontmatter (app_port: 8080,sdk: docker)submissions/lab10.mdcovers all tasks + design questions a–i