generated from archlinux-packages/template
Switch to Starlark config
This commit is contained in:
parent
935d36e23d
commit
9637fd00a2
2 changed files with 19 additions and 98 deletions
19
.drone.star
Normal file
19
.drone.star
Normal file
|
@ -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)
|
98
.drone.yml
98
.drone.yml
|
@ -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
|
||||
|
Loading…
Reference in a new issue