-
Notifications
You must be signed in to change notification settings - Fork 2
/
.drone.yml
35 lines (33 loc) · 1.06 KB
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
kind: pipeline
type: docker
name: default
steps:
- name: "makepkg"
image: archlinux:base-devel
commands:
- pacman-key --init
- pacman-key --populate archlinux
- pacman -Sy archlinux-keyring --needed --noconfirm && pacman -Syyu --needed --noconfirm && pacman -S --needed --noconfirm git patch
- useradd droneci -m
- chown droneci:droneci /drone/src
- passwd -d droneci
- printf 'droneci ALL=(ALL) ALL\n' | tee -a /etc/sudoers
- su - droneci
- git clone https://aur.archlinux.org/ungoogled-chromium.git
- cd ungoogled-chromium
- patch PKGBUILD < /drone/src/PKGBUILD.patch
- makepkg --syncdeps --noconfirm
- mv *.zst /drone/src
- name: upload
image: plugins/s3
settings:
bucket: ungoogled-chromium-builds
source: /drone/src/*.zst
target: ${DRONE_BUILD_NUMBER}
strip_prefix: /drone/src/
path_style: true
endpoint: https://bucket.quinncasey.com
access_key:
from_secret: minio_access_key
secret_key:
from_secret: minio_secret_key