Skip to content

Lab 1: SSH commit signing and PR template#989

Open
rikire wants to merge 7 commits into
inno-devops-labs:mainfrom
rikire:feature/lab1
Open

Lab 1: SSH commit signing and PR template#989
rikire wants to merge 7 commits into
inno-devops-labs:mainfrom
rikire:feature/lab1

Conversation

@rikire

@rikire rikire commented Jun 9, 2026

Copy link
Copy Markdown

Goal

Submit Lab 1 – DevOps Foundations: configure SSH commit signing, run QuickNotes locally, add a PR template, and open the first pull request to the course repository.

Changes

  • Configured global Git settings for SSH commit signing (gpg.format, user.signingkey, commit.gpgsign, tag.gpgsign).
  • Ran QuickNotes locally and verified endpoints /health, /notes, and POST /notes with curl.
  • Created submissions/lab1.md with required outputs, signature verification, Verified badge screenshot, and community section.
  • Added .github/pull_request_template.md to the main branch of my fork.
  • (Bonus) Enabled branch protection on main (require signed commits + pull request) and demonstrated rejection of an unsigned push.

Testing

  • Confirmed QuickNotes responds with correct JSON using curl.exe (PowerShell) – outputs added to submissions/lab1.md.
  • Verified signed commits with git log --show-signature -1 (shows "Good git signature").
  • Pushed an unsigned commit to main – got remote rejection: remote: error: GH006: Protected branch update failed ... Commits must have verified signatures.
  • Checked that every commit in this PR shows a green "Verified" badge on GitHub.

Checklist

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

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