Skip to content

docs(lab11): reproducible builds of QuickNotes with Nix - #1497

Open
HNS2112 wants to merge 9 commits into
inno-devops-labs:mainfrom
HNS2112:feature/lab11
Open

docs(lab11): reproducible builds of QuickNotes with Nix#1497
HNS2112 wants to merge 9 commits into
inno-devops-labs:mainfrom
HNS2112:feature/lab11

Conversation

@HNS2112

@HNS2112 HNS2112 commented Aug 10, 2026

Copy link
Copy Markdown

Goal

Lab 11 submission: a Nix flake building QuickNotes reproducibly, extended to a deterministic OCI image, with two independent environments producing identical hashes and a CI gate asserting it on every push.

Changes

  • flake.nix + flake.lock — pinned nixpkgs, buildGoModule package, dockerTools image, devShell
  • .github/workflows/nix-repro.yml — two parallel runners, digest comparison job
  • evidence/lab11/ — hashes from both environments, Lab 6 comparison, CI logs
  • submissions/lab11.md — report covering Tasks 1–2 and the bonus

Testing

Task 1: identical store hash sha256:05k94m87…igkl0a in two independent containers; identical derivation path too.
Task 2: identical image digest ada0ff2f…78b6f; the Lab 6 Dockerfile built twice with --no-cache gives two different digests.
Bonus: green run 31408151132, deliberately broken red run 31408954858, green again after revert.

Checklist

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

HNS2112 added 9 commits August 3, 2026 22:31
Signed-off-by: Elvira <239804565+HNS2112@users.noreply.github.com>
Signed-off-by: HNS <239804565+HNS2112@users.noreply.github.com>
Signed-off-by: Elvira <239804565+HNS2112@users.noreply.github.com>
Signed-off-by: Elvira <239804565+HNS2112@users.noreply.github.com>
Signed-off-by: Elvira <239804565+HNS2112@users.noreply.github.com>
Signed-off-by: Elvira <239804565+HNS2112@users.noreply.github.com>
Signed-off-by: Elvira <239804565+HNS2112@users.noreply.github.com>
Signed-off-by: Elvira <239804565+HNS2112@users.noreply.github.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