Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
13 changes: 13 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Goal
<!-- What does this PR accomplish? -->

## Changes
<!-- What was modified? -->

## Testing
<!-- How was it verified? -->

## Checklist
- [ ] Clear, descriptive PR title
- [ ] Documentation updated
- [ ] No secrets or large temporary files committed
Binary file added labs/.DS_Store
Binary file not shown.
Binary file added labs/images/.DS_Store
Binary file not shown.
Binary file added labs/images/ssh_config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added labs/images/template.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added labs/images/verified.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions labs/submission1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Lab 1 Submission — Introduction to DevOps & Git Workflow

## Goal
The goal of this lab is to learn the basic Git workflow (fork → branch → PR) and practice secure commit practices by setting up SSH commit signature verification and standardizing collaboration with a PR template.

---

## Task 1: SSH Commit Signature Verification

### 1.1 Importance of Signed Commits
**Why is commit signing important in DevOps workflows?**
Commit signing is crucial for security and trust in a DevOps environment. It allows verification that the code was actually written by the person claimed in the commit author field. This prevents "identity spoofing," where a malicious actor could push bad code pretending to be a trusted developer. It ensures the integrity and authenticity of the codebase.

### 1.2 Evidence of Setup
Below is the configuration showing that Git is set up to use my SSH key for signing.

![SSH Config Setup](images/ssh_config.png)

### 1.3 Signed Commit Verification
I have successfully set up SSH signing. Below is the proof that my commits are marked as "Verified" on GitHub.

![Verified Badge](images/verified.png)

---

## Task 2: PR Template & Checklist

### 2.1 PR Template Setup
I created a `.github/pull_request_template.md` file in the `main` branch to standardize all future pull requests.

### 2.2 Template in Action
When I opened a Pull Request from `feature/lab1`, the description field was automatically populated with the template structure.

![PR Template Autofill](images/template.png)

### 2.3 Analysis
**How do PR templates improve collaboration?**
PR templates ensure consistency across the team. They force every developer to answer key questions (What is the goal? How was it tested?) before asking for a review. This saves time for reviewers because they don't have to guess the context, and the checklist reminds developers of critical steps (like checking for secrets) that might otherwise be forgotten.

---

## Conclusion
I have successfully configured SSH signing and set up a PR template, fulfilling the requirements for a secure and standardized Git workflow.