Skip to content

Commit 0e2768a

Browse files
committed
Support conformance env lifecycle in GCP CI Cloud Build
1 parent 125a3c1 commit 0e2768a

File tree

1 file changed

+1
-2
lines changed
  • deployment/modules/gcp/cloudbuild

1 file changed

+1
-2
lines changed

deployment/modules/gcp/cloudbuild/main.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,11 @@ resource "google_cloudbuild_trigger" "build_trigger" {
164164
curl -s -o >(cat > /tmp/add_chain_response_body) -w "%%{http_code}" -X POST --data @/tmp/httpschain/chain.json -H "Content-Type: application/json" -H "Authorization: Bearer $(cat /workspace/cb_identity)" $(cat /workspace/conformance_url)/ci-${var.project_id}/ct/v1/add-chain > /tmp/add_chain_response_code
165165
166166
cat /tmp/add_chain_response_code
167+
cat /tmp/add_chain_response_body
167168
if ! grep -q 200 /tmp/add_chain_response_code; then
168169
echo "Error: File does not contain 200 status OK" >&2
169170
exit 1
170171
fi
171-
172-
cat /tmp/add_chain_response_body
173172
EOT
174173
wait_for = ["bearer_token"]
175174
}

0 commit comments

Comments
 (0)