Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dr/new rebase #4

Merged
merged 56 commits into from
Sep 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
d13ec39
Add support for multiple config representations in zookeeper
Nov 11, 2015
9953d30
Split out zk storage and put it behind a nice interface
Nov 12, 2015
2f61145
Update services/haproxy for service.Storage change
Nov 12, 2015
4cb084b
Update services/event_bus for service.Storage change
Nov 12, 2015
4d79252
Update testing instructions to require zookeeper
Nov 12, 2015
61bf021
update api for service.Storage changes
Nov 12, 2015
98bc36d
Update main/bamboo for storage api changes
Nov 12, 2015
e584af2
Have the frontend send the acl under the config mapping
Nov 12, 2015
c06077a
remove test file
Nov 12, 2015
2bcceac
Use MakeV2ServiceRepr over NewV2ServiceRepr
Nov 12, 2015
b581ecf
go fmt
Nov 12, 2015
399e47a
Prefix / to service
Jan 14, 2016
01da91b
Merge pull request #180 from QubitProducts/configurable_config
lclarkmichalek Feb 23, 2016
2fd6ee2
Adding a new marathon App struct field for the mesos dns name: the ma…
May 4, 2016
cef6f49
Bug fix - split marathon app id on / (slash) not on , (comma)
May 5, 2016
3bb6388
Drop prerelease version tag
May 6, 2016
d825591
Extract method getMesosDnsId and add a few tests. Still learning Con…
May 6, 2016
8b0f970
Adding some notes to README and a commented example to haproxy template.
May 6, 2016
23f2741
Now using golang:1.6.2 as a baseimage
mvallerie May 13, 2016
cbac0cd
Merge pull request #206 from mvallerie/master
j1n6 May 23, 2016
c5ee788
Merge pull request #205 from porcupie/master
j1n6 Jun 7, 2016
fe4545d
Update VERSION
j1n6 Jun 7, 2016
6a8b75f
Support HTTPS Marathon health checks
jmastron-jpl Jun 11, 2016
b5c974a
Merge pull request #208 from jmastron/https
j1n6 Jun 11, 2016
b11c598
enable quote {{ $task.Id }}
pingz Jun 16, 2016
33fc21e
Merge pull request #210 from pingz/patch-1
j1n6 Jun 16, 2016
7539277
Update README.md
j1n6 Jun 16, 2016
213fd1e
Prepend / to service ID in DELETE.
xperimental Jun 22, 2016
21d8f39
Do not accept empty service ID.
xperimental Jun 22, 2016
e08654b
Merge pull request #211 from xperimental/prepend-slash
j1n6 Jun 22, 2016
4546f46
Fix package being ignored.
xperimental Jun 22, 2016
46709af
Add tests for api package.
xperimental Jun 22, 2016
ce5ce0e
Remove duplicate code.
xperimental Jun 22, 2016
88b37a3
Refactor duplicate tests.
xperimental Jun 22, 2016
944bebf
Wait for goroutine in Delete test.
xperimental Jun 22, 2016
a0038b4
Merge pull request #212 from xperimental/service-api-tests
j1n6 Jun 23, 2016
017640c
Fix deb package Dockerfile
Jun 23, 2016
afdcb6b
Merge pull request #213 from QubitProducts/fix-docker
j1n6 Jun 23, 2016
c3aef90
Migrate to the Godep vendor mechanism
j1n6 Aug 22, 2016
e30ebd5
Update build environment to 1.7
j1n6 Aug 22, 2016
4bfc000
update travis to 1.7
j1n6 Aug 22, 2016
eadb9f8
ignore vendors folder
j1n6 Aug 22, 2016
77786bc
restore dependencies in build
j1n6 Aug 22, 2016
97a2f5c
Update dependencies
j1n6 Aug 22, 2016
68832c3
Fix go format
j1n6 Aug 23, 2016
f54e0c8
Merge pull request #215 from QubitProducts/dep-update
j1n6 Aug 23, 2016
9645270
Update README.md
j1n6 Aug 24, 2016
0dd5815
Adding alive check to Task. Adding labels and split id to App. This d…
dkesler Sep 2, 2016
525c20b
Merge pull request #216 from yodle/add-more-template-data-2
j1n6 Sep 2, 2016
12d8397
Correct unit test tool repo location
j1n6 Sep 2, 2016
931a983
Fixing syntax issues
j1n6 Sep 2, 2016
431d239
Fix fmt format
j1n6 Sep 2, 2016
1568c20
Fix Unit Test
j1n6 Sep 2, 2016
36532e3
Merge pull request #217 from QubitProducts/fix-vet
j1n6 Sep 2, 2016
09954e8
Merge branch 'dr/deployed-master' into dr/new-rebase
drewrobb Sep 22, 2016
5bbbcc4
Fix build for godeps and upgrade haproxy version
drewrobb Sep 23, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ config/private.json
config/local.json
Godeps/Readme
*.iml
bamboo
/bamboo
node_modules
.sass-cache
builder/build
Expand Down
12 changes: 9 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,21 @@ language: go

sudo: false

addons:
apt:
packages:
- zookeeperd

go:
- 1.4
- 1.7

install:
# WORKING DIR
# $HOME/gopath/src/github.com/QubitProducts/bamboo
- export PATH=$PATH:$HOME/gopath/bin

# Install build dependencies
- go get bitbucket.org/tebeka/go2xunit
- go get github.com/tebeka/go2xunit
- go get github.com/smartystreets/assertions
- go get -t github.com/smartystreets/goconvey
- go get -v -u github.com/tools/godep
Expand All @@ -20,10 +25,11 @@ install:

# Tests should fail if go fmt is required
script:
- godep restore
- '[[ -z "$(go fmt ./... | tee -a /dev/stderr)" ]]'
- go vet ./...
- go test -v ./...
- overalls -project=github.com/QubitProducts/bamboo -covermode=count -debug -ignore=Godeps,webapp,builder,.git
- overalls -project=github.com/QubitProducts/bamboo -covermode=count -debug -ignore=Godeps,webapp,builder,.git,vendor
- goveralls -coverprofile=./overalls.coverprofile -service=travis-ci

notifications:
Expand Down
38 changes: 30 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,47 @@
FROM ubuntu:15.10
# Need latest haproxy
FROM ubuntu:xenial

ENV DEBIAN_FRONTEND noninteractive
ENV GOPATH /opt/go

# gcc for cgo
RUN apt-get update && apt-get install -y --no-install-recommends \
g++ \
gcc \
libc6-dev \
make curl openssl ca-certificates

ENV GOLANG_VERSION 1.7.1
ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
ENV GOLANG_DOWNLOAD_SHA256 43ad621c9b014cde8db17393dc108378d37bc853aa351a6c74bf6432c1bbd182

RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \
&& echo "$GOLANG_DOWNLOAD_SHA256 golang.tar.gz" | sha256sum -c - \
&& tar -C /usr/local -xzf golang.tar.gz \
&& rm golang.tar.gz

ENV GOPATH /go
ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH

RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
WORKDIR $GOPATH


RUN apt-get update -yqq && \
apt-get install -yqq software-properties-common && \
add-apt-repository -y ppa:vbernat/haproxy-1.5 && \
apt-get update -yqq && \
apt-get install -yqq haproxy golang git mercurial supervisor && \
apt-get install -yqq haproxy git mercurial supervisor && \
rm -rf /var/lib/apt/lists/*

ADD . /opt/go/src/github.com/QubitProducts/bamboo

ADD . /go/src/github.com/QubitProducts/bamboo
ADD builder/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
ADD builder/run.sh /run.sh

WORKDIR /opt/go/src/github.com/QubitProducts/bamboo
WORKDIR /go/src/github.com/QubitProducts/bamboo

RUN go get github.com/tools/godep && \
go get -t github.com/smartystreets/goconvey && \
go build && \
ln -s /opt/go/src/github.com/QubitProducts/bamboo /var/bamboo && \
ln -s /go/src/github.com/QubitProducts/bamboo /var/bamboo && \
mkdir -p /run/haproxy && \
mkdir -p /var/log/supervisor

Expand Down
10 changes: 4 additions & 6 deletions Dockerfile-deb
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
FROM ubuntu:14.04
FROM golang:1.7.0

ENV DEBIAN_FRONTEND noninteractive
ENV GOPATH /opt/go

RUN apt-get update -yqq
RUN apt-get install -yqq software-properties-common curl git mercurial ruby-dev gcc make
RUN add-apt-repository -y ppa:ethereum/ethereum && apt-get update && apt-get -y install golang
RUN apt-get install -yqq software-properties-common curl git mercurial ruby-dev gcc make rubygems
RUN gem install fpm

ADD . /opt/go/src/github.com/QubitProducts/bamboo
ADD . /go/src/github.com/QubitProducts/bamboo

WORKDIR /opt/go/src/github.com/QubitProducts/bamboo
WORKDIR /go/src/github.com/QubitProducts/bamboo
RUN go get github.com/tools/godep && \
go get -t github.com/smartystreets/goconvey && \
go build
Expand Down
20 changes: 2 additions & 18 deletions Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Godeps/_workspace/.gitignore

This file was deleted.

This file was deleted.

Loading