mirror of
https://github.com/google/nomulus.git
synced 2025-07-21 10:16:07 +02:00
Make cloud build of nomulus use the GCS repo.
Also change comments to cover a few ambiguous points. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=241731091
This commit is contained in:
parent
aae1e42da8
commit
4eb1cd592d
2 changed files with 13 additions and 2 deletions
|
@ -1,8 +1,11 @@
|
||||||
# To run the build locally, install cloud-build-local first.
|
# To run the build locally, install cloud-build-local first.
|
||||||
# See: https://cloud.google.com/cloud-build/docs/build-debug-locally
|
# See: https://cloud.google.com/cloud-build/docs/build-debug-locally
|
||||||
# Then run:
|
# You will need access to a private registry, so be sure to install the docker
|
||||||
|
# credential helper.
|
||||||
|
# Then, in the root of a nomulus source tree, run:
|
||||||
# cloud-build-local --config=cloudbuild-nomulus.yaml --dryrun=false --substitutions TAG_NAME=[TAG] .
|
# cloud-build-local --config=cloudbuild-nomulus.yaml --dryrun=false --substitutions TAG_NAME=[TAG] .
|
||||||
# This will create a docker image named gcr.io/[PROJECT_ID]/proxy:[TAG] locally.
|
# This will build the contents of the current directory and generate the
|
||||||
|
# nomulus war-files locally.
|
||||||
# The PROJECT_ID is the current project name that gcloud uses.
|
# The PROJECT_ID is the current project name that gcloud uses.
|
||||||
# You can add "--push true" to have the image pushed to GCR.
|
# You can add "--push true" to have the image pushed to GCR.
|
||||||
#
|
#
|
||||||
|
@ -33,6 +36,8 @@ steps:
|
||||||
- '-x'
|
- '-x'
|
||||||
- 'autoLintGradle'
|
- 'autoLintGradle'
|
||||||
- '-Penvironment=sandbox'
|
- '-Penvironment=sandbox'
|
||||||
|
- '-PmavenUrl=gcs://domain-registry-maven-repository/maven'
|
||||||
|
- '-PpluginsUrl=gcs://domain-registry-maven-repository/plugins'
|
||||||
dir: 'gradle'
|
dir: 'gradle'
|
||||||
- name: 'alpine'
|
- name: 'alpine'
|
||||||
args: ['sh', './move_artifacts.sh', 'sandbox', 'nomulus']
|
args: ['sh', './move_artifacts.sh', 'sandbox', 'nomulus']
|
||||||
|
@ -44,6 +49,8 @@ steps:
|
||||||
- '-x'
|
- '-x'
|
||||||
- 'autoLintGradle'
|
- 'autoLintGradle'
|
||||||
- '-Penvironment=alpha'
|
- '-Penvironment=alpha'
|
||||||
|
- '-PmavenUrl=gcs://domain-registry-maven-repository/maven'
|
||||||
|
- '-PpluginsUrl=gcs://domain-registry-maven-repository/plugins'
|
||||||
dir: 'gradle'
|
dir: 'gradle'
|
||||||
- name: 'alpine'
|
- name: 'alpine'
|
||||||
args: ['sh', './move_artifacts.sh', 'alpha', 'nomulus']
|
args: ['sh', './move_artifacts.sh', 'alpha', 'nomulus']
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
# To run the build locally, install cloud-build-local first.
|
# To run the build locally, install cloud-build-local first.
|
||||||
|
# You will need access to a private registry, so be sure to install the docker
|
||||||
|
# credential helper.
|
||||||
# See: https://cloud.google.com/cloud-build/docs/build-debug-locally
|
# See: https://cloud.google.com/cloud-build/docs/build-debug-locally
|
||||||
# Then run:
|
# Then run:
|
||||||
# cloud-build-local --config=cloudbuild-proxy.yaml --dryrun=false --substitutions TAG_NAME=[TAG] .
|
# cloud-build-local --config=cloudbuild-proxy.yaml --dryrun=false --substitutions TAG_NAME=[TAG] .
|
||||||
|
@ -29,6 +31,8 @@ steps:
|
||||||
- ':proxy:deployJar'
|
- ':proxy:deployJar'
|
||||||
- '-x'
|
- '-x'
|
||||||
- 'autoLintGradle'
|
- 'autoLintGradle'
|
||||||
|
- '-PmavenUrl=gcs://domain-registry-maven-repository/maven'
|
||||||
|
- '-PpluginsUrl=gcs://domain-registry-maven-repository/plugins'
|
||||||
dir: 'gradle'
|
dir: 'gradle'
|
||||||
# Build the docker image.
|
# Build the docker image.
|
||||||
- name: 'gcr.io/cloud-builders/docker'
|
- name: 'gcr.io/cloud-builders/docker'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue