aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2019-02-19 20:09:06 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2019-02-19 20:17:18 +0000
commit08aa0ef4000ceedfb3e06395396a3eeaf39f52a3 (patch)
tree9435481ae253ccfc4a91c9b406c055b17fc8ad2a /.drone.yml
parente7341b5ba167195aa648a599808d157dafa9e3aa (diff)
downloadalpine_aports-08aa0ef4000ceedfb3e06395396a3eeaf39f52a3.tar.bz2
alpine_aports-08aa0ef4000ceedfb3e06395396a3eeaf39f52a3.tar.xz
alpine_aports-08aa0ef4000ceedfb3e06395396a3eeaf39f52a3.zip
drone: add drone config
This add support for cloud.drone.io CI on master/edge Supported arches are - x86 - x86_64 - armhf - armv7 - aarch64
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml145
1 files changed, 145 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000000..7c3c8d0f02
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,145 @@
1---
2kind: pipeline
3name: edge-x86
4
5clone:
6 depth: 50
7
8platform:
9 os: linux
10 arch: amd64
11
12workspace:
13 base: /home/buildozer/drone
14 path: aports
15
16steps:
17 - name: build
18 image: alpinelinux/alpine-drone-ci:edge-x86
19 commands:
20 - build.sh
21 environment:
22 GH_TOKEN:
23 from_secret: github_token
24 pull: always
25
26trigger:
27 event:
28 - pull_request
29
30---
31kind: pipeline
32name: edge-x86_64
33
34clone:
35 depth: 50
36
37platform:
38 os: linux
39 arch: amd64
40
41workspace:
42 base: /home/buildozer/drone
43 path: aports
44
45steps:
46 - name: build
47 image: alpinelinux/alpine-drone-ci:edge-x86_64
48 commands:
49 - build.sh
50 environment:
51 GH_TOKEN:
52 from_secret: github_token
53 pull: always
54
55trigger:
56 event:
57 - pull_request
58
59---
60kind: pipeline
61name: edge-aarch64
62
63clone:
64 depth: 50
65
66platform:
67 os: linux
68 arch: arm64
69
70workspace:
71 base: /home/buildozer/drone
72 path: aports
73
74steps:
75 - name: build
76 image: alpinelinux/alpine-drone-ci:edge-aarch64
77 commands:
78 - build.sh
79 environment:
80 GH_TOKEN:
81 from_secret: github_token
82 pull: always
83
84trigger:
85 event:
86 - pull_request
87
88---
89kind: pipeline
90name: edge-armhf
91
92clone:
93 depth: 50
94
95platform:
96 os: linux
97 arch: arm
98
99workspace:
100 base: /home/buildozer/drone
101 path: aports
102
103steps:
104 - name: build
105 image: alpinelinux/alpine-drone-ci:edge-armhf
106 commands:
107 - build.sh
108 environment:
109 GH_TOKEN:
110 from_secret: github_token
111 pull: always
112
113trigger:
114 event:
115 - pull_request
116
117---
118kind: pipeline
119name: edge-armv7
120
121clone:
122 depth: 50
123
124platform:
125 os: linux
126 arch: arm
127
128workspace:
129 base: /home/buildozer/drone
130 path: aports
131
132steps:
133 - name: build
134 image: alpinelinux/alpine-drone-ci:edge-armv7
135 commands:
136 - build.sh
137 environment:
138 GH_TOKEN:
139 from_secret: github_token
140 pull: always
141
142trigger:
143 event:
144 - pull_request
145