176 lines
4 KiB
YAML
176 lines
4 KiB
YAML
---
|
|
kind: pipeline
|
|
name: makepkg-on-aarch64
|
|
|
|
workspace:
|
|
path: /drone/src
|
|
|
|
platform:
|
|
arch: arm64
|
|
|
|
steps:
|
|
- name: makepkg-core
|
|
image: serguzim/emgauwa-packager:aarch64
|
|
commands:
|
|
- cd core/
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
- name: makepkg-core-testing
|
|
image: serguzim/emgauwa-packager:aarch64
|
|
commands:
|
|
- cd core-testing/
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
- name: makepkg-controller
|
|
image: serguzim/emgauwa-packager:aarch64
|
|
commands:
|
|
- cd controller/
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
- name: makepkg-controller-testing
|
|
image: serguzim/emgauwa-packager:aarch64
|
|
commands:
|
|
- cd controller-testing/
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
- name: makepkg-webapp
|
|
image: serguzim/emgauwa-packager:aarch64
|
|
commands:
|
|
- cd webapp/
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
- name: upload-packages
|
|
image: serguzim/drone-webdav:aarch64
|
|
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
|
|
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
|
|
|
|
---
|
|
kind: pipeline
|
|
name: makepkg-on-armv6h
|
|
|
|
workspace:
|
|
path: /drone/src
|
|
|
|
platform:
|
|
arch: arm
|
|
|
|
steps:
|
|
- name: makepkg-core
|
|
image: serguzim/emgauwa-packager:armv6h
|
|
commands:
|
|
- cd core/
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
- name: makepkg-core-testing
|
|
image: serguzim/emgauwa-packager:armv6h
|
|
commands:
|
|
- cd core-testing/
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
- name: makepkg-controller
|
|
image: serguzim/emgauwa-packager:armv6h
|
|
commands:
|
|
- cd controller/
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
- name: makepkg-controller-testing
|
|
image: serguzim/emgauwa-packager:armv6h
|
|
commands:
|
|
- cd controller-testing/
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
- name: makepkg-webapp
|
|
image: serguzim/emgauwa-packager:armv6h
|
|
commands:
|
|
- cd webapp/
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
- name: upload-packages
|
|
image: serguzim/drone-webdav:armv7h
|
|
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
|
|
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
|
|
|
|
---
|
|
kind: pipeline
|
|
name: makepkg-on-x86_64
|
|
|
|
workspace:
|
|
path: /drone/src
|
|
|
|
platform:
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: makepkg-core
|
|
image: serguzim/emgauwa-packager:x86_64
|
|
commands:
|
|
- cd core/
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
- name: makepkg-core-testing
|
|
image: serguzim/emgauwa-packager:x86_64
|
|
commands:
|
|
- cd core-testing/
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
- name: makepkg-controller
|
|
image: serguzim/emgauwa-packager:x86_64
|
|
commands:
|
|
- cd controller/
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
- name: makepkg-controller-testing
|
|
image: serguzim/emgauwa-packager:x86_64
|
|
commands:
|
|
- cd controller-testing/
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
- name: makepkg-webapp
|
|
image: serguzim/emgauwa-packager:x86_64
|
|
commands:
|
|
- cd webapp/
|
|
- makepkg -s -f --cleanbuild --noconfirm
|
|
- name: upload-packages
|
|
image: serguzim/drone-webdav:x86_64
|
|
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
|