Skip to content

Commit afe420f

Browse files
Skip validations in GCP, Azure (#145)
1 parent 193dad9 commit afe420f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

scripts/azure/start_azure_enclave.sh

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jq_string_update ${OUTPUT_PARAMETERS_FILE} parameters.location.value "${LOCATION
5656
jq_string_update ${OUTPUT_PARAMETERS_FILE} parameters.identity.value "${IDENTITY}"
5757
jq_string_update ${OUTPUT_PARAMETERS_FILE} parameters.vaultName.value "${VAULT_NAME}"
5858
jq_string_update ${OUTPUT_PARAMETERS_FILE} parameters.operatorKeySecretName.value "${OPERATOR_KEY_NAME}"
59+
jq_string_update ${OUTPUT_PARAMETERS_FILE} parameters.skipValidations.value "true"
5960
jq_string_update ${OUTPUT_PARAMETERS_FILE} parameters.deploymentEnvironment.value "${DEPLOYMENT_ENV}"
6061
jq_string_update ${OUTPUT_PARAMETERS_FILE} parameters.coreBaseUrl.value "http://${BORE_URL_CORE}"
6162
jq_string_update ${OUTPUT_PARAMETERS_FILE} parameters.optoutBaseUrl.value "http://${BORE_URL_OPTOUT}"

scripts/gcp/start_gcp_enclave.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ gcloud compute instances create ${GCP_INSTANCE_NAME} \
5656
--image-project confidential-space-images \
5757
--image-family confidential-space-debug \
5858
--service-account $SERVICE_ACCOUNT \
59-
--metadata ^~^tee-image-reference=us-docker.pkg.dev/uid2-prod-project/iabtechlab/uid2-operator@${IMAGE_HASH}~tee-restart-policy=Never~tee-container-log-redirect=true~tee-env-DEPLOYMENT_ENVIRONMENT=integ~tee-env-API_TOKEN_SECRET_NAME=${OPERATOR_KEY_SECRET_VERSION}~tee-env-CORE_BASE_URL=http://${BORE_URL_CORE}~tee-env-OPTOUT_BASE_URL=http://${BORE_URL_OPTOUT}
59+
--metadata ^~^tee-image-reference=us-docker.pkg.dev/uid2-prod-project/iabtechlab/uid2-operator@${IMAGE_HASH}~tee-restart-policy=Never~tee-container-log-redirect=true~tee-env-SKIP_VALIDATIONS=true~tee-env-DEPLOYMENT_ENVIRONMENT=integ~tee-env-API_TOKEN_SECRET_NAME=${OPERATOR_KEY_SECRET_VERSION}~tee-env-CORE_BASE_URL=http://${BORE_URL_CORE}~tee-env-OPTOUT_BASE_URL=http://${BORE_URL_OPTOUT}
6060

6161
# Export to GitHub output
6262
echo "GCP_INSTANCE_NAME=${GCP_INSTANCE_NAME}"

0 commit comments

Comments
 (0)