{"id":28904736,"url":"https://github.com/tulasisahu/capstone-project","last_synced_at":"2026-04-10T07:20:05.329Z","repository":{"id":300201952,"uuid":"1005397542","full_name":"tulasisahu/Capstone-Project","owner":"tulasisahu","description":"This project implements a complete DevOps lifecycle for Abode Software, a product-based company. The source code is based on [hshar/website](https://github.com/hshar/website). It features end-to-end CI/CD automation using open-source DevOps tools.","archived":false,"fork":false,"pushed_at":"2025-06-20T11:06:27.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-20T11:39:14.933Z","etag":null,"topics":["ansible","ansible-playbook","aws-ec2","ci-cd","cloudformation","docker-image","dockerfile","git","github","groovy-script","jenkins","jenkinsfile","pipeline","python3","terraform","yaml"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tulasisahu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-20T07:00:43.000Z","updated_at":"2025-06-20T11:06:31.000Z","dependencies_parsed_at":"2025-06-20T11:50:09.905Z","dependency_job_id":null,"html_url":"https://github.com/tulasisahu/Capstone-Project","commit_stats":null,"previous_names":["tulasisahu/capstone-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tulasisahu/Capstone-Project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulasisahu%2FCapstone-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulasisahu%2FCapstone-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulasisahu%2FCapstone-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulasisahu%2FCapstone-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tulasisahu","download_url":"https://codeload.github.com/tulasisahu/Capstone-Project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tulasisahu%2FCapstone-Project/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261126449,"owners_count":23113312,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-playbook","aws-ec2","ci-cd","cloudformation","docker-image","dockerfile","git","github","groovy-script","jenkins","jenkinsfile","pipeline","python3","terraform","yaml"],"created_at":"2025-06-21T13:02:03.541Z","updated_at":"2026-04-10T07:20:05.313Z","avatar_url":"https://github.com/tulasisahu.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 DevOps Lifecycle Pipeline for Abode Software\n\nThis project implements a complete DevOps lifecycle for Abode Software, a product-based company. The source code is based on [hshar/website](https://github.com/hshar/website). It features end-to-end CI/CD automation using open-source DevOps tools.\n\n---\n\n## 🛠️ Tech Stack\n- **Terraform** – Infrastructure provisioning (AWS EC2)\n- **Ansible** – Configuration Management (Install Jenkins, Docker)\n- **Jenkins** – CI/CD pipeline with 3-stage jobs\n- **Docker** – Containerization of the web app\n- **GitHub** – Source control \u0026 webhook integration\n\n---\n\n## 📌 Pipeline Specifications\n\n### Git Workflow\n- `develop` branch: Build and Test\n- `master` branch: Build, Test, and Deploy to Production\n\n### Jenkins Pipeline Jobs\n| Stage | Description |\n|-------|-------------|\n| `Job 1: Build` | Clone repo, build Docker image |\n| `Job 2: Test` | Run the container and test endpoints |\n| `Job 3: Prod` | Tag, push Docker image, and deploy on prod server |\n\n---\n\n## 🔧 Infrastructure Setup (AWS Free Tier)\n\n| Instance       | Purpose                    |\n|----------------|----------------------------|\n| `jenkins-server` | CI/CD pipeline, Jenkins, Docker |\n| `prod-server`    | Production deployment (Docker only) |\n\nProvisioned using Terraform with the following components:\n- Custom VPC, Subnet, IGW\n- Security Group (ports 22, 80, 8080)\n- 2 EC2 Ubuntu 22.04 instances (t2.micro)\n\n---\n\n## 📁 Project Structure\ndevops-lifecycle-abode/\n├── Dockerfile\n├── Jenkinsfile\n├── README.md\n├── ansible/\n│ └── install-devops-stack.yml\n└── terraform/\n├── main.tf\n├── variables.tf\n├── outputs.tf\n└── terraform.tfvars\n\n\n---\n\n## 🐳 Docker Setup\n\nUsing prebuilt base image:\n```Dockerfile\nFROM hshar/webapp\nCOPY . /var/www/html\n\n🔄 GitHub Webhook Setup\nNavigate to your repo → Settings → Webhooks\n\nPayload URL: http://\u003cjenkins-ip\u003e:8080/github-webhook/\n\nContent type: application/json\n\nEvent: Just the push event\n\n✅ How to Run\nterraform apply – Launch EC2 infrastructure\n\nUse Ansible to install Jenkins and Docker\n\nPush code to GitHub (develop or master)\n\nJenkins auto-triggers pipeline based on branch\n\nView app at http://\u003cprod-server-ip\u003e\n\n👨‍💻 Author\nTulasi Kumar Sahu\n🔗 GitHub: Tks-Devops\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftulasisahu%2Fcapstone-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftulasisahu%2Fcapstone-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftulasisahu%2Fcapstone-project/lists"}