fail build

This commit is contained in:
Umputun
2017-12-31 19:30:31 -06:00
parent 0d8a758588
commit fb53ed6748
3 changed files with 12 additions and 13 deletions
+11 -11
View File
@@ -29,14 +29,14 @@ pipeline:
when:
branch: master
# notify:
# image: drillster/drone-email
# host: 172.17.0.1
# port: 25
# username: umputun
# password: umputun
# skip_verify: true
# from: drone@umputun.com
# recipients: [ umputun@gmail.com ]
# when:
# status: [ changed, failure ]
notify:
image: drillster/drone-email
host: 172.17.0.1
port: 25
username: umputun
password: umputun
skip_verify: true
from: drone@umputun.com
recipients: [ umputun@gmail.com ]
when:
status: [ changed, failure ]
-1
View File
@@ -111,4 +111,3 @@ Sort can be `time` or `score`. Supported sort order with prefix -/+, i.e. `-time
- `GET /api/v1/admin/export?site=side-id&mode=[stream|file]` - export all comments to json stream or gz file. _auth and admin required_
- `POST /api/v1/admin/import?site=side-id` - import comments from the backup. _auth and admin required_
- `PUT /api/v1/admin/pin/{id}?site=site-id&url=post-url&pin=1` - pin or unpin comment. _auth and admin required_
+1 -1
View File
@@ -49,7 +49,7 @@ var opts struct {
var revision = "unknown"
func main() {
func Xmain() {
fmt.Printf("remark %s\n", revision)
p := flags.NewParser(&opts, flags.Default)
if _, e := p.ParseArgs(os.Args[1:]); e != nil {