diff options
author | Carlo Landmeter <clandmeter@alpinelinux.org> | 2019-02-19 20:09:06 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2019-02-19 20:17:18 +0000 |
commit | 08aa0ef4000ceedfb3e06395396a3eeaf39f52a3 (patch) | |
tree | 9435481ae253ccfc4a91c9b406c055b17fc8ad2a /.drone.yml | |
parent | e7341b5ba167195aa648a599808d157dafa9e3aa (diff) | |
download | alpine_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.yml | 145 |
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 | --- | ||
2 | kind: pipeline | ||
3 | name: edge-x86 | ||
4 | |||
5 | clone: | ||
6 | depth: 50 | ||
7 | |||
8 | platform: | ||
9 | os: linux | ||
10 | arch: amd64 | ||
11 | |||
12 | workspace: | ||
13 | base: /home/buildozer/drone | ||
14 | path: aports | ||
15 | |||
16 | steps: | ||
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 | |||
26 | trigger: | ||
27 | event: | ||
28 | - pull_request | ||
29 | |||
30 | --- | ||
31 | kind: pipeline | ||
32 | name: edge-x86_64 | ||
33 | |||
34 | clone: | ||
35 | depth: 50 | ||
36 | |||
37 | platform: | ||
38 | os: linux | ||
39 | arch: amd64 | ||
40 | |||
41 | workspace: | ||
42 | base: /home/buildozer/drone | ||
43 | path: aports | ||
44 | |||
45 | steps: | ||
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 | |||
55 | trigger: | ||
56 | event: | ||
57 | - pull_request | ||
58 | |||
59 | --- | ||
60 | kind: pipeline | ||
61 | name: edge-aarch64 | ||
62 | |||
63 | clone: | ||
64 | depth: 50 | ||
65 | |||
66 | platform: | ||
67 | os: linux | ||
68 | arch: arm64 | ||
69 | |||
70 | workspace: | ||
71 | base: /home/buildozer/drone | ||
72 | path: aports | ||
73 | |||
74 | steps: | ||
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 | |||
84 | trigger: | ||
85 | event: | ||
86 | - pull_request | ||
87 | |||
88 | --- | ||
89 | kind: pipeline | ||
90 | name: edge-armhf | ||
91 | |||
92 | clone: | ||
93 | depth: 50 | ||
94 | |||
95 | platform: | ||
96 | os: linux | ||
97 | arch: arm | ||
98 | |||
99 | workspace: | ||
100 | base: /home/buildozer/drone | ||
101 | path: aports | ||
102 | |||
103 | steps: | ||
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 | |||
113 | trigger: | ||
114 | event: | ||
115 | - pull_request | ||
116 | |||
117 | --- | ||
118 | kind: pipeline | ||
119 | name: edge-armv7 | ||
120 | |||
121 | clone: | ||
122 | depth: 50 | ||
123 | |||
124 | platform: | ||
125 | os: linux | ||
126 | arch: arm | ||
127 | |||
128 | workspace: | ||
129 | base: /home/buildozer/drone | ||
130 | path: aports | ||
131 | |||
132 | steps: | ||
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 | |||
142 | trigger: | ||
143 | event: | ||
144 | - pull_request | ||
145 | |||