1
0
mirror of https://github.com/golang/go synced 2024-09-30 22:58:34 -06:00
go/dashboard
Brad Fitzpatrick 710872e5c8 dashboard/coordinator: support reusing VM disk between boots
Creating a new disk is the major latency cost of creating a
new instance.  If we reuse a previous disk image, the VM and
CoreOS boot much quicker and start building again.

So add a mode where we don't mark the disk as delete-on-death
when we create it, and we search for a suitably-named existing
one on creation and try to reuse it.

It's a cache, essentially. It's still stateless.

LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/135410043
2014-09-04 07:10:07 -07:00
..
app go.tools/dashboard/app: drop green coloring from perf dashboard 2014-09-03 12:54:38 +10:00
builder dashboard/builder: modernize ancient exec wrappers 2014-08-28 14:58:15 -07:00
coordinator dashboard/coordinator: support reusing VM disk between boots 2014-09-04 07:10:07 -07:00
env dashboard/env: restore the periods after docker build 2014-09-04 07:09:54 -07:00
updater dashboard: database updater for performance dashboard 2014-05-13 11:01:38 +04:00
README coordinator: new binary to run on GCE and manage Docker builds 2014-09-03 10:26:52 -07:00

// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

The files in this directory constitute the continuous builder:

app/:     an AppEngine server. The code that runs http://build.golang.org/
builder/: gobuilder, a Go continuous build client
coordinator/: daemon that runs on CoreOS on Google Compute Engine and manages
          builds (using the builder in single-shot mode) in Docker containers.
env/:     configuration files describing the environment of builders.
          Many builders are still configured ad-hoc.

If you wish to run a Go builder, please email golang-dev@googlegroups.com

To run a builder:

* Write the key ~gobuild/.gobuildkey 
  You need to get it from someone who knows the key.
  You may also use a filename of the form .gobuildkey-$BUILDER if you
  wish to run builders for multiple targets.

* Append your username and password googlecode.com credentials from
    https://code.google.com/hosting/settings
  to the buildkey file in the format "Username\nPassword\n".
  (This is for uploading tarballs to the project downloads section,
   and is an optional step.)

* Build and run gobuilder (see its documentation for command-line options).