-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdrone.yml
More file actions
50 lines (45 loc) · 872 Bytes
/
drone.yml
File metadata and controls
50 lines (45 loc) · 872 Bytes
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
kind: pipeline
type: docker
name: linux-amd64
platform:
arch: amd64
os: linux
steps:
- name: test
image: docker.io/drycc/go-dev
pull: if-not-exists
privileged: true
commands:
- make bootstrap test
environment:
VERSION: ${DRONE_TAG:-latest}-linux-amd64
DEV_REGISTRY: ${DEV_REGISTRY:-docker.io}
DRYCC_REGISTRY: ${DRYCC_REGISTRY:-docker.io}
when:
event:
- push
- tag
- pull_request
volumes:
- name: image_registries
path: /etc/containers/registries.conf
- name: codecov
image: docker.io/drycc/go-dev
pull: if-not-exists
commands:
- curl -s https://codecov.io/bash | bash
environment:
CODECOV_TOKEN:
from_secret: codecov_token
when:
status:
- success
trigger:
event:
- push
- tag
- pull_request
volumes:
- name: image_registries
host:
path: /etc/containers/registries.conf