2020-07-16 22:45:35 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-07-27 00:11:50 +00:00
|
|
|
name: makepkg-on-armv6h
|
2020-07-16 22:45:35 +00:00
|
|
|
|
|
|
|
workspace:
|
|
|
|
path: /drone/src
|
|
|
|
|
|
|
|
platform:
|
|
|
|
arch: arm
|
|
|
|
|
|
|
|
steps:
|
2020-07-17 19:33:53 +00:00
|
|
|
- name: makepkg-core
|
2020-07-27 00:11:50 +00:00
|
|
|
image: serguzim/emgauwa-packager:armv6h
|
2020-07-16 22:45:35 +00:00
|
|
|
commands:
|
2020-07-17 18:31:54 +00:00
|
|
|
- cd core/
|
2020-07-16 22:45:35 +00:00
|
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
2020-07-17 21:40:58 +00:00
|
|
|
- name: makepkg-core-testing
|
2020-07-27 00:13:56 +00:00
|
|
|
image: serguzim/emgauwa-packager:armv6h
|
2020-07-17 19:33:53 +00:00
|
|
|
commands:
|
|
|
|
- cd core-testing/
|
2020-07-16 22:45:35 +00:00
|
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
2020-07-17 19:33:53 +00:00
|
|
|
- name: makepkg-controller
|
2020-07-27 00:13:56 +00:00
|
|
|
image: serguzim/emgauwa-packager:armv6h
|
2020-07-17 19:33:53 +00:00
|
|
|
commands:
|
|
|
|
- cd controller/
|
2020-07-16 22:45:35 +00:00
|
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
2020-07-17 19:33:53 +00:00
|
|
|
- name: makepkg-controller-testing
|
2020-07-27 00:13:56 +00:00
|
|
|
image: serguzim/emgauwa-packager:armv6h
|
2020-07-17 19:33:53 +00:00
|
|
|
commands:
|
|
|
|
- cd controller-testing/
|
2020-07-16 22:45:35 +00:00
|
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
2020-07-17 19:33:53 +00:00
|
|
|
- name: makepkg-webapp
|
2020-07-27 00:13:56 +00:00
|
|
|
image: serguzim/emgauwa-packager:armv6h
|
2020-07-17 19:33:53 +00:00
|
|
|
commands:
|
|
|
|
- cd webapp/
|
2020-07-16 22:45:35 +00:00
|
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
2020-07-26 23:02:35 +00:00
|
|
|
- name: upload-packages
|
2020-07-27 00:23:43 +00:00
|
|
|
image: serguzim/drone-webdav:armv7h
|
2020-07-16 22:45:35 +00:00
|
|
|
settings:
|
|
|
|
file: \ls /drone/src/*/emgauwa-*-any.pkg.tar.*
|
|
|
|
destination: https://serguzim.me/repo/archlinux/armv6h/emgauwa/
|
|
|
|
username:
|
|
|
|
from_secret: webdav_username
|
|
|
|
password:
|
|
|
|
from_secret: webdav_password
|
2020-07-26 23:02:35 +00:00
|
|
|
depends_on:
|
|
|
|
- makepkg-core
|
|
|
|
- makepkg-core-testing
|
|
|
|
- makepkg-controller
|
|
|
|
- makepkg-controller-testing
|
|
|
|
- makepkg-webapp
|
2020-07-17 19:59:29 +00:00
|
|
|
- name: send-webhook
|
|
|
|
image: plugins/webhook
|
|
|
|
settings:
|
|
|
|
urls:
|
|
|
|
from_secret: webhook_url
|
2020-07-26 23:02:35 +00:00
|
|
|
depends_on:
|
|
|
|
- upload-packages
|
|
|
|
|
2020-07-26 23:58:47 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: makepkg-on-x86_64
|
|
|
|
|
|
|
|
workspace:
|
|
|
|
path: /drone/src
|
|
|
|
|
|
|
|
platform:
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: makepkg-core
|
2020-07-27 00:11:50 +00:00
|
|
|
image: serguzim/emgauwa-packager:x86_64
|
2020-07-26 23:58:47 +00:00
|
|
|
commands:
|
|
|
|
- cd core/
|
|
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
|
|
- name: makepkg-core-testing
|
2020-07-27 00:13:56 +00:00
|
|
|
image: serguzim/emgauwa-packager:x86_64
|
2020-07-26 23:58:47 +00:00
|
|
|
commands:
|
|
|
|
- cd core-testing/
|
|
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
|
|
- name: makepkg-controller
|
2020-07-27 00:13:56 +00:00
|
|
|
image: serguzim/emgauwa-packager:x86_64
|
2020-07-26 23:58:47 +00:00
|
|
|
commands:
|
|
|
|
- cd controller/
|
|
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
|
|
- name: makepkg-controller-testing
|
2020-07-27 00:13:56 +00:00
|
|
|
image: serguzim/emgauwa-packager:x86_64
|
2020-07-26 23:58:47 +00:00
|
|
|
commands:
|
|
|
|
- cd controller-testing/
|
|
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
|
|
- name: makepkg-webapp
|
2020-07-27 00:13:56 +00:00
|
|
|
image: serguzim/emgauwa-packager:x86_64
|
2020-07-26 23:58:47 +00:00
|
|
|
commands:
|
|
|
|
- cd webapp/
|
|
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
|
|
- name: upload-packages
|
2020-07-27 00:23:43 +00:00
|
|
|
image: serguzim/drone-webdav:x86_64
|
2020-07-26 23:58:47 +00:00
|
|
|
settings:
|
|
|
|
file: \ls /drone/src/*/emgauwa-*-any.pkg.tar.*
|
|
|
|
destination: https://serguzim.me/repo/archlinux/x86_64/emgauwa/
|
|
|
|
username:
|
|
|
|
from_secret: webdav_username
|
|
|
|
password:
|
|
|
|
from_secret: webdav_password
|
|
|
|
depends_on:
|
|
|
|
- makepkg-core
|
|
|
|
- makepkg-core-testing
|
|
|
|
- makepkg-controller
|
|
|
|
- makepkg-controller-testing
|
|
|
|
- makepkg-webapp
|
|
|
|
- name: send-webhook
|
|
|
|
image: plugins/webhook
|
|
|
|
settings:
|
|
|
|
urls:
|
|
|
|
from_secret: webhook_url
|
|
|
|
depends_on:
|
|
|
|
- upload-packages
|