File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
deployment/modules/gcp/cloudbuild Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ resource "google_cloudbuild_trigger" "build_trigger" {
161
161
openssl x509 -req -days 3650 -in /tmp/httpschain/cert.csr -CAkey testdata/fake-ca.privkey.pem -CA testdata/fake-ca.cert -passin pass:"gently" -outform pem -out /tmp/httpschain/chain.pem -provider legacy -provider default
162
162
cat testdata/fake-ca.cert >> /tmp/httpschain/chain.pem
163
163
cat /tmp/httpschain/chain.pem | jq --raw-input --slurp --compact-output 'split("\n-----END CERTIFICATE-----\n") | map(select(length > 0) | sub("^-----BEGIN CERTIFICATE-----\n"; "") | sub("\n-----END CERTIFICATE-----$"; "")) | { "chain": . }' > /tmp/httpschain/chain.json
164
- 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
164
+ curl -s -o /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
165
165
166
166
cat /tmp/add_chain_response_code
167
167
cat /tmp/add_chain_response_body
You can’t perform that action at this time.
0 commit comments