Рет қаралды 17,426
This workshop covers a the full process of setting up a CI/CD pipeline on Google Cloud Build for a static website using Hugo.
The code to get set up and follow along can all be found here: github.com/sid...
---
Join the Community:
💬 Discord: / discord
💻 GitHub: github.com/sid...
🐥 Twitter: / sidpalas
👨💼 LinkedIn: / sid-palas
🌐 Website: devopsdirectiv...
---
Timestamps:
1:16 - Enabling Cloud Build API
1:32 - Enabling service account IAM roles
1:58 - Showing Cloud Source Repository
2:51 - High-level Whiteboard Pipeline Overview
3:58 - Explaining Cloud Build Workspace Persistence
5:00 - Setting up Cloud Build Trigger
6:10 - Explaining Trigger Substitution Variables
7:12 - Configuring cloud-build-local Component
8:51 - Examining Hugo Theme as Git Submodule
9:40 - Looking at Git Cloud Builder Container
11:05 - Adding Git Step to Pipeline
13:25 - Examining Build Workspace
14:23 - Updating Git Step to handle Submodule Init/Update
17:00 - Adding Hugo Build Step to Pipeline
20:53 - Adding Docker Build/Push Step to Pipeline
26:36 - Adding Gcloud Deploy Step to Pipeline
33:39 - Updating Site Content to Test Pipeline
34:00 - Updating Cloud Build Trigger With Substitution Variables
36:05 - Confirming Pipeline Functionality!
---
Technologies used:
- Google Cloud Build
- Google Cloud Source Repositories
- Docker (www.docker.com/)
- Git submodule
---
Complementary article: devopsdirectiv...