aboutsummaryrefslogtreecommitdiffstats
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)
downloadaports-08aa0ef4000ceedfb3e06395396a3eeaf39f52a3.tar.gz
aports-08aa0ef4000ceedfb3e06395396a3eeaf39f52a3.tar.bz2
aports-08aa0ef4000ceedfb3e06395396a3eeaf39f52a3.tar.xz
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 @@
+---
+kind: pipeline
+name: edge-x86
+
+clone:
+ depth: 50
+
+platform:
+ os: linux
+ arch: amd64
+
+workspace:
+ base: /home/buildozer/drone
+ path: aports
+
+steps:
+ - name: build
+ image: alpinelinux/alpine-drone-ci:edge-x86
+ commands:
+ - build.sh
+ environment:
+ GH_TOKEN:
+ from_secret: github_token
+ pull: always
+
+trigger:
+ event:
+ - pull_request
+
+---
+kind: pipeline
+name: edge-x86_64
+
+clone:
+ depth: 50
+
+platform:
+ os: linux
+ arch: amd64
+
+workspace:
+ base: /home/buildozer/drone
+ path: aports
+
+steps:
+ - name: build
+ image: alpinelinux/alpine-drone-ci:edge-x86_64
+ commands:
+ - build.sh
+ environment:
+ GH_TOKEN:
+ from_secret: github_token
+ pull: always
+
+trigger:
+ event:
+ - pull_request
+
+---
+kind: pipeline
+name: edge-aarch64
+
+clone:
+ depth: 50
+
+platform:
+ os: linux
+ arch: arm64
+
+workspace:
+ base: /home/buildozer/drone
+ path: aports
+
+steps:
+ - name: build
+ image: alpinelinux/alpine-drone-ci:edge-aarch64
+ commands:
+ - build.sh
+ environment:
+ GH_TOKEN:
+ from_secret: github_token
+ pull: always
+
+trigger:
+ event:
+ - pull_request
+
+---
+kind: pipeline
+name: edge-armhf
+
+clone:
+ depth: 50
+
+platform:
+ os: linux
+ arch: arm
+
+workspace:
+ base: /home/buildozer/drone
+ path: aports
+
+steps:
+ - name: build
+ image: alpinelinux/alpine-drone-ci:edge-armhf
+ commands:
+ - build.sh
+ environment:
+ GH_TOKEN:
+ from_secret: github_token
+ pull: always
+
+trigger:
+ event:
+ - pull_request
+
+---
+kind: pipeline
+name: edge-armv7
+
+clone:
+ depth: 50
+
+platform:
+ os: linux
+ arch: arm
+
+workspace:
+ base: /home/buildozer/drone
+ path: aports
+
+steps:
+ - name: build
+ image: alpinelinux/alpine-drone-ci:edge-armv7
+ commands:
+ - build.sh
+ environment:
+ GH_TOKEN:
+ from_secret: github_token
+ pull: always
+
+trigger:
+ event:
+ - pull_request
+