Create gcp console service (#2433)

This commit is contained in:
Pavlo Tkach
2024-05-10 21:29:58 +00:00
committed by GitHub
parent fd21fcdb84
commit 3e77004274
13 changed files with 104 additions and 102 deletions
+2
View File
@@ -51,6 +51,8 @@ else
mv services/"${service}"/build/staged-app "${dest}/${service}"
done
mkdir -p "${dest}/console" && cp -r console-webapp/staged/* "${dest}/console"
mv core/build/resources/main/google/registry/env/common/META-INF \
"${dest}/META-INF"
+13 -1
View File
@@ -17,7 +17,19 @@ steps:
'-PskipDockerIncompatibleTests=true',
'-PmavenUrl=gcs://domain-registry-maven-repository/maven',
'-PpluginsUrl=gcs://domain-registry-maven-repository/plugins'
]
]
# Build Registry Console
- name: 'gcr.io/${PROJECT_ID}/builder:latest'
# Set home for Gradle caches. Must be consistent with last step below
# and ./build_nomulus_for_env.sh
env: [ 'GRADLE_USER_HOME=/workspace/cloudbuild-caches' ]
entrypoint: /bin/bash
args:
- -c
- |
set -e
./gradlew \
:console-webapp:buildConsoleWebappProd
# Build and package the deployment files for each environment, and the tool
# binary and image.
- name: 'gcr.io/${PROJECT_ID}/builder:latest'