simulate failed build
This commit is contained in:
+2
-4
@@ -7,10 +7,8 @@ pipeline:
|
||||
build:
|
||||
image: golang:1.9-alpine
|
||||
commands:
|
||||
- apk add --no-cache --update tzdata && cp /usr/share/zoneinfo/America/Chicago /etc/localtime
|
||||
- cd app
|
||||
- go get -v ./...
|
||||
- go test -v ./...
|
||||
- go build -v ./...
|
||||
|
||||
docker:
|
||||
image: plugins/docker
|
||||
@@ -21,7 +19,7 @@ pipeline:
|
||||
notify:
|
||||
image: drillster/drone-email
|
||||
host: homemail.umputun.com
|
||||
from: drone@yhomemail.umputun.com
|
||||
from: drone@homemail.umputun.com
|
||||
recipients: [ umputun@gmail.com ]
|
||||
when:
|
||||
status: [ changed, failure ]
|
||||
|
||||
+1
-1
@@ -122,7 +122,7 @@ func main() {
|
||||
}.Do()
|
||||
}
|
||||
|
||||
srv.Run()
|
||||
xsrv.Run()
|
||||
}
|
||||
|
||||
// makeBoltStore creates store for all sites
|
||||
|
||||
Reference in New Issue
Block a user