forked from harness/harness
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kci.yml
52 lines (46 loc) · 1.08 KB
/
.kci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
workspace:
base: /go
path: src/github.com/drone/drone
pipeline:
test:
image: index.qiniu.com/kci/golang:1.7
commands:
- make test test_mysql
compile:
image: index.qiniu.com/kci/golang:1.7
environment:
- GOPATH=/go
commands:
- export PATH=$PATH:$GOPATH/bin
- make build
when:
event: push
index.qiniu.com/kci/plugin_docker:
dockerfile: Dockerfile.amd64
repo: wanglei2/drone
mirror: https://akwhf4un.mirror.aliyuncs.com
tag:
- "latest"
- "v${DRONE_JOB_STARTED}"
when:
branch: master
event: push
index.qiniu.com/kci/plugin_kodo:
bucket: tumi
source: ./release/linux/amd64/drone.tar.gz
target: /drone
when:
branch: master
event: push
index.qiniu.com/kci/plugin_email:
recipients:
when:
event: [push, pull_request, tag, deployment]
status: [ failure, success ]
services:
mysql:
image: index.qiniu.com/library/mysql:latest
environment:
- MYSQL_DATABASE=test
- MYSQL_ALLOW_EMPTY_PASSWORD=yes