1
0
mirror of https://github.com/google/nomulus synced 2026-01-03 11:45:39 +00:00

Fix console build for GKE (#2713)

We use the $environment property to set the console config. If it is not
given, 'alpha' is used, which has the same effect as 'production'.

TESTED=ran :jetty:copyConsole with
-Penvironment=(sandbox|production|alpha) and checked the resulting js
file.
This commit is contained in:
Lai Jiang
2025-03-10 20:03:12 -04:00
committed by GitHub
parent 467d9c7bf1
commit bede56598c
4 changed files with 6 additions and 11 deletions

View File

@@ -51,7 +51,7 @@ else
mv services/"${service}"/build/staged-app "${dest}/${service}"
done
./gradlew :console-webapp:buildConsoleWebapp -Pconfiguration="${environment}"
./gradlew :console-webapp:buildConsoleWebapp -Penvironment="${environment}"
mkdir -p "${dest}/console" && cp -r console-webapp/staged/* "${dest}/console"
mv core/build/resources/main/google/registry/env/common/META-INF \