Build different console versions for different environments (#2715)

TESTED=deployed to alpha
This commit is contained in:
Lai Jiang
2025-03-11 23:39:28 +00:00
committed by GitHub
parent b49e37feee
commit 92ebd0dedb
7 changed files with 63 additions and 8 deletions
+4 -2
View File
@@ -13,8 +13,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
environment=$1
env=${1:-"alpha"}
cd /jetty-base
java -Dgoogle.registry.environment=${environment:-"alpha"} \
cp -rf webapps/console-${env} webapps/console
echo "Running ${env}"
java -Dgoogle.registry.environment=${env} \
-Djava.util.logging.config.file=/logging.properties \
-jar /usr/local/jetty/start.jar