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.
docs(lab1): submit signed Lab 1 work #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
docs(lab1): submit signed Lab 1 work #1
Changes from all commits
82b4372758870171ab93ffce287800511868b4f005File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Lab 1 submission
PS C:\Users\minim\projects\DevOps-Intro\app> curl.exe -s http://localhost:8080/health | python -m json.tool
{
"notes": 4,
"status": "ok"
}
PS C:\Users\minim\projects\DevOps-Intro\app> curl.exe -s http://localhost:8080/notes | python -m json.tool
[
{
"id": 1,
"title": "Welcome to QuickNotes",
"body": "This is the project you'll containerize, deploy, monitor, and harden across all 10 labs.",
"created_at": "2026-01-15T10:00:00Z"
},
{
"id": 2,
"title": "Read app/main.go first",
"body": "Start by understanding the entry point ??? env vars, signal handling, graceful shutdown.",
"created_at": "2026-01-15T10:05:00Z"
},
{
"id": 3,
"title": "DevOps mantra",
"body": "If it hurts, do it more often.",
"created_at": "2026-01-15T10:10:00Z"
},
{
"id": 4,
"title": "Endpoint cheat-sheet",
"body": "GET /notes GET /notes/{id} POST /notes DELETE /notes/{id} GET /health GET /metrics",
"created_at": "2026-01-15T10:15:00Z"
}
]
PS C:\Users\minim\projects\DevOps-Intro\app> '{"title":"hello","body":"first POST"}' | Set-Content -NoNewline -Encoding ASCII .\note.json
PS C:\Users\minim\projects\DevOps-Intro\app> Get-Content .\note.json
{"title":"hello","body":"first POST"}
PS C:\Users\minim\projects\DevOps-Intro\app> curl.exe -s -X POST "http://localhost:8080/notes" `
{
"id": 5,
"title": "hello",
"body": "first POST",
"created_at": "2026-06-03T23:53:54.212023Z"
}
PS C:\Users\minim\projects\DevOps-Intro\app> git log --show-signature -1
commit f65098490b121b04b0f3f8149d605c02b1fbf2ee (HEAD -> feature/lab1)
Good "git" signature for m.mifsudbonici@qdeep.net with ED25519 key SHA256:BYnjQCewIJlPo99DT0FmCjek0kH6RojxB09YF9ynV4o
Author: Maximilian Mifsud Bonici m.mifsudbonici@qdeep.net
Date: Thu Jun 4 03:02:35 2026 +0300
docs(lab1): start submission
Signed-off-by: Maximilian Mifsud Bonici m.mifsudbonici@qdeep.net
Signed commits matter because they prove a commit really came from the key-holder and was not quietly swapped or forged by someone else, which is exactly the kind of supply-chain paranoia the xz-utils backdoor made painfully reasonable. In March 2024, malicious code was inserted into xz-utils through a trusted maintainer path, creating a backdoor that could affect SSH on some Linux systems, so signed commits give reviewers one extra way to verify authorship and detect suspicious changes before everyone collectively installs disaster.