This repository has been archived on 2024-05-06. You can view files and clone it, but cannot push or open issues or pull requests.
package/.drone.yml

256 lines
6.2 KiB
YAML
Raw Normal View History

2020-08-17 10:41:26 +00:00
---
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/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
2020-08-17 10:41:26 +00:00
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-core-testing
image: serguzim/emgauwa-packager:aarch64
commands:
- cd core-testing/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
2020-08-17 10:41:26 +00:00
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-controller
image: serguzim/emgauwa-packager:aarch64
commands:
- cd controller/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
2020-08-17 10:41:26 +00:00
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-controller-testing
image: serguzim/emgauwa-packager:aarch64
commands:
- cd controller-testing/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
2020-08-17 10:41:26 +00:00
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-webapp
image: serguzim/emgauwa-packager:aarch64
commands:
- cd webapp/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
2020-08-17 10:41:26 +00:00
- makepkg -s -f --cleanbuild --noconfirm
- name: upload-packages
image: serguzim/drone-webdav:aarch64
settings:
file: \ls /drone/src/*/emgauwa-*-*.pkg.tar.*
2020-08-17 10:55:25 +00:00
destination: https://serguzim.me/repo/archlinux/aarch64/emgauwa/
2020-08-17 10:41:26 +00:00
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:
2020-07-17 18:31:54 +00:00
- cd core/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
- 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
commands:
- cd core-testing/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-controller
2020-07-27 00:13:56 +00:00
image: serguzim/emgauwa-packager:armv6h
commands:
- cd controller/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-controller-testing
2020-07-27 00:13:56 +00:00
image: serguzim/emgauwa-packager:armv6h
commands:
- cd controller-testing/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-webapp
2020-07-27 00:13:56 +00:00
image: serguzim/emgauwa-packager:armv6h
commands:
- cd webapp/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
- 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
settings:
file: \ls /drone/src/*/emgauwa-*-*.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-08-17 11:42:58 +00:00
---
kind: pipeline
name: makepkg-on-armv7h
workspace:
path: /drone/src
platform:
arch: arm
steps:
- name: makepkg-core
image: serguzim/emgauwa-packager:armv7h
commands:
- cd core/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
2020-08-17 11:42:58 +00:00
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-core-testing
image: serguzim/emgauwa-packager:armv7h
commands:
- cd core-testing/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
2020-08-17 11:42:58 +00:00
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-controller
image: serguzim/emgauwa-packager:armv7h
commands:
- cd controller/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
2020-08-17 11:42:58 +00:00
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-controller-testing
image: serguzim/emgauwa-packager:armv7h
commands:
- cd controller-testing/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
2020-08-17 11:42:58 +00:00
- makepkg -s -f --cleanbuild --noconfirm
- name: makepkg-webapp
image: serguzim/emgauwa-packager:armv7h
commands:
- cd webapp/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
2020-08-17 11:42:58 +00:00
- makepkg -s -f --cleanbuild --noconfirm
- name: upload-packages
image: serguzim/drone-webdav:armv7h
settings:
file: \ls /drone/src/*/emgauwa-*-*.pkg.tar.*
2020-08-17 11:42:58 +00:00
destination: https://serguzim.me/repo/archlinux/armv7h/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
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
image: serguzim/emgauwa-packager:x86_64
2020-07-26 23:58:47 +00:00
commands:
- cd core/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
2020-07-26 23:58:47 +00:00
- 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/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
2020-07-26 23:58:47 +00:00
- 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/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
2020-07-26 23:58:47 +00:00
- 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/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
2020-07-26 23:58:47 +00:00
- 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/
- [ -z "$(git diff HEAD^ .)" ] || exit 0
2020-07-26 23:58:47 +00:00
- 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-*-*.pkg.tar.*
2020-07-26 23:58:47 +00:00
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