Skip to content

Commit 0c79638

Browse files
authored
Remove artifact registry module from GCP conformance CI (#73)
* Remove artifact registry module from GCP conformance CI * Update GCP SCTFE CI enviornment README * Update GCP SCTFE CI enviornment README * Update GCP SCTFE CI enviornment README
1 parent f181ce4 commit 0c79638

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

deployment/live/gcp/ci/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Overview
44

55
This config uses the [gcp/conformance](/deployment/modules/gcp/conformance) module to
6-
define a CI environment to run the SCTFE, backed by Trillian Tessera.
6+
define a CI environment to run the SCTFE on Cloud Run, backed by Trillian Tessera.
77

88
At a high level, this environment consists of:
99
- One Spanner instance with two databases:
@@ -13,6 +13,10 @@ At a high level, this environment consists of:
1313
- Secret Manager
1414
- Cloud Run
1515

16+
### Automatic Deployment
17+
18+
This GCP SCTFE conformance CI environment is designed to be deployed by the Cloud Build ([Terraform module](/deployment/modules/gcp/cloudbuild/), [Terragrunt configuration](/deployment/live/gcp/cloudbuild/prod/)).
19+
1620
### Manual Deployment
1721

1822
First authenticate via `gcloud` as a principle with sufficient ACLs for
@@ -30,6 +34,8 @@ export GOOGLE_REGION={VALUE} # e.g: us-central1
3034
unset TESSERA_BASE_NAME
3135
```
3236

37+
You need an Artifact Registry repository to store container images; adapt the configs and commands below to use your registry of choice. The rest of these instructions assume that the repository is hosted on GCP, and called `${GOOGLE_REGION}-docker.pkg.dev/${GOOGLE_PROJECT}/docker-ci`. For reference, here's a [terraform module](/deployment/modules/gcp/artifactregistry/) you can use to set up such a registry.
38+
3339
Build and push the Docker image to Artifact Registry repository:
3440

3541
```sh

deployment/modules/gcp/conformance/main.tf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@ terraform {
22
backend "gcs" {}
33
}
44

5-
module "artifactregistry" {
6-
source = "../artifactregistry"
7-
8-
location = var.location
9-
docker_env = var.docker_env
10-
}
11-
125
module "storage" {
136
source = "../storage"
147

0 commit comments

Comments
 (0)