1
0
mirror of https://github.com/go-gitea/git.git synced 2026-02-05 15:45:40 +01:00

Changes for latest DroneCI

This commit is contained in:
Thomas Boerger
2017-08-22 19:20:34 +02:00
parent 45f50c66bd
commit dda5008844
2 changed files with 15 additions and 8 deletions

View File

@@ -2,9 +2,15 @@ workspace:
base: /srv/app
path: src/code.gitea.io/git
clone:
git:
image: plugins/git:1
depth: 50
tags: true
pipeline:
testing:
image: webhippie/golang:latest
image: webhippie/golang:edge
pull: true
commands:
- make clean
@@ -13,14 +19,16 @@ pipeline:
- make test
- make build
coverage:
image: plugins/coverage
server: https://coverage.gitea.io
# coverage:
# image: plugins/coverage:1
# pull: true
# secrets: [ github_token ]
# server: https://coverage.gitea.io
discord:
image: appleboy/drone-discord
webhook_id: ${WEBHOOK_ID}
webhook_token: ${WEBHOOK_TOKEN}
image: appleboy/drone-discord:1.0.0
pull: true
secrets: [ discord_webhook_id, discord_webhook_token ]
when:
event: [ push, tag, pull_request ]
status: [ changed, failure ]

View File

@@ -1 +0,0 @@
eyJhbGciOiJIUzI1NiJ9.d29ya3NwYWNlOgogIGJhc2U6IC9zcnYvYXBwCiAgcGF0aDogc3JjL2NvZGUuZ2l0ZWEuaW8vZ2l0CgpwaXBlbGluZToKICB0ZXN0aW5nOgogICAgaW1hZ2U6IHdlYmhpcHBpZS9nb2xhbmc6bGF0ZXN0CiAgICBwdWxsOiB0cnVlCiAgICBjb21tYW5kczoKICAgICAgLSBtYWtlIGNsZWFuCiAgICAgIC0gbWFrZSB2ZXQKICAgICAgLSBtYWtlIGxpbnQKICAgICAgLSBtYWtlIHRlc3QKICAgICAgLSBtYWtlIGJ1aWxkCgogIGNvdmVyYWdlOgogICAgaW1hZ2U6IHBsdWdpbnMvY292ZXJhZ2UKICAgIHNlcnZlcjogaHR0cHM6Ly9jb3ZlcmFnZS5naXRlYS5pbwoKICBkaXNjb3JkOgogICAgaW1hZ2U6IGFwcGxlYm95L2Ryb25lLWRpc2NvcmQKICAgIHdlYmhvb2tfaWQ6ICR7V0VCSE9PS19JRH0KICAgIHdlYmhvb2tfdG9rZW46ICR7V0VCSE9PS19UT0tFTn0KICAgIHdoZW46CiAgICAgIGV2ZW50OiBbIHB1c2gsIHRhZywgcHVsbF9yZXF1ZXN0IF0KICAgICAgc3RhdHVzOiBbIGNoYW5nZWQsIGZhaWx1cmUgXQo.hmowKlf-Sz9VfQTfoEcLqNSDSyCXNSsTl4Lu7STez_U