diff --git a/.drone.star b/.drone.star new file mode 100644 index 0000000..f86a39d --- /dev/null +++ b/.drone.star @@ -0,0 +1,19 @@ +load('@lib://arch_pkg:helpers.star', 'generate') + +config = { + 'arch_matrix': [ + 'aarch64', + 'x86_64' + ], + + 'all': [ + 'wlroots-git', + 'swaybg-git', + 'sway-git', + 'swayidle-git', + 'swaylock-git' + ] +} + +def main(ctx): + return generate(config) diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 56e876e..0000000 --- a/.drone.yml +++ /dev/null @@ -1,98 +0,0 @@ ---- -kind: pipeline -type: docker -name: aarch64 - -platform: - os: linux - arch: arm64 - -steps: - - name: wlroots-git - image: depau/drone-makepkg:aarch64 - pull: always - settings: - aur: wlroots-git - - - name: swaybg-git - image: depau/drone-makepkg:aarch64 - settings: - aur: swaybg-git - - - name: sway-git - image: depau/drone-makepkg:aarch64 - settings: - aur: sway-git - - - name: swayidle-git - image: depau/drone-makepkg:aarch64 - settings: - aur: swayidle-git - - - name: swaylock-git - image: depau/drone-makepkg:aarch64 - settings: - aur: swaylock-git - - - name: upload - image: plugins/s3 - settings: - bucket: archlinux-packages - access_key: - from_secret: minio_user - secret_key: - from_secret: minio_passwd - source: out/* - target: /aarch64 - path_style: true - endpoint: https://objstor.depau.eu - ---- -kind: pipeline -type: docker -name: x86_64 - -platform: - os: linux - arch: amd64 - -steps: - - name: wlroots-git - image: depau/drone-makepkg:x86_64 - pull: always - settings: - aur: wlroots-git - - - name: swaybg-git - image: depau/drone-makepkg:x86_64 - settings: - aur: swaybg-git - - - name: sway-git - image: depau/drone-makepkg:x86_64 - settings: - aur: sway-git - - - name: swayidle-git - image: depau/drone-makepkg:x86_64 - settings: - aur: swayidle-git - - - name: swaylock-git - image: depau/drone-makepkg:x86_64 - settings: - aur: swaylock-git - - - name: upload - image: plugins/s3 - settings: - bucket: archlinux-packages - access_key: - from_secret: minio_user - secret_key: - from_secret: minio_passwd - source: out/* - target: /x86_64 - path_style: true - endpoint: https://objstor.depau.eu -