Skip to content

lab3: CI/CD PR-gate for QuickNotes#1051

Open
1r444444 wants to merge 12 commits into
inno-devops-labs:mainfrom
1r444444:feature/lab3
Open

lab3: CI/CD PR-gate for QuickNotes#1051
1r444444 wants to merge 12 commits into
inno-devops-labs:mainfrom
1r444444:feature/lab3

Conversation

@1r444444

@1r444444 1r444444 commented Jun 16, 2026

Copy link
Copy Markdown

Lab 3 — CI/CD: A PR-Gated Pipeline for QuickNotes

Path: GitHub Actions

What's included

  • .github/workflows/ci.yml — three independent jobs (vet, test, lint) + ci-ok aggregation gate
  • submissions/lab3.md — design question answers, timing table (to be filled after screenshots), bonus section

Pipeline features

Feature Detail
Trigger Push/PR to main, paths app/** + ci.yml
Runner ubuntu-24.04 (pinned)
Go versions 1.23 + 1.24 matrix, fail-fast: false
SHA pinning All third-party actions pinned to full 40-char commit SHA
Permissions contents: read at workflow level
Cache actions/setup-go cache for module + build cache
Lint golangci-lint v2.5.0 (pinned)
Gate ci-ok aggregation job — single required check for branch protection

1r444444 added 9 commits June 9, 2026 09:25
Signed-off-by: Irina <irina.bychkova06@mail.ru>
Signed-off-by: Irina <irina.bychkova06@mail.ru>
- Three independent jobs: go vet, go test -race, golangci-lint v2.5.0
- Runtime pinned to ubuntu-24.04; all third-party actions pinned by SHA
- Go 1.23/1.24 build matrix with fail-fast: false
- Module+build cache via actions/setup-go cache: true
- Path filter: only app/** and ci.yml trigger the pipeline
- ci-ok aggregation job as the single required branch-protection check
- submissions/lab3.md with design question answers

Signed-off-by: Irina Bychkova <irina.bychkov411@gmail.com>
Signed-off-by: Irina <irina.bychkova06@mail.ru>
actions/checkout v4.2.2 → v6.0.3
actions/setup-go v5.5.0 → v6.4.0

Signed-off-by: Irina Bychkova <irina.bychkov411@gmail.com>
Signed-off-by: Irina <irina.bychkova06@mail.ru>
go.mod declares minimum go 1.24; Go 1.23 with GOTOOLCHAIN=local
refuses to run the module, causing vet and test to fail.

Signed-off-by: Irina Bychkova <irina.bychkov411@gmail.com>
Signed-off-by: Irina <irina.bychkova06@mail.ru>
…gate

Signed-off-by: Irina Bychkova <irina.bychkov411@gmail.com>
Signed-off-by: Irina <irina.bychkova06@mail.ru>
Signed-off-by: Irina Bychkova <irina.bychkov411@gmail.com>
Signed-off-by: Irina <irina.bychkova06@mail.ru>
- Add green/red/fix CI run links
- Add measured per-step timing table from actual runs
- Add branch protection screenshot
- Complete bottleneck analysis and before/after timing table

Signed-off-by: Irina Bychkova <irina.bychkov411@gmail.com>
Signed-off-by: Irina <irina.bychkova06@mail.ru>
Signed-off-by: Irina Bychkova <irina.bychkov411@gmail.com>
Signed-off-by: Irina <irina.bychkova06@mail.ru>
1r444444 added 3 commits June 16, 2026 14:19
…ction evidence

Signed-off-by: Irina Bychkova <irina.bychkov411@gmail.com>
Signed-off-by: Irina <irina.bychkova06@mail.ru>
This commit touches only submissions/lab3.md (outside app/ and
.github/workflows/ci.yml), so the path filter prevents any CI run
from being triggered — demonstrating Task 2.3.

Signed-off-by: Irina Bychkova <irina.bychkov411@gmail.com>
Signed-off-by: Irina <irina.bychkova06@mail.ru>
Signed-off-by: Irina Bychkova <irina.bychkov411@gmail.com>
Signed-off-by: Irina <irina.bychkova06@mail.ru>
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