File tree 3 files changed +5
-29
lines changed
live/gcp/static-ct-staging/cloudbuild/preloader
modules/gcp/cloudbuild/tesseract
3 files changed +5
-29
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,14 @@ terraform {
3
3
}
4
4
5
5
locals {
6
- env = " staging"
7
- docker_env = " staging"
6
+ env = get_env ( " GOOGLE_ENV " , " staging" )
7
+ docker_env = get_env ( " GOOGLE_ENV " , " staging" )
8
8
project_id = get_env (" GOOGLE_PROJECT" , " static-ct-staging" )
9
9
location = get_env (" GOOGLE_REGION" , " us-central1" )
10
10
github_owner = get_env (" GITHUB_OWNER" , " transparency-dev" )
11
+ source_log_uri = get_env (" SOURCE_LOG_URI" , " https://ct.googleapis.com/logs/us1/argon2025h1" )
12
+ submission_url = get_env (" SUBMISSION_URL" , " https://arche2025h1-64t3hlisgq-uc.a.run.app/arche2025h1.ct.transparency.dev" )
13
+ monitoring_url = get_env (" MONITORING_URL" , " https://storage.googleapis.com/static-ct-staging-arche2025h1-bucket" )
11
14
}
12
15
13
16
inputs = local
Original file line number Diff line number Diff line change @@ -127,28 +127,6 @@ resource "google_cloudbuild_trigger" "build_trigger" {
127
127
wait_for = [" docker_push_conformance_gcp" ]
128
128
}
129
129
130
- # # Apply the deployment/live/gcp/static-staging/cloudbuild/preloader terragrunt config.
131
- # # This will bring up the preloader agaist the conformance infrastructure.
132
- step {
133
- id = " terraform_apply_preloader"
134
- name = " alpine/terragrunt"
135
- script = << EOT
136
- terragrunt --terragrunt-non-interactive --terragrunt-no-color apply -auto-approve -no-color -var="submission_url=$(cat /workspace/conformance_url)/arche2025h1.ct.transparency.dev/" -var="monitoring_url=https://storage.googleapis.com/$(cat /workspace/conformance_bucket_name)" 2>&1
137
- EOT
138
- dir = " deployment/live/gcp/static-ct-staging/cloudbuild/preloader"
139
- env = [
140
- " GOOGLE_PROJECT=${ var . project_id } " ,
141
- " TF_IN_AUTOMATION=1" ,
142
- " TF_INPUT=false" ,
143
- " TF_VAR_project_id=${ var . project_id } " ,
144
- " TF_VAR_location=${ var . location } " ,
145
- " TF_VAR_env=${ var . env } " ,
146
- " TF_VAR_github_owner=${ var . github_owner } " ,
147
- " TF_VAR_source_log_uri=${ var . source_log_uri } " ,
148
- ]
149
- wait_for = [" terraform_apply_conformance_staging" ]
150
- }
151
-
152
130
options {
153
131
logging = " CLOUD_LOGGING_ONLY"
154
132
machine_type = " E2_HIGHCPU_8"
Original file line number Diff line number Diff line change @@ -22,8 +22,3 @@ variable "github_owner" {
22
22
description = " GitHub owner used in Cloud Build trigger repository mapping"
23
23
type = string
24
24
}
25
-
26
- variable "source_log_uri" {
27
- description = " URL of the source RFC6962 log to be preloaded."
28
- type = string
29
- }
You can’t perform that action at this time.
0 commit comments