fail build
This commit is contained in:
+11
-11
@@ -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 ]
|
||||
|
||||
@@ -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
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user