Update cloud build release with new epp service (#3189)

This commit is contained in:
Pavlo Tkach
2026-07-30 19:49:40 +00:00
committed by GitHub
parent 4cc3fc9cd2
commit 49cecf6776
+21
View File
@@ -253,6 +253,27 @@ steps:
sed s/SERVICE/${service}-canary/g ./jetty/kubernetes/gateway/nomulus-backend-policy-${env}.yaml \
> ./jetty/kubernetes/gateway/nomulus-backend-policy-${env}-${service}-canary.yaml
done
# Generate manifests for epp-server (which doesn't use HTTP gateway routing)
for env in alpha crash qa sandbox production
do
if [ ${env} == production ]
then
project="domain-registry"
else
project="domain-registry-${env}"
fi
# non-canary
sed s/GCP_PROJECT/${PROJECT_ID}/g ./jetty/kubernetes/nomulus-epp-server.yaml | \
sed s/latest/${TAG_NAME}/g | \
sed s/ENVIRONMENT/${env}/g > ./jetty/kubernetes/nomulus-${env}-epp-server.yaml
# canary
sed s/GCP_PROJECT/${PROJECT_ID}/g ./jetty/kubernetes/nomulus-epp-server.yaml | \
sed s/latest/${TAG_NAME}/g | \
sed s/ENVIRONMENT/${env}/g | \
sed s/epp-server/epp-server-canary/g | \
sed s/EPP-v2-ipv4-main/EPP-v2-ipv4-canary/g | \
sed s/EPP-v2-ipv6-main/EPP-v2-ipv6-canary/g > ./jetty/kubernetes/nomulus-${env}-epp-server-canary.yaml
done
done
# Upload the Gradle binary to GCS if it does not exist and point URL in Gradle wrapper to it.
- name: 'gcr.io/cloud-builders/gcloud'