Skip to content

Commit

Permalink
Skip validations in GCP, Azure (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
abuabraham-ttd authored Feb 4, 2025
1 parent 193dad9 commit afe420f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/azure/start_azure_enclave.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jq_string_update ${OUTPUT_PARAMETERS_FILE} parameters.location.value "${LOCATION
jq_string_update ${OUTPUT_PARAMETERS_FILE} parameters.identity.value "${IDENTITY}"
jq_string_update ${OUTPUT_PARAMETERS_FILE} parameters.vaultName.value "${VAULT_NAME}"
jq_string_update ${OUTPUT_PARAMETERS_FILE} parameters.operatorKeySecretName.value "${OPERATOR_KEY_NAME}"
jq_string_update ${OUTPUT_PARAMETERS_FILE} parameters.skipValidations.value "true"
jq_string_update ${OUTPUT_PARAMETERS_FILE} parameters.deploymentEnvironment.value "${DEPLOYMENT_ENV}"
jq_string_update ${OUTPUT_PARAMETERS_FILE} parameters.coreBaseUrl.value "http://${BORE_URL_CORE}"
jq_string_update ${OUTPUT_PARAMETERS_FILE} parameters.optoutBaseUrl.value "http://${BORE_URL_OPTOUT}"
Expand Down
2 changes: 1 addition & 1 deletion scripts/gcp/start_gcp_enclave.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ gcloud compute instances create ${GCP_INSTANCE_NAME} \
--image-project confidential-space-images \
--image-family confidential-space-debug \
--service-account $SERVICE_ACCOUNT \
--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}
--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}

# Export to GitHub output
echo "GCP_INSTANCE_NAME=${GCP_INSTANCE_NAME}"
Expand Down

0 comments on commit afe420f

Please sign in to comment.