diff --git a/.gcloudignore b/.gcloudignore index 53d198705..2115f6519 100644 --- a/.gcloudignore +++ b/.gcloudignore @@ -1,7 +1,6 @@ -python/** -bazel-*/** -gradle/**/build/** -gradle/**/WEB-INF/** -gradle/.*/** +python/ +**/build/ +**/out/ +.*/ repos/** -**/.idea/** +**/.idea/ diff --git a/release/cloudbuild-deploy-beam.yaml b/release/cloudbuild-deploy-beam.yaml index aa84402d1..9982819c6 100644 --- a/release/cloudbuild-deploy-beam.yaml +++ b/release/cloudbuild-deploy-beam.yaml @@ -3,7 +3,7 @@ # cloud-build-local --config=cloudbuild-deploy-beam.yaml --dryrun=false \ # --substitutions=TAG_NAME=[TAG],_CREDENTIAL_JSON=[CREDENTIAL_JSON],\ # _CREDENTIAL_KEYRING=[CREDENTIAL_KEYRING],_CREDENTIAL_KEY=[CREDENTIAL_KEY],\ -# _ENV=[ENV] . +# _ENV=[ENV] .. # # This will deploy Beam pipelines to GCS for the PROJECT_ID defined in gcloud # tool. @@ -11,7 +11,7 @@ # To manually trigger a build on GCB, run: # gcloud builds submit --config=cloudbuild-deploy-beam.yaml --substitutions=TAG_NAME=[TAG],\ # _CREDENTIAL_JSON=[CREDENTIAL_JSON],_CREDENTIAL_KEYRING=[CREDENTIAL_KEYRING],\ -# _CREDENTIAL_KEY=[CREDENTIAL_KEY],_ENV=[ENV] . +# _CREDENTIAL_KEY=[CREDENTIAL_KEY],_ENV=[ENV] .. # # To trigger a build automatically, follow the instructions below and add a trigger: # https://cloud.google.com/cloud-build/docs/running-builds/automate-builds diff --git a/release/cloudbuild-nomulus.yaml b/release/cloudbuild-nomulus.yaml index e4a55510c..85dddcec8 100644 --- a/release/cloudbuild-nomulus.yaml +++ b/release/cloudbuild-nomulus.yaml @@ -4,14 +4,14 @@ # 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] . +# --substitutions TAG_NAME=[TAG] .. # 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. # You can add "--push true" to have the image pushed to GCR. # # To manually trigger a build on GCB, run: -# gcloud builds submit --config cloudbuild-nomulus.yaml --substitutions TAG_NAME=[TAG] . +# gcloud builds submit --config cloudbuild-nomulus.yaml --substitutions TAG_NAME=[TAG] .. # # To trigger a build automatically, follow the instructions below and add a trigger: # https://cloud.google.com/cloud-build/docs/running-builds/automate-builds diff --git a/release/cloudbuild-proxy.yaml b/release/cloudbuild-proxy.yaml index 506094365..76fec8d92 100644 --- a/release/cloudbuild-proxy.yaml +++ b/release/cloudbuild-proxy.yaml @@ -3,12 +3,12 @@ # credential helper. # See: https://cloud.google.com/cloud-build/docs/build-debug-locally # 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] .. # This will create a docker image named gcr.io/[PROJECT_ID]/proxy:[TAG] locally. # The PROJECT_ID is the current project name that gcloud uses. # # To manually trigger a build on GCB, run: -# gcloud builds submit --config cloudbuild-proxy.yaml --substitutions TAG_NAME=[TAG] . +# gcloud builds submit --config cloudbuild-proxy.yaml --substitutions TAG_NAME=[TAG] .. # # To trigger a build automatically, follow the instructions below and add a trigger: # https://cloud.google.com/cloud-build/docs/running-builds/automate-builds diff --git a/release/cloudbuild-release.yaml b/release/cloudbuild-release.yaml index 042253a7a..da7424008 100644 --- a/release/cloudbuild-release.yaml +++ b/release/cloudbuild-release.yaml @@ -4,10 +4,11 @@ # See: https://cloud.google.com/cloud-build/docs/build-debug-locally # Then run: # cloud-build-local --config=cloudbuild-release.yaml --dryrun=false \ -# --substitutions TAG_NAME=[TAG] . +# --substitutions TAG_NAME=[TAG],_INTERNAL_REPO_URL=[URL] .. # # To manually trigger a build on GCB, run: -# gcloud builds submit --config cloudbuild-proxy.yaml --substitutions TAG_NAME=[TAG] . +# gcloud builds submit --config cloudbuild-release.yaml --substitutions \ +# TAG_NAME=[TAG],_INTERNAL_REPO_URL=[URL] .. # # To trigger a build automatically, follow the instructions below and add a trigger: # https://cloud.google.com/cloud-build/docs/running-builds/automate-builds @@ -25,7 +26,7 @@ steps: - | git clone https://gerrit.googlesource.com/gcompute-tools ./gcompute-tools/git-cookie-authdaemon - git clone ${_INTERNAL_REPO_URL} + git clone ${_INTERNAL_REPO_URL} nomulus-internal # Tag and push the internal repo. - name: 'gcr.io/cloud-builders/git' entrypoint: /bin/bash diff --git a/release/cloudbuild-sync.yaml b/release/cloudbuild-sync.yaml index c9a93df34..bb79b53aa 100644 --- a/release/cloudbuild-sync.yaml +++ b/release/cloudbuild-sync.yaml @@ -1,11 +1,11 @@ # To run the build locally, install cloud-build-local first. # Then run: -# cloud-build-local --config=cloudbuild-sync.yaml --dryrun=false --substitutions TAG_NAME=[TAG] . +# cloud-build-local --config=cloudbuild-sync.yaml --dryrun=false --substitutions TAG_NAME=[TAG] .. # This will sync the folder gs://[PROJECT_ID]-deploy/[TAG] to gs://[PROJECT_ID]-deploy/live. # The PROJECT_ID is the current project name that gcloud uses. # # To manually trigger a build on GCB, run: -# gcloud builds submit --config cloudbuild-sync.yaml --substitutions TAG_NAME=[TAG] . +# gcloud builds submit --config cloudbuild-sync.yaml --substitutions TAG_NAME=[TAG] .. # # To trigger a build automatically, follow the instructions below and add a trigger: # https://cloud.google.com/cloud-build/docs/running-builds/automate-builds diff --git a/release/cloudbuild-tag.yaml b/release/cloudbuild-tag.yaml index 540fb3927..65f49c7c2 100644 --- a/release/cloudbuild-tag.yaml +++ b/release/cloudbuild-tag.yaml @@ -1,11 +1,11 @@ # To run the build locally, install cloud-build-local first. # Then run: -# cloud-build-local --config=cloudbuild-tag.yaml --dryrun=false --substitutions TAG_NAME=[TAG] . +# cloud-build-local --config=cloudbuild-tag.yaml --dryrun=false --substitutions TAG_NAME=[TAG] .. # This will add a "live" tag to the proxy image in gcr.io/[PROJECT_ID]/proxy:[TAG]. # The PROJECT_ID is the current project name that gcloud uses. # # To manually trigger a build on GCB, run: -# gcloud builds submit --config cloudbuild-tag.yaml --substitutions TAG_NAME=[TAG] . +# gcloud builds submit --config cloudbuild-tag.yaml --substitutions TAG_NAME=[TAG] .. # # To trigger a build automatically, follow the instructions below and add a trigger: # https://cloud.google.com/cloud-build/docs/running-builds/automate-builds