module
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Jan 18, 2020
License: MIT
Opens a new window with license information.
README
¶
cloudbuild
Abstract
cloudbuild is a command line tool for Google Cloud Build.
Still work in progress.
Features
- Alternative for
gcloud builds submit with some limitations:
- Unsupported options:
--no-source
--async
--no-cache
--disk-size
--machine-type
--timeout
--tag / -t
- More robust behaviors.
- Create source archives in the same way with
docker.
- Retries operations.
Usage
Using docker is recommended.
Using service account
$ docker run --rm \
-v $(pwd):/workspace \
-v /path/to/credentials.json:/credentials.json \
-e GOOGLE_APPLICATION_CREDENTIALS=/credentials.json \
ikedam/cloudbuild .
Using user credentials
$ docker run -ti --name gcloud-config google/cloud-sdk:alpine gcloud auth application-default login
$ docker run --rm \
--volumes-from gcloud-config \
-v "$(pwd)":/workspace \
ikedam/cloudbuild .
Directories
¶
cmd
|
|
|
|
|
|
|
|
|
|
|
Package log is the package wrapping logrus
|
Package log is the package wrapping logrus |
Click to show internal directories.
Click to hide internal directories.