{"id":27278965,"url":"https://github.com/sanjay-k08/cloud-devops-pipeline","last_synced_at":"2026-04-15T15:34:25.154Z","repository":{"id":287347119,"uuid":"964435938","full_name":"sanjay-k08/Cloud-DevOps-Pipeline","owner":"sanjay-k08","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-11T08:18:30.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T19:05:39.547Z","etag":null,"topics":["ci-cd","cloudbuild","cloudrun","cloudsourcerepositories","containerregistry","devops","docker","flask","gcp","python"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sanjay-k08.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-04-11T07:59:35.000Z","updated_at":"2025-04-11T08:25:14.000Z","dependencies_parsed_at":"2025-04-11T10:22:05.729Z","dependency_job_id":"2f80014f-6dca-4a3d-853e-d9ee3968012a","html_url":"https://github.com/sanjay-k08/Cloud-DevOps-Pipeline","commit_stats":null,"previous_names":["sanjay-k08/cloud-devops-pipeline"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sanjay-k08/Cloud-DevOps-Pipeline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjay-k08%2FCloud-DevOps-Pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjay-k08%2FCloud-DevOps-Pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjay-k08%2FCloud-DevOps-Pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjay-k08%2FCloud-DevOps-Pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanjay-k08","download_url":"https://codeload.github.com/sanjay-k08/Cloud-DevOps-Pipeline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjay-k08%2FCloud-DevOps-Pipeline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270421650,"owners_count":24580813,"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","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ci-cd","cloudbuild","cloudrun","cloudsourcerepositories","containerregistry","devops","docker","flask","gcp","python"],"created_at":"2025-04-11T17:46:21.252Z","updated_at":"2026-04-15T15:34:25.110Z","avatar_url":"https://github.com/sanjay-k08.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloud-DevOps-Pipeline\n\nThis project demonstrates how to build and deploy a Continuous Integration (CI) pipeline using various tools available in Google Cloud Platform (GCP). It walks through the full lifecycle of a Python Flask application, from writing code and containerizing it, to pushing it through an automated build process using Cloud Build, and finally deploying the built image to a virtual machine instance using Compute Engine.\n\n![Blog-Diagram](https://github.com/user-attachments/assets/66ecfb50-fc62-406d-988f-e8c65a699c65)\n\n\n# Project Objectives\n\nSet up a Git repository using Cloud Source Repositories\n\nBuild and test a simple Python Flask application\n\nCreate a Dockerfile to containerize the application\n\nUse Cloud Build to build Docker images\n\nStore Docker images in Container Registry\n\nCreate build triggers to automate the CI/CD process\n\nDeploy Docker containers using Compute Engine\n\nTest and verify build and deployment pipelines\n\n\n# Tools \u0026 Technologies Used\n\nGoogle Cloud Source Repositories – Git hosting\n\nGoogle Cloud Build – Continuous Integration tool\n\nGoogle Container Registry – Image storage and management\n\nGoogle Compute Engine – Deploy and test Docker containers\n\nDocker – Containerization\n\nPython \u0026 Flask – Web application\n\nGit – Version control\n\nCloud Shell \u0026 Cloud Shell Editor – Development and testing environment\n\n\n# Project Workflow Overview\n\n1. Create a Git Repo – Using Cloud Source Repositories to manage the source code.\n\n2. Build a Flask App – A simple Flask app with HTML templates is created.\n\n3. Containerize with Docker – Dockerfile is added to define how the app is packaged.\n\n4. Build \u0026 Store Image – Use Cloud Build to build Docker image and push it to Container Registry.\n\n5. Create Triggers – Set up Cloud Build triggers to automate builds on Git push.\n\n6. Deploy \u0026 Test – Launch a Compute Engine VM and deploy the container directly from Container Registry.\n\n\n# Directory Structure\n    css\n    devops-repo/\n    ├── Dockerfile\n    ├── main.py\n    ├── requirements.txt\n    ├── templates/\n    │   ├── layout.html\n    │   └── index.html\n\n\n# Tasks Breakdown\n\n    Task 1: Create Git repository\n\n    Task 2: Create and test Flask app in Cloud Shell\n\n    Task 3: Define Dockerfile for container build\n\n    Task 4: Use Cloud Build \u0026 Container Registry for image creation\n\n    Task 5: Automate build pipeline with triggers\n\n    Task 6: Deploy and test Docker image using Compute Engine\n\n\nThis project serves as a practical introduction to DevOps practices using Google Cloud Platform. It highlights how easily you can automate application builds, image management, and deployments using native GCP tools, enhancing your CI/CD pipeline and reducing manual effort.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjay-k08%2Fcloud-devops-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanjay-k08%2Fcloud-devops-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjay-k08%2Fcloud-devops-pipeline/lists"}