Skip to content

Add GCP Cloud Build deployment README #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions deployment/live/gcp/cloudbuild/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# GCP Cloud Build Triggers and Steps

This directory contains terragrunt files to configure our Cloud Build pipeline(s).

The Cloud Build pipeline is triggered on commits to the `main` branch of the repo, and
is responsible for:

1. Building the `cmd/gcp` and `cmd/gcp/ci` docker images from the `main` branch,
1. Deploying the `cmd/gcp/ci` image to Cloud Run,
1. TODO: Creating a fresh conformance testing environment,
1. TODO: Running the conformance test against the newly build conformance docker image,
1. TODO: Turning-down the conformance testing environment.

## Initial setup

The first time this is run for a pair of {GCP Project, GitHub Repo} you will get an error
message such as the following:

```
Error: Error creating Trigger: googleapi: Error 400: Repository mapping does not exist. Please visit $URL to connect a repository to your project
```

This is a manual one-time step that needs to be followed to integrate GCP Cloud Build
and the GitHub repository.
Loading