Skip to content

Commit fac0bea

Browse files
authored
Merge pull request #20 from liuxu623/master
use glide and travis-ci
2 parents 855fd64 + 593ea05 commit fac0bea

File tree

116 files changed

+87
-65001
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+87
-65001
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ _testmain.go
2626
lain-deployd*
2727
assets_gen.go
2828
deployd*
29+
.idea/
30+
bin/
31+
vendor/

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
sudo: required
2+
language: go
3+
services:
4+
- docker
5+
go:
6+
- 1.8.1
7+
install:
8+
- go get github.com/Masterminds/glide
9+
before_script:
10+
script:
11+
- "./build.sh"
12+
deploy:
13+
provider: releases
14+
api_key:
15+
secure: NZjqwP3WFYrQSqwdad4HfdJKFGAOBuoRZx5CQQutg94Y92Le5JtgGXpzNSZA8jYoK5PjJCRBE0BQbT/VZv8DDN6U7qMhZkblaqeISxralrZZOh1wVA/bn6TlOcci2SYSMEVSakT/V4dwAJESO3P6KRZQUaOHktY0OlCZWp2n5NpLEQBf7H+r+UwibUoBizATrTfN+K0/2kbbyvx4G6Dcouo9T92N2A1di5ZUWCH6XBwdVOVRfco1Ove11PaEyrylQc08Mspo7KE44xLUDE4kvkjvlDZT34uAQn0cNF/EtWbF2oXsMRpNvr9d7H5iie8WEfbT5NYFb2gAp6fIvTdsCEhOOz6h5GIHHAeJGPtTg13g+ZW5jB+Yux/d/h5FNSYTkwn0ozPqMgBIn90as9qNkl+IQxasDlGb7j+C2PwF6DSsTIVM4yTGz+fzJV1dr4fu2Pb3ux4Gxbb9cXOzJAqBShh3xYS+XX3Vba8WOYI8iA7KMSC3ZJQ3L17HUOhQ7nKlR+5Ph5b5xUZ9TNQa6rdUEMItVPTrI7ZKOWXGY2xhEEc1It0t4np/AoWrLggyTwq8JDEAZwukbn+X1U4OD18gkFW5R0COtKT+r3URFRbgdv015H3KXz/2saIkVxJBIQCrxuJUC5dnCesZmupvYlQ5i9nyDiW1osOB+0zNOD084qU=
16+
file: bin/deployd
17+
on:
18+
tags: true

build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
glide install
4+
5+
docker run --rm -v $GOPATH:/go -e GOPATH=/go -e GOBIN=/go/src/github.com/laincloud/deployd/bin golang:1.8.1 go install github.com/laincloud/deployd

glide.lock

Lines changed: 39 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

glide.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package: github.com/laincloud/deployd
2+
import:
3+
- package: github.com/coreos/etcd
4+
version: 3.1.8
5+
subpackages:
6+
- client
7+
- package: github.com/docker/libkv
8+
version: 0.2.1
9+
subpackages:
10+
- store
11+
- store/etcd
12+
- package: github.com/mijia/adoc
13+
version: 6d1c7dedb19c9c1530a56447c0186f7f39825b00
14+
- package: github.com/mijia/go-generics
15+
- package: github.com/mijia/sweb
16+
subpackages:
17+
- form
18+
- log
19+
- server
20+
- package: golang.org/x/net
21+
subpackages:
22+
- context

vendor/github.com/coreos/etcd/Godeps/_workspace/src/github.com/ugorji/go/LICENSE

Lines changed: 0 additions & 22 deletions
This file was deleted.

vendor/github.com/coreos/etcd/Godeps/_workspace/src/github.com/ugorji/go/codec/0doc.go

Lines changed: 0 additions & 193 deletions
This file was deleted.

0 commit comments

Comments
 (0)