1
0
mirror of https://github.com/google/nomulus synced 2026-01-08 07:11:44 +00:00

Increase number of service to 5 in cloudbuild-deploy (#2248)

This commit is contained in:
Pavlo Tkach
2023-12-06 13:21:17 -05:00
committed by GitHub
parent 1b0919eaff
commit 01f868cefc

View File

@@ -78,8 +78,8 @@ steps:
grep -e "^backend\|^default\|^bsa\|^pubapi\|^tools" |\
while read line; do echo "${TAG_NAME},$line"; done | tee "$local_map"
num_versions=$(cat "$local_map" | wc -l)
if [ "$num_versions" -ne 4 ]; then
echo "Expecting exactly four active services. Found $num_versions"
if [ "$num_versions" -ne 5 ]; then
echo "Expecting exactly five active services. Found $num_versions"
exit 1
fi
gsutil cp "$local_map" gs://$PROJECT_ID-deployed-tags/nomulus.${_ENV}.tmp