start building 0.4 with 0.4
This commit is contained in:
parent
874924218f
commit
2deb7e0d0c
2 changed files with 15 additions and 46 deletions
59
.drone.yml
59
.drone.yml
|
@ -1,42 +1,3 @@
|
||||||
image: bradrydzewski/go:1.5
|
|
||||||
|
|
||||||
git:
|
|
||||||
path: github.com/drone/drone
|
|
||||||
|
|
||||||
env:
|
|
||||||
- GOROOT=/usr/local/go
|
|
||||||
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
|
|
||||||
- GO15VENDOREXPERIMENT=1
|
|
||||||
|
|
||||||
script:
|
|
||||||
- /bin/bash contrib/setup-sqlite.sh 1> /dev/null
|
|
||||||
- /bin/bash contrib/setup-sassc.sh 1> /dev/null
|
|
||||||
- make deps
|
|
||||||
- make
|
|
||||||
- make test
|
|
||||||
- make deb
|
|
||||||
|
|
||||||
notify:
|
|
||||||
email:
|
|
||||||
recipients:
|
|
||||||
- brad@drone.io
|
|
||||||
|
|
||||||
publish:
|
|
||||||
s3:
|
|
||||||
acl: public-read
|
|
||||||
region: us-east-1
|
|
||||||
bucket: downloads.drone.io
|
|
||||||
access_key: $$AWS_KEY
|
|
||||||
secret_key: $$AWS_SECRET
|
|
||||||
source: contrib/debian/drone.deb
|
|
||||||
target: $DRONE_BRANCH/
|
|
||||||
when:
|
|
||||||
owner: drone
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
path: github.com/drone/drone
|
path: github.com/drone/drone
|
||||||
|
|
||||||
|
@ -47,9 +8,17 @@ build:
|
||||||
commands:
|
commands:
|
||||||
- /bin/bash contrib/setup-sqlite.sh 1> /dev/null
|
- /bin/bash contrib/setup-sqlite.sh 1> /dev/null
|
||||||
- /bin/bash contrib/setup-sassc.sh 1> /dev/null
|
- /bin/bash contrib/setup-sassc.sh 1> /dev/null
|
||||||
- make deps
|
- make deps gen test
|
||||||
- make gen
|
- make build build_static deb
|
||||||
- make test
|
|
||||||
- make build
|
# publish:
|
||||||
- make build_static
|
# s3:
|
||||||
- make deb
|
# acl: public-read
|
||||||
|
# region: us-east-1
|
||||||
|
# bucket: downloads.drone.io
|
||||||
|
# access_key: $$AWS_KEY
|
||||||
|
# secret_key: $$AWS_SECRET
|
||||||
|
# source: contrib/debian/drone.deb
|
||||||
|
# target: $$BRANCH/
|
||||||
|
# when:
|
||||||
|
# repo: drone/drone
|
|
@ -13,7 +13,7 @@
|
||||||
# docker build --rm=true -t drone/drone .
|
# docker build --rm=true -t drone/drone .
|
||||||
|
|
||||||
FROM centurylink/ca-certs
|
FROM centurylink/ca-certs
|
||||||
EXPOSE 8080
|
EXPOSE 8000
|
||||||
|
|
||||||
ADD drone_static /drone_static
|
ADD drone_static /drone_static
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue