Skip to content

Commit 5090ca2

Browse files
authored
Add GCP Cloud Build deployment README (#62)
1 parent 5ff8dcb commit 5090ca2

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# GCP Cloud Build Triggers and Steps
2+
3+
This directory contains terragrunt files to configure our Cloud Build pipeline(s).
4+
5+
The Cloud Build pipeline is triggered on commits to the `main` branch of the repo, and
6+
is responsible for:
7+
8+
1. Building the `cmd/gcp` and `cmd/gcp/ci` docker images from the `main` branch,
9+
1. Deploying the `cmd/gcp/ci` image to Cloud Run,
10+
1. TODO: Creating a fresh conformance testing environment,
11+
1. TODO: Running the conformance test against the newly build conformance docker image,
12+
1. TODO: Turning-down the conformance testing environment.
13+
14+
## Initial setup
15+
16+
The first time this is run for a pair of {GCP Project, GitHub Repo} you will get an error
17+
message such as the following:
18+
19+
```
20+
Error: Error creating Trigger: googleapi: Error 400: Repository mapping does not exist. Please visit $URL to connect a repository to your project
21+
```
22+
23+
This is a manual one-time step that needs to be followed to integrate GCP Cloud Build
24+
and the GitHub repository.

0 commit comments

Comments
 (0)