From e21f0359b83b5f8756442c059ee2f4dd78e786a5 Mon Sep 17 00:00:00 2001 From: iamdevdhanush Date: Thu, 15 Jan 2026 21:18:18 +0530 Subject: [PATCH 1/2] chore: migrate existing content to level-based structure --- .../ISSUE_TEMPLATE/bug_report.md | 0 .../ISSUE_TEMPLATE/feature_request.md | 0 .../ISSUE_TEMPLATE/good_first_issue.md | 0 .../PULL_REQUEST_TEMPLATE.md | 0 .../grep-sed-awk.md => CODE_OF_CONDUCT.md | 0 shell-scripting/basics/hello.sh => LICENSE | 0 generate_level_readmes.sh | 93 +++++++++++++++++++ init_devops_repo.sh | 56 +++++++++++ level-0-linux/README.md | 50 ++++++++++ {linux => level-0-linux/concepts}/README.md | 0 .../concepts/advanced/process-management.md | 0 .../concepts}/basics/file-permissions.md | 0 {linux => level-0-linux/concepts}/commands.md | 0 .../concepts/intermediate/grep-sed-awk.md | 0 .../tasks}/log-cleaner-backup/Readme.md | 0 .../tasks}/log-cleaner-backup/log_cleaner.sh | 0 .../tasks}/system-health-auditor/readme.md | 0 .../system-health-auditor/system_audit.sh | 0 level-1-shell-scripting/README.md | 50 ++++++++++ .../basics/basics/hello.sh | 0 .../basics/basics/loops.sh | 0 .../basics/basics/variables.sh | 0 .../basics/challenges/log-cleanup.md | 0 .../basics/intermediate/backup-script.sh | 0 level-2-git-github/README.md | 50 ++++++++++ level-3-docker/README.md | 50 ++++++++++ .../docker-basics}/Dockerfile | 0 .../docker-basics}/README.md | 0 level-4-kubernetes/README.md | 50 ++++++++++ level-4-kubernetes/k8s-basics/deployment.yaml | 0 level-4-kubernetes/k8s-basics/pod.yaml | 0 level-4-kubernetes/k8s-basics/service.yaml | 0 level-5-ci-cd/README.md | 50 ++++++++++ level-6-cloud-aws/README.md | 50 ++++++++++ migrate_to_level_structure.sh | 51 ++++++++++ resources/cheatsheets.md | 0 resources/interview-questions.md | 0 resources/recommended-tools.md | 0 roadmap/devops-roadmap.md | 0 39 files changed, 550 insertions(+) rename kubernetes/basics/deployment.yaml => .github/ISSUE_TEMPLATE/bug_report.md (100%) rename kubernetes/basics/pod.yaml => .github/ISSUE_TEMPLATE/feature_request.md (100%) rename kubernetes/basics/service.yaml => .github/ISSUE_TEMPLATE/good_first_issue.md (100%) rename linux/advanced/process-management.md => .github/PULL_REQUEST_TEMPLATE.md (100%) rename linux/intermediate/grep-sed-awk.md => CODE_OF_CONDUCT.md (100%) rename shell-scripting/basics/hello.sh => LICENSE (100%) mode change 100755 => 100644 create mode 100755 generate_level_readmes.sh create mode 100755 init_devops_repo.sh create mode 100644 level-0-linux/README.md rename {linux => level-0-linux/concepts}/README.md (100%) rename shell-scripting/basics/loops.sh => level-0-linux/concepts/advanced/process-management.md (100%) rename {linux => level-0-linux/concepts}/basics/file-permissions.md (100%) rename {linux => level-0-linux/concepts}/commands.md (100%) rename shell-scripting/basics/variables.sh => level-0-linux/concepts/intermediate/grep-sed-awk.md (100%) rename {linux-cli-projects => level-0-linux/tasks}/log-cleaner-backup/Readme.md (100%) rename {linux-cli-projects => level-0-linux/tasks}/log-cleaner-backup/log_cleaner.sh (100%) rename {linux-cli-projects => level-0-linux/tasks}/system-health-auditor/readme.md (100%) rename {linux-cli-projects => level-0-linux/tasks}/system-health-auditor/system_audit.sh (100%) create mode 100644 level-1-shell-scripting/README.md rename shell-scripting/challenges/log-cleanup.md => level-1-shell-scripting/basics/basics/hello.sh (100%) mode change 100644 => 100755 rename shell-scripting/intermediate/backup-script.sh => level-1-shell-scripting/basics/basics/loops.sh (100%) create mode 100644 level-1-shell-scripting/basics/basics/variables.sh create mode 100644 level-1-shell-scripting/basics/challenges/log-cleanup.md create mode 100644 level-1-shell-scripting/basics/intermediate/backup-script.sh create mode 100644 level-2-git-github/README.md create mode 100644 level-3-docker/README.md rename {docker/basics => level-3-docker/docker-basics}/Dockerfile (100%) rename {docker/basics => level-3-docker/docker-basics}/README.md (100%) create mode 100644 level-4-kubernetes/README.md create mode 100644 level-4-kubernetes/k8s-basics/deployment.yaml create mode 100644 level-4-kubernetes/k8s-basics/pod.yaml create mode 100644 level-4-kubernetes/k8s-basics/service.yaml create mode 100644 level-5-ci-cd/README.md create mode 100644 level-6-cloud-aws/README.md create mode 100755 migrate_to_level_structure.sh create mode 100644 resources/cheatsheets.md create mode 100644 resources/interview-questions.md create mode 100644 resources/recommended-tools.md create mode 100644 roadmap/devops-roadmap.md diff --git a/kubernetes/basics/deployment.yaml b/.github/ISSUE_TEMPLATE/bug_report.md similarity index 100% rename from kubernetes/basics/deployment.yaml rename to .github/ISSUE_TEMPLATE/bug_report.md diff --git a/kubernetes/basics/pod.yaml b/.github/ISSUE_TEMPLATE/feature_request.md similarity index 100% rename from kubernetes/basics/pod.yaml rename to .github/ISSUE_TEMPLATE/feature_request.md diff --git a/kubernetes/basics/service.yaml b/.github/ISSUE_TEMPLATE/good_first_issue.md similarity index 100% rename from kubernetes/basics/service.yaml rename to .github/ISSUE_TEMPLATE/good_first_issue.md diff --git a/linux/advanced/process-management.md b/.github/PULL_REQUEST_TEMPLATE.md similarity index 100% rename from linux/advanced/process-management.md rename to .github/PULL_REQUEST_TEMPLATE.md diff --git a/linux/intermediate/grep-sed-awk.md b/CODE_OF_CONDUCT.md similarity index 100% rename from linux/intermediate/grep-sed-awk.md rename to CODE_OF_CONDUCT.md diff --git a/shell-scripting/basics/hello.sh b/LICENSE old mode 100755 new mode 100644 similarity index 100% rename from shell-scripting/basics/hello.sh rename to LICENSE diff --git a/generate_level_readmes.sh b/generate_level_readmes.sh new file mode 100755 index 0000000..cbcb232 --- /dev/null +++ b/generate_level_readmes.sh @@ -0,0 +1,93 @@ +#!/bin/bash + +set -e + +create_readme () { + LEVEL_NAME=$1 + LEVEL_DESC=$2 + DIR=$3 + + cat < $DIR/README.md +# $LEVEL_NAME + +## ๐Ÿ“Œ Objective +$LEVEL_DESC + +--- + +## ๐Ÿง  What You Will Learn +- Core concepts related to this level +- Hands-on practical skills +- Real-world DevOps use cases + +--- + +## ๐Ÿ“‚ Folder Structure +- \`concepts/\` or \`basics/\` โ†’ Theory and explanations +- \`tasks/\` or \`projects/\` โ†’ Hands-on exercises +- \`solutions/\` โ†’ Reference implementations (optional) + +--- + +## โœ… Prerequisites +- Basic Linux knowledge +- Willingness to practice (not just read) + +--- + +## ๐Ÿงช How to Use This Level +1. Read the concepts +2. Complete the tasks +3. Try projects without looking at solutions +4. Compare with solutions only after attempting + +--- + +## ๐Ÿค Contribution Guidelines +You can contribute by: +- Adding tasks +- Improving explanations +- Fixing mistakes +- Adding real-world examples + +Follow the main \`CONTRIBUTING.md\` rules. + +--- + +## ๐Ÿš€ Progression +Complete this level before moving to the next one in the roadmap. + +Happy Learning & Building ๐Ÿ› ๏ธ +EOF +} + +create_readme "Level 0: Linux Foundations" \ +"Learn essential Linux concepts required for DevOps, including filesystems, processes, networking, and permissions." \ +"level-0-linux" + +create_readme "Level 1: Shell Scripting" \ +"Learn how to automate tasks using Bash shell scripting with real-world DevOps examples." \ +"level-1-shell-scripting" + +create_readme "Level 2: Git & GitHub" \ +"Understand version control, collaboration workflows, and open-source contribution using Git and GitHub." \ +"level-2-git-github" + +create_readme "Level 3: Docker" \ +"Learn containerization fundamentals, Dockerfiles, images, containers, and mini-projects." \ +"level-3-docker" + +create_readme "Level 4: Kubernetes" \ +"Understand Kubernetes architecture, deployments, services, and hands-on labs." \ +"level-4-kubernetes" + +create_readme "Level 5: CI/CD" \ +"Learn Continuous Integration and Continuous Deployment using GitHub Actions and Jenkins." \ +"level-5-ci-cd" + +create_readme "Level 6: Cloud (AWS)" \ +"Learn AWS cloud fundamentals and how DevOps tools integrate with cloud infrastructure." \ +"level-6-cloud-aws" + +echo "โœ… README templates generated for all levels." + diff --git a/init_devops_repo.sh b/init_devops_repo.sh new file mode 100755 index 0000000..72f9367 --- /dev/null +++ b/init_devops_repo.sh @@ -0,0 +1,56 @@ +#!/bin/bash + +set -e + +echo "๐Ÿš€ Initializing DevOps Open Source Repository Structure..." + +# Root-level files +touch README.md CONTRIBUTING.md CODE_OF_CONDUCT.md LICENSE + +# GitHub configs +mkdir -p .github/{workflows,ISSUE_TEMPLATE} +touch .github/workflows/ci.yml +touch .github/ISSUE_TEMPLATE/{bug_report.md,feature_request.md,good_first_issue.md} +touch .github/PULL_REQUEST_TEMPLATE.md + +# Roadmap +mkdir -p roadmap +touch roadmap/devops-roadmap.md + +# Level 0 - Linux +mkdir -p level-0-linux/{concepts,tasks,solutions} +touch level-0-linux/README.md + +# Level 1 - Shell Scripting +mkdir -p level-1-shell-scripting/{basics,projects,solutions} +touch level-1-shell-scripting/README.md + +# Level 2 - Git & GitHub +mkdir -p level-2-git-github/{git-basics,github-workflows,tasks} +touch level-2-git-github/README.md + +# Level 3 - Docker +mkdir -p level-3-docker/{docker-basics,dockerfiles,mini-projects,solutions} +touch level-3-docker/README.md + +# Level 4 - Kubernetes +mkdir -p level-4-kubernetes/{k8s-basics,manifests,labs,solutions} +touch level-4-kubernetes/README.md + +# Level 5 - CI/CD +mkdir -p level-5-ci-cd/{github-actions,jenkins,pipelines} +touch level-5-ci-cd/README.md + +# Level 6 - Cloud (AWS) +mkdir -p level-6-cloud-aws/{aws-basics,ec2,iam,s3,projects} +touch level-6-cloud-aws/README.md + +# Challenges +mkdir -p challenges/{30-days-of-devops,weekly-challenges} + +# Resources +mkdir -p resources +touch resources/{interview-questions.md,cheatsheets.md,recommended-tools.md} + +echo "โœ… Repository structure created successfully." + diff --git a/level-0-linux/README.md b/level-0-linux/README.md new file mode 100644 index 0000000..f8bd810 --- /dev/null +++ b/level-0-linux/README.md @@ -0,0 +1,50 @@ +# Level 0: Linux Foundations + +## ๐Ÿ“Œ Objective +Learn essential Linux concepts required for DevOps, including filesystems, processes, networking, and permissions. + +--- + +## ๐Ÿง  What You Will Learn +- Core concepts related to this level +- Hands-on practical skills +- Real-world DevOps use cases + +--- + +## ๐Ÿ“‚ Folder Structure +- `concepts/` or `basics/` โ†’ Theory and explanations +- `tasks/` or `projects/` โ†’ Hands-on exercises +- `solutions/` โ†’ Reference implementations (optional) + +--- + +## โœ… Prerequisites +- Basic Linux knowledge +- Willingness to practice (not just read) + +--- + +## ๐Ÿงช How to Use This Level +1. Read the concepts +2. Complete the tasks +3. Try projects without looking at solutions +4. Compare with solutions only after attempting + +--- + +## ๐Ÿค Contribution Guidelines +You can contribute by: +- Adding tasks +- Improving explanations +- Fixing mistakes +- Adding real-world examples + +Follow the main `CONTRIBUTING.md` rules. + +--- + +## ๐Ÿš€ Progression +Complete this level before moving to the next one in the roadmap. + +Happy Learning & Building ๐Ÿ› ๏ธ diff --git a/linux/README.md b/level-0-linux/concepts/README.md similarity index 100% rename from linux/README.md rename to level-0-linux/concepts/README.md diff --git a/shell-scripting/basics/loops.sh b/level-0-linux/concepts/advanced/process-management.md similarity index 100% rename from shell-scripting/basics/loops.sh rename to level-0-linux/concepts/advanced/process-management.md diff --git a/linux/basics/file-permissions.md b/level-0-linux/concepts/basics/file-permissions.md similarity index 100% rename from linux/basics/file-permissions.md rename to level-0-linux/concepts/basics/file-permissions.md diff --git a/linux/commands.md b/level-0-linux/concepts/commands.md similarity index 100% rename from linux/commands.md rename to level-0-linux/concepts/commands.md diff --git a/shell-scripting/basics/variables.sh b/level-0-linux/concepts/intermediate/grep-sed-awk.md similarity index 100% rename from shell-scripting/basics/variables.sh rename to level-0-linux/concepts/intermediate/grep-sed-awk.md diff --git a/linux-cli-projects/log-cleaner-backup/Readme.md b/level-0-linux/tasks/log-cleaner-backup/Readme.md similarity index 100% rename from linux-cli-projects/log-cleaner-backup/Readme.md rename to level-0-linux/tasks/log-cleaner-backup/Readme.md diff --git a/linux-cli-projects/log-cleaner-backup/log_cleaner.sh b/level-0-linux/tasks/log-cleaner-backup/log_cleaner.sh similarity index 100% rename from linux-cli-projects/log-cleaner-backup/log_cleaner.sh rename to level-0-linux/tasks/log-cleaner-backup/log_cleaner.sh diff --git a/linux-cli-projects/system-health-auditor/readme.md b/level-0-linux/tasks/system-health-auditor/readme.md similarity index 100% rename from linux-cli-projects/system-health-auditor/readme.md rename to level-0-linux/tasks/system-health-auditor/readme.md diff --git a/linux-cli-projects/system-health-auditor/system_audit.sh b/level-0-linux/tasks/system-health-auditor/system_audit.sh similarity index 100% rename from linux-cli-projects/system-health-auditor/system_audit.sh rename to level-0-linux/tasks/system-health-auditor/system_audit.sh diff --git a/level-1-shell-scripting/README.md b/level-1-shell-scripting/README.md new file mode 100644 index 0000000..4ebe1fd --- /dev/null +++ b/level-1-shell-scripting/README.md @@ -0,0 +1,50 @@ +# Level 1: Shell Scripting + +## ๐Ÿ“Œ Objective +Learn how to automate tasks using Bash shell scripting with real-world DevOps examples. + +--- + +## ๐Ÿง  What You Will Learn +- Core concepts related to this level +- Hands-on practical skills +- Real-world DevOps use cases + +--- + +## ๐Ÿ“‚ Folder Structure +- `concepts/` or `basics/` โ†’ Theory and explanations +- `tasks/` or `projects/` โ†’ Hands-on exercises +- `solutions/` โ†’ Reference implementations (optional) + +--- + +## โœ… Prerequisites +- Basic Linux knowledge +- Willingness to practice (not just read) + +--- + +## ๐Ÿงช How to Use This Level +1. Read the concepts +2. Complete the tasks +3. Try projects without looking at solutions +4. Compare with solutions only after attempting + +--- + +## ๐Ÿค Contribution Guidelines +You can contribute by: +- Adding tasks +- Improving explanations +- Fixing mistakes +- Adding real-world examples + +Follow the main `CONTRIBUTING.md` rules. + +--- + +## ๐Ÿš€ Progression +Complete this level before moving to the next one in the roadmap. + +Happy Learning & Building ๐Ÿ› ๏ธ diff --git a/shell-scripting/challenges/log-cleanup.md b/level-1-shell-scripting/basics/basics/hello.sh old mode 100644 new mode 100755 similarity index 100% rename from shell-scripting/challenges/log-cleanup.md rename to level-1-shell-scripting/basics/basics/hello.sh diff --git a/shell-scripting/intermediate/backup-script.sh b/level-1-shell-scripting/basics/basics/loops.sh similarity index 100% rename from shell-scripting/intermediate/backup-script.sh rename to level-1-shell-scripting/basics/basics/loops.sh diff --git a/level-1-shell-scripting/basics/basics/variables.sh b/level-1-shell-scripting/basics/basics/variables.sh new file mode 100644 index 0000000..e69de29 diff --git a/level-1-shell-scripting/basics/challenges/log-cleanup.md b/level-1-shell-scripting/basics/challenges/log-cleanup.md new file mode 100644 index 0000000..e69de29 diff --git a/level-1-shell-scripting/basics/intermediate/backup-script.sh b/level-1-shell-scripting/basics/intermediate/backup-script.sh new file mode 100644 index 0000000..e69de29 diff --git a/level-2-git-github/README.md b/level-2-git-github/README.md new file mode 100644 index 0000000..2b8c399 --- /dev/null +++ b/level-2-git-github/README.md @@ -0,0 +1,50 @@ +# Level 2: Git & GitHub + +## ๐Ÿ“Œ Objective +Understand version control, collaboration workflows, and open-source contribution using Git and GitHub. + +--- + +## ๐Ÿง  What You Will Learn +- Core concepts related to this level +- Hands-on practical skills +- Real-world DevOps use cases + +--- + +## ๐Ÿ“‚ Folder Structure +- `concepts/` or `basics/` โ†’ Theory and explanations +- `tasks/` or `projects/` โ†’ Hands-on exercises +- `solutions/` โ†’ Reference implementations (optional) + +--- + +## โœ… Prerequisites +- Basic Linux knowledge +- Willingness to practice (not just read) + +--- + +## ๐Ÿงช How to Use This Level +1. Read the concepts +2. Complete the tasks +3. Try projects without looking at solutions +4. Compare with solutions only after attempting + +--- + +## ๐Ÿค Contribution Guidelines +You can contribute by: +- Adding tasks +- Improving explanations +- Fixing mistakes +- Adding real-world examples + +Follow the main `CONTRIBUTING.md` rules. + +--- + +## ๐Ÿš€ Progression +Complete this level before moving to the next one in the roadmap. + +Happy Learning & Building ๐Ÿ› ๏ธ diff --git a/level-3-docker/README.md b/level-3-docker/README.md new file mode 100644 index 0000000..ab07a7c --- /dev/null +++ b/level-3-docker/README.md @@ -0,0 +1,50 @@ +# Level 3: Docker + +## ๐Ÿ“Œ Objective +Learn containerization fundamentals, Dockerfiles, images, containers, and mini-projects. + +--- + +## ๐Ÿง  What You Will Learn +- Core concepts related to this level +- Hands-on practical skills +- Real-world DevOps use cases + +--- + +## ๐Ÿ“‚ Folder Structure +- `concepts/` or `basics/` โ†’ Theory and explanations +- `tasks/` or `projects/` โ†’ Hands-on exercises +- `solutions/` โ†’ Reference implementations (optional) + +--- + +## โœ… Prerequisites +- Basic Linux knowledge +- Willingness to practice (not just read) + +--- + +## ๐Ÿงช How to Use This Level +1. Read the concepts +2. Complete the tasks +3. Try projects without looking at solutions +4. Compare with solutions only after attempting + +--- + +## ๐Ÿค Contribution Guidelines +You can contribute by: +- Adding tasks +- Improving explanations +- Fixing mistakes +- Adding real-world examples + +Follow the main `CONTRIBUTING.md` rules. + +--- + +## ๐Ÿš€ Progression +Complete this level before moving to the next one in the roadmap. + +Happy Learning & Building ๐Ÿ› ๏ธ diff --git a/docker/basics/Dockerfile b/level-3-docker/docker-basics/Dockerfile similarity index 100% rename from docker/basics/Dockerfile rename to level-3-docker/docker-basics/Dockerfile diff --git a/docker/basics/README.md b/level-3-docker/docker-basics/README.md similarity index 100% rename from docker/basics/README.md rename to level-3-docker/docker-basics/README.md diff --git a/level-4-kubernetes/README.md b/level-4-kubernetes/README.md new file mode 100644 index 0000000..24b2754 --- /dev/null +++ b/level-4-kubernetes/README.md @@ -0,0 +1,50 @@ +# Level 4: Kubernetes + +## ๐Ÿ“Œ Objective +Understand Kubernetes architecture, deployments, services, and hands-on labs. + +--- + +## ๐Ÿง  What You Will Learn +- Core concepts related to this level +- Hands-on practical skills +- Real-world DevOps use cases + +--- + +## ๐Ÿ“‚ Folder Structure +- `concepts/` or `basics/` โ†’ Theory and explanations +- `tasks/` or `projects/` โ†’ Hands-on exercises +- `solutions/` โ†’ Reference implementations (optional) + +--- + +## โœ… Prerequisites +- Basic Linux knowledge +- Willingness to practice (not just read) + +--- + +## ๐Ÿงช How to Use This Level +1. Read the concepts +2. Complete the tasks +3. Try projects without looking at solutions +4. Compare with solutions only after attempting + +--- + +## ๐Ÿค Contribution Guidelines +You can contribute by: +- Adding tasks +- Improving explanations +- Fixing mistakes +- Adding real-world examples + +Follow the main `CONTRIBUTING.md` rules. + +--- + +## ๐Ÿš€ Progression +Complete this level before moving to the next one in the roadmap. + +Happy Learning & Building ๐Ÿ› ๏ธ diff --git a/level-4-kubernetes/k8s-basics/deployment.yaml b/level-4-kubernetes/k8s-basics/deployment.yaml new file mode 100644 index 0000000..e69de29 diff --git a/level-4-kubernetes/k8s-basics/pod.yaml b/level-4-kubernetes/k8s-basics/pod.yaml new file mode 100644 index 0000000..e69de29 diff --git a/level-4-kubernetes/k8s-basics/service.yaml b/level-4-kubernetes/k8s-basics/service.yaml new file mode 100644 index 0000000..e69de29 diff --git a/level-5-ci-cd/README.md b/level-5-ci-cd/README.md new file mode 100644 index 0000000..59422fc --- /dev/null +++ b/level-5-ci-cd/README.md @@ -0,0 +1,50 @@ +# Level 5: CI/CD + +## ๐Ÿ“Œ Objective +Learn Continuous Integration and Continuous Deployment using GitHub Actions and Jenkins. + +--- + +## ๐Ÿง  What You Will Learn +- Core concepts related to this level +- Hands-on practical skills +- Real-world DevOps use cases + +--- + +## ๐Ÿ“‚ Folder Structure +- `concepts/` or `basics/` โ†’ Theory and explanations +- `tasks/` or `projects/` โ†’ Hands-on exercises +- `solutions/` โ†’ Reference implementations (optional) + +--- + +## โœ… Prerequisites +- Basic Linux knowledge +- Willingness to practice (not just read) + +--- + +## ๐Ÿงช How to Use This Level +1. Read the concepts +2. Complete the tasks +3. Try projects without looking at solutions +4. Compare with solutions only after attempting + +--- + +## ๐Ÿค Contribution Guidelines +You can contribute by: +- Adding tasks +- Improving explanations +- Fixing mistakes +- Adding real-world examples + +Follow the main `CONTRIBUTING.md` rules. + +--- + +## ๐Ÿš€ Progression +Complete this level before moving to the next one in the roadmap. + +Happy Learning & Building ๐Ÿ› ๏ธ diff --git a/level-6-cloud-aws/README.md b/level-6-cloud-aws/README.md new file mode 100644 index 0000000..0bf9373 --- /dev/null +++ b/level-6-cloud-aws/README.md @@ -0,0 +1,50 @@ +# Level 6: Cloud (AWS) + +## ๐Ÿ“Œ Objective +Learn AWS cloud fundamentals and how DevOps tools integrate with cloud infrastructure. + +--- + +## ๐Ÿง  What You Will Learn +- Core concepts related to this level +- Hands-on practical skills +- Real-world DevOps use cases + +--- + +## ๐Ÿ“‚ Folder Structure +- `concepts/` or `basics/` โ†’ Theory and explanations +- `tasks/` or `projects/` โ†’ Hands-on exercises +- `solutions/` โ†’ Reference implementations (optional) + +--- + +## โœ… Prerequisites +- Basic Linux knowledge +- Willingness to practice (not just read) + +--- + +## ๐Ÿงช How to Use This Level +1. Read the concepts +2. Complete the tasks +3. Try projects without looking at solutions +4. Compare with solutions only after attempting + +--- + +## ๐Ÿค Contribution Guidelines +You can contribute by: +- Adding tasks +- Improving explanations +- Fixing mistakes +- Adding real-world examples + +Follow the main `CONTRIBUTING.md` rules. + +--- + +## ๐Ÿš€ Progression +Complete this level before moving to the next one in the roadmap. + +Happy Learning & Building ๐Ÿ› ๏ธ diff --git a/migrate_to_level_structure.sh b/migrate_to_level_structure.sh new file mode 100755 index 0000000..d4f7139 --- /dev/null +++ b/migrate_to_level_structure.sh @@ -0,0 +1,51 @@ +#!/bin/bash + +set -e + +echo "๐Ÿšš Migrating existing content to level-based structure..." + +# Ensure level folders exist +mkdir -p level-0-linux/{concepts,tasks,solutions} +mkdir -p level-1-shell-scripting/{basics,projects,solutions} +mkdir -p level-3-docker/docker-basics +mkdir -p level-4-kubernetes/k8s-basics +mkdir -p level-5-ci-cd/github-actions +mkdir -p level-6-cloud-aws +mkdir -p resources + +# Move Linux basics +if [ -d "linux" ]; then + echo "โžก๏ธ Moving linux โ†’ level-0-linux/concepts" + mv linux/* level-0-linux/concepts/ || true + rmdir linux || true +fi + +# Move Linux CLI projects +if [ -d "linux-cli-projects" ]; then + echo "โžก๏ธ Moving linux-cli-projects โ†’ level-0-linux/tasks" + mv linux-cli-projects/* level-0-linux/tasks/ || true + rmdir linux-cli-projects || true +fi + +# Move Shell scripting +if [ -d "shell-scripting" ]; then + echo "โžก๏ธ Moving shell-scripting โ†’ level-1-shell-scripting" + mv shell-scripting/* level-1-shell-scripting/basics/ || true + rmdir shell-scripting || true +fi + +# Move Docker basics +if [ -d "docker/basics" ]; then + echo "โžก๏ธ Moving docker/basics โ†’ level-3-docker/docker-basics" + mv docker/basics/* level-3-docker/docker-basics/ || true +fi +rmdir docker/basics 2>/dev/null || true +rmdir docker 2>/dev/null || true + +# Move Kubernetes basics +if [ -d "kubernetes/basics" ]; then + echo "โžก๏ธ Moving kubernetes/basics โ†’ level-4-kubernetes/k8s-basics" + mv kubernetes/basics/* level-4-kubernetes/k8s-basics/ || true +fi +rmdir + diff --git a/resources/cheatsheets.md b/resources/cheatsheets.md new file mode 100644 index 0000000..e69de29 diff --git a/resources/interview-questions.md b/resources/interview-questions.md new file mode 100644 index 0000000..e69de29 diff --git a/resources/recommended-tools.md b/resources/recommended-tools.md new file mode 100644 index 0000000..e69de29 diff --git a/roadmap/devops-roadmap.md b/roadmap/devops-roadmap.md new file mode 100644 index 0000000..e69de29 From a63f22903eeb9e637ad22873115d988c687075ea Mon Sep 17 00:00:00 2001 From: iamdevdhanush Date: Thu, 15 Jan 2026 21:22:12 +0530 Subject: [PATCH 2/2] chore: finalize level-based DevOps repository structure --- ci-cd/github-actions/ci.yml | 0 cloud/aws/ec2-basics.md | 0 devops_linux_cli_cheat_sheet.txt | 134 ------------------------------- generate_level_readmes.sh | 93 --------------------- init_devops_repo.sh | 56 ------------- migrate_to_level_structure.sh | 51 ------------ 6 files changed, 334 deletions(-) delete mode 100644 ci-cd/github-actions/ci.yml delete mode 100644 cloud/aws/ec2-basics.md delete mode 100644 devops_linux_cli_cheat_sheet.txt delete mode 100755 generate_level_readmes.sh delete mode 100755 init_devops_repo.sh delete mode 100755 migrate_to_level_structure.sh diff --git a/ci-cd/github-actions/ci.yml b/ci-cd/github-actions/ci.yml deleted file mode 100644 index e69de29..0000000 diff --git a/cloud/aws/ec2-basics.md b/cloud/aws/ec2-basics.md deleted file mode 100644 index e69de29..0000000 diff --git a/devops_linux_cli_cheat_sheet.txt b/devops_linux_cli_cheat_sheet.txt deleted file mode 100644 index 0de969e..0000000 --- a/devops_linux_cli_cheat_sheet.txt +++ /dev/null @@ -1,134 +0,0 @@ - -DEVOPS LINUX CLI CHEAT SHEET (FOUNDATIONS) -======================================== - -NAVIGATION -pwd - current directory -ls - list files -ls -la - detailed list -cd dir - change directory -cd .. - move up -cd ~ - home directory - -FILES & DIRECTORIES -touch f - create file -mkdir d - create directory -mkdir -p a/b - nested directories -rm f - delete file -rm -r d - delete directory -rm -rf d - force delete (danger) -cp a b - copy -cp -r a b - copy directory -mv a b - move / rename - -VIEW FILES & LOGS -cat f - show file -less f - scroll file -head f - first lines -tail f - last lines -tail -f log - live logs -wc f - count lines/words - -SEARCH & TEXT -grep err f -grep -r err . -grep -i err f -grep -v debug f -awk '{print $1}' f -sed 's/a/b/g' f -cut -d: -f1 f -sort | uniq - -PERMISSIONS -chmod 755 f -chmod 644 f -chown user f -chgrp group f -ls -l -whoami -id - -USERS -useradd u -userdel u -usermod -aG g u -passwd u -su u -sudo cmd -who -last - -DISK -df -h -du -sh d -lsblk -mount -umount - -FIND -find / -name f -find . -size +1G -which python -whereis nginx - -NETWORK -ip a -ip route -ping host -curl url -wget url -ss -tulnp -hostnamectl - -PROCESSES -ps aux -top -htop -free -h -uptime -kill PID -kill -9 PID - -ARCHIVES -tar -czf a.tgz d -tar -xzf a.tgz -zip -r a.zip d -unzip a.zip - -REDIRECTION -cmd > out -cmd >> out -cmd 2> err -cmd > out 2>&1 -cmd | grep x -cmd | tee f - -SERVICES -systemctl status svc -systemctl start svc -systemctl stop svc -systemctl restart svc -systemctl enable svc -journalctl -u svc -journalctl -f - -SSH -ssh u@ip -ssh-keygen -ssh-copy-id u@ip -scp f u@ip:/path -rsync -avz a/ b/ - -DOCKER -docker ps -docker images -docker run img -docker exec -it ctr bash -docker logs ctr -docker build -t img . -docker pull img -docker push img - -RULE: -Cheat sheet helps memory. -Practice builds skill. diff --git a/generate_level_readmes.sh b/generate_level_readmes.sh deleted file mode 100755 index cbcb232..0000000 --- a/generate_level_readmes.sh +++ /dev/null @@ -1,93 +0,0 @@ -#!/bin/bash - -set -e - -create_readme () { - LEVEL_NAME=$1 - LEVEL_DESC=$2 - DIR=$3 - - cat < $DIR/README.md -# $LEVEL_NAME - -## ๐Ÿ“Œ Objective -$LEVEL_DESC - ---- - -## ๐Ÿง  What You Will Learn -- Core concepts related to this level -- Hands-on practical skills -- Real-world DevOps use cases - ---- - -## ๐Ÿ“‚ Folder Structure -- \`concepts/\` or \`basics/\` โ†’ Theory and explanations -- \`tasks/\` or \`projects/\` โ†’ Hands-on exercises -- \`solutions/\` โ†’ Reference implementations (optional) - ---- - -## โœ… Prerequisites -- Basic Linux knowledge -- Willingness to practice (not just read) - ---- - -## ๐Ÿงช How to Use This Level -1. Read the concepts -2. Complete the tasks -3. Try projects without looking at solutions -4. Compare with solutions only after attempting - ---- - -## ๐Ÿค Contribution Guidelines -You can contribute by: -- Adding tasks -- Improving explanations -- Fixing mistakes -- Adding real-world examples - -Follow the main \`CONTRIBUTING.md\` rules. - ---- - -## ๐Ÿš€ Progression -Complete this level before moving to the next one in the roadmap. - -Happy Learning & Building ๐Ÿ› ๏ธ -EOF -} - -create_readme "Level 0: Linux Foundations" \ -"Learn essential Linux concepts required for DevOps, including filesystems, processes, networking, and permissions." \ -"level-0-linux" - -create_readme "Level 1: Shell Scripting" \ -"Learn how to automate tasks using Bash shell scripting with real-world DevOps examples." \ -"level-1-shell-scripting" - -create_readme "Level 2: Git & GitHub" \ -"Understand version control, collaboration workflows, and open-source contribution using Git and GitHub." \ -"level-2-git-github" - -create_readme "Level 3: Docker" \ -"Learn containerization fundamentals, Dockerfiles, images, containers, and mini-projects." \ -"level-3-docker" - -create_readme "Level 4: Kubernetes" \ -"Understand Kubernetes architecture, deployments, services, and hands-on labs." \ -"level-4-kubernetes" - -create_readme "Level 5: CI/CD" \ -"Learn Continuous Integration and Continuous Deployment using GitHub Actions and Jenkins." \ -"level-5-ci-cd" - -create_readme "Level 6: Cloud (AWS)" \ -"Learn AWS cloud fundamentals and how DevOps tools integrate with cloud infrastructure." \ -"level-6-cloud-aws" - -echo "โœ… README templates generated for all levels." - diff --git a/init_devops_repo.sh b/init_devops_repo.sh deleted file mode 100755 index 72f9367..0000000 --- a/init_devops_repo.sh +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/bash - -set -e - -echo "๐Ÿš€ Initializing DevOps Open Source Repository Structure..." - -# Root-level files -touch README.md CONTRIBUTING.md CODE_OF_CONDUCT.md LICENSE - -# GitHub configs -mkdir -p .github/{workflows,ISSUE_TEMPLATE} -touch .github/workflows/ci.yml -touch .github/ISSUE_TEMPLATE/{bug_report.md,feature_request.md,good_first_issue.md} -touch .github/PULL_REQUEST_TEMPLATE.md - -# Roadmap -mkdir -p roadmap -touch roadmap/devops-roadmap.md - -# Level 0 - Linux -mkdir -p level-0-linux/{concepts,tasks,solutions} -touch level-0-linux/README.md - -# Level 1 - Shell Scripting -mkdir -p level-1-shell-scripting/{basics,projects,solutions} -touch level-1-shell-scripting/README.md - -# Level 2 - Git & GitHub -mkdir -p level-2-git-github/{git-basics,github-workflows,tasks} -touch level-2-git-github/README.md - -# Level 3 - Docker -mkdir -p level-3-docker/{docker-basics,dockerfiles,mini-projects,solutions} -touch level-3-docker/README.md - -# Level 4 - Kubernetes -mkdir -p level-4-kubernetes/{k8s-basics,manifests,labs,solutions} -touch level-4-kubernetes/README.md - -# Level 5 - CI/CD -mkdir -p level-5-ci-cd/{github-actions,jenkins,pipelines} -touch level-5-ci-cd/README.md - -# Level 6 - Cloud (AWS) -mkdir -p level-6-cloud-aws/{aws-basics,ec2,iam,s3,projects} -touch level-6-cloud-aws/README.md - -# Challenges -mkdir -p challenges/{30-days-of-devops,weekly-challenges} - -# Resources -mkdir -p resources -touch resources/{interview-questions.md,cheatsheets.md,recommended-tools.md} - -echo "โœ… Repository structure created successfully." - diff --git a/migrate_to_level_structure.sh b/migrate_to_level_structure.sh deleted file mode 100755 index d4f7139..0000000 --- a/migrate_to_level_structure.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash - -set -e - -echo "๐Ÿšš Migrating existing content to level-based structure..." - -# Ensure level folders exist -mkdir -p level-0-linux/{concepts,tasks,solutions} -mkdir -p level-1-shell-scripting/{basics,projects,solutions} -mkdir -p level-3-docker/docker-basics -mkdir -p level-4-kubernetes/k8s-basics -mkdir -p level-5-ci-cd/github-actions -mkdir -p level-6-cloud-aws -mkdir -p resources - -# Move Linux basics -if [ -d "linux" ]; then - echo "โžก๏ธ Moving linux โ†’ level-0-linux/concepts" - mv linux/* level-0-linux/concepts/ || true - rmdir linux || true -fi - -# Move Linux CLI projects -if [ -d "linux-cli-projects" ]; then - echo "โžก๏ธ Moving linux-cli-projects โ†’ level-0-linux/tasks" - mv linux-cli-projects/* level-0-linux/tasks/ || true - rmdir linux-cli-projects || true -fi - -# Move Shell scripting -if [ -d "shell-scripting" ]; then - echo "โžก๏ธ Moving shell-scripting โ†’ level-1-shell-scripting" - mv shell-scripting/* level-1-shell-scripting/basics/ || true - rmdir shell-scripting || true -fi - -# Move Docker basics -if [ -d "docker/basics" ]; then - echo "โžก๏ธ Moving docker/basics โ†’ level-3-docker/docker-basics" - mv docker/basics/* level-3-docker/docker-basics/ || true -fi -rmdir docker/basics 2>/dev/null || true -rmdir docker 2>/dev/null || true - -# Move Kubernetes basics -if [ -d "kubernetes/basics" ]; then - echo "โžก๏ธ Moving kubernetes/basics โ†’ level-4-kubernetes/k8s-basics" - mv kubernetes/basics/* level-4-kubernetes/k8s-basics/ || true -fi -rmdir -