cloud-build-local

command module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2017 License: Apache-2.0 Imports: 19 Imported by: 0

README

Google Cloud Container Builder Local Builder


This repository contains the code to run Google Cloud Container Builder builds locally.


Using Local Builder

Support for Local Builder with the gcloud command-line tool is coming soon.

Developing Local Builder

To build and develop Local Builder, you need a working Go environment.

go get github.com/GoogleCloudPlatform/container-builder-local
go install github.com/GoogleCloudPlatform/container-builder-local

Run a build:

./bin/container-builder-local --dryrun=false --config=path/to/cloudbuild.yaml path/to/code

Run the tests (without the vendored libraries):

go test $(go list github.com/GoogleCloudPlatform/container-builder-local/... | grep -v vendor)

Support

File issues here, or e-mail gcr-contact@google.com if you have general questions about the usage of this code or the Cloud Container Builder.

Documentation

Overview

Package main runs the gcb local builder.

Directories

Path Synopsis
Package build implements the logic for executing a single user build.
Package build implements the logic for executing a single user build.
Package buildlog implements a pub/sub log that can have multiple readers and multiple writers.
Package buildlog implements a pub/sub log that can have multiple readers and multiple writers.
Package common shares methods for local builder.
Package common shares methods for local builder.
Package config provides methods to read a cloudbuild file and convert it to a build proto.
Package config provides methods to read a cloudbuild file and convert it to a build proto.
Package gcloud provides methods to interact with local installed gcloud.
Package gcloud provides methods to interact with local installed gcloud.
Package metadata provides methods to deal with a metadata container server.
Package metadata provides methods to deal with a metadata container server.
Package runner implements method to run commands.
Package runner implements method to run commands.
Package subst does string substituion in build fields.
Package subst does string substituion in build fields.
Package validate provides methods to validate a build.
Package validate provides methods to validate a build.
Package volume provides methods to deal with docker volumes.
Package volume provides methods to deal with docker volumes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL