forked from rancher/kontainer-driver-metadata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
73 lines (63 loc) · 1.19 KB
/
.drone.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
kind: pipeline
name: amd64
platform:
os: linux
arch: amd64
steps:
- name: validate
image: rancher/dapper:v0.6.0
commands:
- dapper ci
volumes:
- name: docker
path: /var/run/docker.sock
- name: upload
pull: default
image: plugins/gcs
settings:
acl:
- allUsers:READER
cache_control: "public,no-cache,proxy-revalidate"
source: data
target: releases.rancher.com/kontainer-driver-metadata/${DRONE_BRANCH}
token:
from_secret: google_auth_key
when:
event:
- push
depends_on:
- validate
- name: dispatch
image: curlimages/curl:7.81.0
user: root
environment:
PAT_USERNAME:
from_secret: pat_username
PAT_TOKEN:
from_secret: github_token
commands:
- apk -U --no-cache add bash
- scripts/dispatch
when:
event:
- push
depends_on:
- upload
volumes:
- name: docker
host:
path: /var/run/docker.sock
---
kind: pipeline
name: fossa
steps:
- name: fossa
image: rancher/drone-fossa:latest
failure: ignore
settings:
api_key:
from_secret: FOSSA_API_KEY
when:
instance:
- drone-publish.rancher.io