File tree 8 files changed +22
-5
lines changed
static-ct-staging/logs/arche2025h1
8 files changed +22
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Overview
4
4
5
- This config uses the [ gcp/tesseract/conformance ] ( /deployment/modules/gcp/tesseract/conformance ) module to
5
+ This config uses the [ gcp/tesseract/cloudrun ] ( /deployment/modules/gcp/tesseract/cloudrun ) module to
6
6
run TesseraCT on Cloud Run, backed by Trillian Tessera and preloaded with argon2025h1 entries.
7
7
8
8
### Update the roots
Original file line number Diff line number Diff line change 1
1
terraform {
2
- source = " ${ get_repo_root ()} /deployment/modules/gcp//tesseract/conformance "
2
+ source = " ${ get_repo_root ()} /deployment/modules/gcp//tesseract/cloudrun "
3
3
}
4
4
5
5
locals {
Original file line number Diff line number Diff line change 2
2
3
3
## Overview
4
4
5
- This config uses the [ gcp/conformance ] ( /deployment/modules/gcp/tesseract/conformance ) module to
5
+ This config uses the [ gcp/cloudrun ] ( /deployment/modules/gcp/tesseract/cloudrun ) module to
6
6
define a CI environment to run the SCTFE on Cloud Run, backed by Trillian Tessera.
7
7
8
8
At a high level, this environment consists of:
Original file line number Diff line number Diff line change 1
1
terraform {
2
- source = " ${ get_repo_root ()} /deployment/modules/gcp//tesseract/conformance "
2
+ source = " ${ get_repo_root ()} /deployment/modules/gcp//tesseract/cloudrun "
3
3
}
4
4
5
5
locals {
Original file line number Diff line number Diff line change @@ -109,6 +109,23 @@ resource "google_cloudbuild_trigger" "build_trigger" {
109
109
name = " alpine/terragrunt"
110
110
script = << EOT
111
111
terragrunt --terragrunt-non-interactive --terragrunt-no-color apply -auto-approve -no-color 2>&1
112
+ EOT
113
+ dir = " deployment/live/gcp/static-ct-staging/logs/arche2025h1"
114
+ env = [
115
+ " GOOGLE_PROJECT=${ var . project_id } " ,
116
+ " TF_IN_AUTOMATION=1" ,
117
+ " TF_INPUT=false" ,
118
+ " TF_VAR_project_id=${ var . project_id } " ,
119
+ " DOCKER_CONTAINER_TAG=$SHORT_SHA"
120
+ ]
121
+ wait_for = [" docker_push_conformance_gcp" ]
122
+ }
123
+
124
+ # # Print terraform output.
125
+ step {
126
+ id = " terraform_print_output"
127
+ name = " alpine/terragrunt"
128
+ script = << EOT
112
129
terragrunt --terragrunt-no-color output --raw conformance_url -no-color > /workspace/conformance_url
113
130
terragrunt --terragrunt-no-color output --raw conformance_bucket_name -no-color > /workspace/conformance_bucket_name
114
131
terragrunt --terragrunt-no-color output --raw ecdsa_p256_public_key_data -no-color > /workspace/conformance_log_public_key.pem
@@ -124,7 +141,7 @@ resource "google_cloudbuild_trigger" "build_trigger" {
124
141
" TF_VAR_project_id=${ var . project_id } " ,
125
142
" DOCKER_CONTAINER_TAG=$SHORT_SHA"
126
143
]
127
- wait_for = [" docker_push_conformance_gcp " ]
144
+ wait_for = [" terraform_apply_conformance_staging " ]
128
145
}
129
146
130
147
options {
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments