-
Notifications
You must be signed in to change notification settings - Fork 23
/
.drone.yml
39 lines (35 loc) · 920 Bytes
/
.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
36
37
38
39
kind: pipeline
name: ubuntu
steps:
- name: build
image: ngld/knossos-builders:ubuntu
secrets: [ubuntu_gpg_key, ubuntu_key]
environment:
TRAVIS: n
RELEASE: n
UBUNTU_GPG_KEY:
from_secret: ubuntu_gpg_key
UBUNTU_KEY:
from_secret: ubuntu_key
commands:
- export VERSION="$(python3 setup.py get_version)"
- if [ "$DRONE_BUILD_EVENT" = "tag" ]; then export RELEASE=y; fi
- bash releng/ubuntu/auto-build.sh
---
kind: pipeline
name: arch
steps:
- name: build
image: ngld/knossos-builders:arch
secrets: [aur_key]
environment:
TRAVIS: n
RELEASE: n
AUR_USER: ngld
AUR_EMAIL: [email protected]
AUR_KEY:
from_secret: aur_key
commands:
- export VERSION="$(python3 setup.py get_version)"
- if [ "$DRONE_BUILD_EVENT" = "tag" ]; then export RELEASE=y; fi
- bash releng/arch/auto-build.sh