Skip to content
Permalink
Browse files

`gcloud container builds` --> `gcloud builds`.

  • Loading branch information...
bendory committed Jul 24, 2018
1 parent 008d867 commit 38ebb9dcaaf837bd9e91af433d4ae0458c2d9a1c
Showing with 43 additions and 43 deletions.
  1. +1 −1 README.md
  2. +1 −1 android/README.md
  3. +1 −1 boot/cloudbuild.yaml
  4. +1 −1 boot/examples/hello-boot/README.md
  5. +1 −1 bq/cloudbuild.yaml
  6. +1 −1 bq/examples/bq_load/README.md
  7. +1 −1 bq/examples/bq_query/README.md
  8. +1 −1 buildah/README.md
  9. +1 −1 cargo/README.md
  10. +1 −1 cloudbuild.yaml
  11. +1 −1 container-diff/README.md
  12. +1 −1 cron-helper/README.md
  13. +1 −1 dataflow-python/README.md
  14. +1 −1 dataflow-python/examples/DataflowRunner/README.md
  15. +1 −1 dataflow-python/examples/DirectRunner/README.md
  16. +1 −1 docker-compose/cloudbuild.yaml
  17. +1 −1 docker-compose/examples/hello-world/README.md
  18. +1 −1 glide/README.md
  19. +1 −1 glide/cloudbuild.yaml
  20. +1 −1 google-closure-compiler/cloudbuild.yaml
  21. +1 −1 google-closure-compiler/examples/cloudbuild.yaml
  22. +1 −1 helm/README.md
  23. +1 −1 hugo/cloudbuild.yaml
  24. +1 −1 jsonnet/cloudbuild.yaml
  25. +1 −1 jsonnet/examples/cloudbuild.yaml
  26. +1 −1 kubectl_wait_for_job/README.md
  27. +1 −1 make/cloudbuild.yaml
  28. +1 −1 make/examples/README.md
  29. +1 −1 make/examples/cloudbuild.yaml
  30. +1 −1 npm-jasmine-node/examples/hello-world/README.md
  31. +1 −1 packer/cloudbuild.yaml
  32. +1 −1 packer/examples/gce/README.md
  33. +1 −1 remote-builder/README.md
  34. +1 −1 remote-builder/examples/README.md
  35. +1 −1 rocker/README.md
  36. +1 −1 rocker/cloudbuild.yaml
  37. +1 −1 rocker/examples/README.md
  38. +1 −1 rocker/examples/cloudbuild.yaml
  39. +1 −1 scala-sbt/README.md
  40. +1 −1 scala-sbt/cloudbuild.yaml
  41. +1 −1 skaffold/README.md
  42. +1 −1 yarn-puppeteer/README.md
  43. +1 −1 yarn-puppeteer/cloudbuild.yaml
@@ -40,7 +40,7 @@ The example below shows how to download and build the image for the `packer` bui
3. Build the Docker image:

```
$ gcloud container builds submit --config cloudbuild.yaml .
$ gcloud builds submit --config cloudbuild.yaml .
```

4. View the image in Google Container Registry:
@@ -32,7 +32,7 @@ Steps to use:
##### 3. Submit the container build to google cloud.

```
$ gcloud container builds submit --config cloudbuild.yaml . --substitutions=_ANDROID_SDK_LICENSE=$ANDROID_SDK_LICENSE
$ gcloud builds submit --config cloudbuild.yaml . --substitutions=_ANDROID_SDK_LICENSE=$ANDROID_SDK_LICENSE
```

##### 4. Copy the example build configuration to the root directory of your android project.
@@ -1,5 +1,5 @@
# In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
# $ gcloud builds submit . --config=cloudbuild.yaml

# See docs at https://www.boot-clj.com
steps:
@@ -10,7 +10,7 @@ This assumes you have already built the `boot` build step and pushed it to
Inside this directory, run the following command:

```
gcloud container builds submit --config=cloudbuild.yaml .
gcloud builds submit --config=cloudbuild.yaml .
```

Build output will be displayed. At the end you should see the following:
@@ -1,5 +1,5 @@
# In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
# $ gcloud builds submit . --config=cloudbuild.yaml

steps:
- name: 'gcr.io/cloud-builders/docker'
@@ -12,5 +12,5 @@ role to [your Container Builder service
account](https://cloud.google.com/container-builder/docs/securing-builds/set-service-account-permissions)
and run:
```
gcloud container builds submit --config=cloudbuild.yaml .
gcloud builds submit --config=cloudbuild.yaml .
```
@@ -11,5 +11,5 @@ role to [your Container Builder service
account](https://cloud.google.com/container-builder/docs/securing-builds/set-service-account-permissions)
and run:
```
gcloud container builds submit --config=cloudbuild.yaml .
gcloud builds submit --config=cloudbuild.yaml .
```
@@ -8,7 +8,7 @@ daemon socket.
This builder can be built and pushed to your GCR repository by running

```
gcloud container builds submit --config=cloudbuild.yaml
gcloud builds submit --config=cloudbuild.yaml
```

in this directory
@@ -7,5 +7,5 @@ This Container Builder build step runs the Rust

To build this builder, run the following command in this directory.

$ gcloud container builds submit . --config=cloudbuild.yaml
$ gcloud builds submit . --config=cloudbuild.yaml

@@ -34,7 +34,7 @@ steps:
echo "Building $d ... "
(
logfile="${d::-1}.log" # Logfile for "foo/" builder is "foo.log".
gcloud container builds submit $d --config=${config} > ${logfile} 2>&1
gcloud builds submit $d --config=${config} > ${logfile} 2>&1
if [[ $? -ne 0 ]]; then
echo "$d failed" | tee -a ${failure_file}
cat ${logfile}
@@ -13,7 +13,7 @@ To build this image and push it to your project's registry, run the following
command from within the `container-diff` directory:

```
gcloud container builds submit . --config=cloudbuild.yaml
gcloud builds submit . --config=cloudbuild.yaml
```

This image is built using the
@@ -53,7 +53,7 @@ gcloud projects add-iam-policy-binding $PROJECT --member=serviceAccount:$CB_SA_E
Then, to install the helper:

```
gcloud container builds submit --config=upload.yaml .
gcloud builds submit --config=upload.yaml .
```

Builds will now run at the frequency you specified. To view your job or start it manually, visit the Cloud console [Task Queues page](https://console.cloud.google.com/appengine/taskqueues/cron). Build logs are available in the [Build History page](https://console.cloud.google.com/gcr/builds).
@@ -31,7 +31,7 @@ get started.
Then, clone this code and build the builder:

```
gcloud container builds submit --config=cloudbuild.yaml .
gcloud builds submit --config=cloudbuild.yaml .
```

To access resources on Google Compute Platform from your pipeline - whether
@@ -9,7 +9,7 @@ instructions](https://github.com/GoogleCloudPlatform/cloud-builders-community/tr
Then, execute the pipeline:

```
gcloud container builds submit --config=cloudbuild.yaml .
gcloud builds submit --config=cloudbuild.yaml .
```

This loads the text of Shakespeare's _King Lear_ from Google Cloud Storage and
@@ -9,7 +9,7 @@ instructions](https://github.com/GoogleCloudPlatform/cloud-builders-community/tr
Then, execute the pipeline:

```
gcloud container builds submit --config=cloudbuild.yaml .
gcloud builds submit --config=cloudbuild.yaml .
```

This small example counts the words in `/etc/hosts`, a Linux system file, and
@@ -1,5 +1,5 @@
# In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
# $ gcloud builds submit . --config=cloudbuild.yaml

steps:
- name: 'gcr.io/cloud-builders/docker'
@@ -2,5 +2,5 @@

This `cloudbuild.yaml` invokes a `docker-compose up`:
```
gcloud container builds submit --config=cloudbuild.yaml .
gcloud builds submit --config=cloudbuild.yaml .
```
@@ -25,4 +25,4 @@ to pull in the correct versions of all dependencies, and the

To build this builder, run the following command in this directory.

$ gcloud container builds submit . --config=cloudbuild.yaml
$ gcloud builds submit . --config=cloudbuild.yaml
@@ -1,5 +1,5 @@
# In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
# $ gcloud builds submit . --config=cloudbuild.yaml

steps:
# Build the 'glide' tool builder.
@@ -1,5 +1,5 @@
# In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
# $ gcloud builds submit . --config=cloudbuild.yaml

steps:
# Build the Closure Compiler builder (Java) then run it and output its help
@@ -1,5 +1,5 @@
# In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
# $ gcloud builds submit . --config=cloudbuild.yaml

steps:
# Use the wget builder to retrieve the helloworld.js file from the GitHub repo
@@ -37,4 +37,4 @@ Then, `kubectl` and consequently `Helm` will have the configuration needed to ta

To build this builder, run the following command in this directory.

$ gcloud container builds submit . --config=cloudbuild.yaml
$ gcloud builds submit . --config=cloudbuild.yaml
@@ -1,5 +1,5 @@
# In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
# $ gcloud builds submit . --config=cloudbuild.yaml

steps:
- name: 'gcr.io/cloud-builders/docker'
@@ -1,5 +1,5 @@
# In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
# $ gcloud builds submit . --config=cloudbuild.yaml

steps:
# Build the Jsonnet builder then run it and output its help
@@ -1,5 +1,5 @@
# In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
# $ gcloud builds submit . --config=cloudbuild.yaml

steps:
# Use the wget builder to retrieve the example.jsonnet file from the GitHub repo
@@ -49,4 +49,4 @@ Then, `kubectl_wait_for_job` will have the configuration needed to talk to your
To build this builder, run the following command in this directory.
$ gcloud container builds submit . --config=cloudbuild.yaml
$ gcloud builds submit . --config=cloudbuild.yaml
@@ -1,5 +1,5 @@
# In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
# $ gcloud builds submit . --config=cloudbuild.yaml

steps:
- name: 'gcr.io/cloud-builders/docker'
@@ -12,7 +12,7 @@ This assumes you have already built the `make` build step and pushed it to
Inside this directory, run the following command:

```
gcloud container builds submit --config=cloudbuild.yaml .
gcloud builds submit --config=cloudbuild.yaml .
```

Build output will be displayed. At the end you should see the following:
@@ -1,5 +1,5 @@
# In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
# $ gcloud builds submit . --config=cloudbuild.yaml

steps:
- name: gcr.io/$PROJECT_ID/make
@@ -2,5 +2,5 @@

This `cloudbuild.yaml` invokes a `npm` command with jasmine-node module available:
```
gcloud container builds submit --config=cloudbuild.yaml .
gcloud builds submit --config=cloudbuild.yaml .
```
@@ -1,5 +1,5 @@
# In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
# $ gcloud builds submit . --config=cloudbuild.yaml

# See docs at https://www.packer.io/docs/install/index.html
steps:
@@ -26,4 +26,4 @@ To provide proper credentials to the `packer` builder:

Now that you've got `secrets.enc` in place, execute your `packer` build:

gcloud container builds submit --config=cloudbuild.yaml .
gcloud builds submit --config=cloudbuild.yaml .
@@ -33,7 +33,7 @@ When using the remote-builder image, the following will happen:
In order to use this step, first build the builder:

```
gcloud container builds submit --config=cloudbuild.yaml .
gcloud builds submit --config=cloudbuild.yaml .
```

Then, create an appropriate IAM role with permissions to create and destroy
@@ -11,7 +11,7 @@ Follow instructions at [Usage](https://github.com/GoogleCloudPlatform/cloud-buil
To run, execute this command:

```shell
gcloud container builds submit --config cloudbuild.yaml .
gcloud builds submit --config cloudbuild.yaml .
```

You should now see 2 instances being provisioned in parallel then the `test/no-op.sh` being
@@ -4,7 +4,7 @@ The Rocker [README](https://github.com/grammarly/rocker/blob/master/README.md) h

This build step can be built and pushed to your GCP repository by running

gcloud container builds submit --config=cloudbuild.yaml .
gcloud builds submit --config=cloudbuild.yaml .

in this directory.

@@ -1,5 +1,5 @@
# In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
# $ gcloud builds submit . --config=cloudbuild.yaml

# See Rocker documentation at https://github.com/grammarly/rocker

@@ -2,7 +2,7 @@ This example uses the [Rocker builder](https://github.com/grammarly/rocker) to p

To run this example:

gcloud container builds submit --config=cloudbuild.yaml .
gcloud builds submit --config=cloudbuild.yaml .

At the bottom of the build output, you'll see something like the following:

@@ -6,7 +6,7 @@
# here and build that before running this example.
#
# In this directory, run the following command to build this example:
# $ gcloud container builds submit --config=cloudbuild.yaml .
# $ gcloud builds submit --config=cloudbuild.yaml .

steps:
# Use Rockerfile to Build the image 'rocker:latest'; note that this TAG is
@@ -6,7 +6,7 @@ This build step runs the [sbt](http://www.scala-sbt.org/).

To build this builder, run the following command in this directory.

$ gcloud container builds submit . --config=cloudbuild.yaml
$ gcloud builds submit . --config=cloudbuild.yaml

## Examples

@@ -1,5 +1,5 @@
# In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
# $ gcloud builds submit . --config=cloudbuild.yaml

steps:
- name: 'gcr.io/cloud-builders/docker'
@@ -32,5 +32,5 @@ steps:
To build this builder and push the resulting image to the Container Registry
in your project, run the following command in this directory:

$ gcloud container builds submit . --config=cloudbuild.yaml
$ gcloud builds submit . --config=cloudbuild.yaml

@@ -8,4 +8,4 @@ It uses the small alpine-node base.

To build this builder, run the following command in this directory.

$ gcloud container builds submit . --config=cloudbuild.yaml
$ gcloud builds submit . --config=cloudbuild.yaml
@@ -1,5 +1,5 @@
# In this directory, run the following command to build this builder.
# $ gcloud container builds submit . --config=cloudbuild.yaml
# $ gcloud builds submit . --config=cloudbuild.yaml
#

steps:

0 comments on commit 38ebb9d

Please sign in to comment.
You can’t perform that action at this time.