Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.

Commit dda5008

Browse files
committed
Changes for latest DroneCI
1 parent 45f50c6 commit dda5008

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

.drone.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@ workspace:
22
base: /srv/app
33
path: src/code.gitea.io/git
44

5+
clone:
6+
git:
7+
image: plugins/git:1
8+
depth: 50
9+
tags: true
10+
511
pipeline:
612
testing:
7-
image: webhippie/golang:latest
13+
image: webhippie/golang:edge
814
pull: true
915
commands:
1016
- make clean
@@ -13,14 +19,16 @@ pipeline:
1319
- make test
1420
- make build
1521

16-
coverage:
17-
image: plugins/coverage
18-
server: https://coverage.gitea.io
22+
# coverage:
23+
# image: plugins/coverage:1
24+
# pull: true
25+
# secrets: [ github_token ]
26+
# server: https://coverage.gitea.io
1927

2028
discord:
21-
image: appleboy/drone-discord
22-
webhook_id: ${WEBHOOK_ID}
23-
webhook_token: ${WEBHOOK_TOKEN}
29+
image: appleboy/drone-discord:1.0.0
30+
pull: true
31+
secrets: [ discord_webhook_id, discord_webhook_token ]
2432
when:
2533
event: [ push, tag, pull_request ]
2634
status: [ changed, failure ]

.drone.yml.sig

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)