changes-client

command module
v0.0.0-...-2af5034 Latest Latest
Warning

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

Go to latest
Published: May 11, 2016 License: Apache-2.0 Imports: 15 Imported by: 0

README

NOTICE: THIS REPO IS NO LONGER UPDATED

Changes Client

Can be used to run arbitrary commands and report to changes or jenkins. You will need standard Go code setup to compile this.

Setup

mkdir -p go/src go/bin go/pkg
cd go
export GOPATH=`pwd`

go get github.com/dropbox/changes-client

Build

go install github.com/dropbox/changes-client/client

The binary will be installed at ./bin/client folder

Example Run

./bin/client --server "https://changes.build.itc.dropbox.com/api/0" --jobstep_id "bbc9a199-1b36-4f7d-9072-3974f32fdb1b"

NOTE: There is no / at the end of --server

Development

A Vagrant VM is included to make development easy:

$ vagrant up --provision

Jump into the VM with vagrant ssh, and then use the work alias to hop into the environment:

$ work
$ make dev
$ make test

Building package

We use fpm to build our deb file.

$ work
$ make

Thats it. A .deb file should be available as changes-client_$VERSION_amd64.deb

Note that the LXC you build against needs to match prod.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
lxc
Executor system, which assigns each container to a specific "executor" which is essentially a single thread that runs jobs on the host.
Executor system, which assigns each container to a specific "executor" which is essentially a single thread that runs jobs on the host.
cmd
common
reporter

Jump to

Keyboard shortcuts

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