File tree 1 file changed +24
-0
lines changed
deployment/live/gcp/cloudbuild
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
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.
You can’t perform that action at this time.
0 commit comments