Загрузка...

How to Set Up CI/CD on GCP with Cloud Build, Cloud Run & GitHub | A Simple Todo List Application

A complete tutorial demonstrating how to build a CI/CD pipeline on Google Cloud Platform (GCP) for a Todo List application implemented in both Java and Python.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📌 What's covered in this video:
- Project setup on Google Cloud Platform
- Writing a Java Todo app with JUnit 5 tests (including an intentionally failing test)
- Containerising the app with a multi-stage Dockerfile
- Configuring a four-step cloudbuild.yaml pipeline
- Connecting GitHub to Cloud Build with automated triggers
- Demonstrating how Cloud Build catches failing tests and blocks deployment
- Fixing the failing test and watching the pipeline auto-deploy to Cloud Run
- Accessing the deployed application via its public Cloud Run URL
- Implementing the same workflow in Python with Flask and pytest as a comparison

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🛠 Tech stack:
- Java 8, Maven, JUnit 5, Eclipse IDE
- Python 3.11, Flask, pytest, gunicorn, VSCode
- Docker, Google Cloud Build, Cloud Run, Container Registry
- GitHub for source control

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⏱ Timestamps:
0:00 Introduction
0:30 Application code walkthrough
1:30 Dockerfile and cloudbuild.yaml explained
2:30 GitHub and GCP trigger configuration
3:30 Demo 1 — Pipeline failure on broken test
5:00 Demo 2 — Fixing the test and successful deployment
6:30 Accessing the live Cloud Run URL + Python comparison
7:30 Summary

Видео How to Set Up CI/CD on GCP with Cloud Build, Cloud Run & GitHub | A Simple Todo List Application канала Kexin Cheng
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять