openpdu-libs/.drone.yml

42 lines
832 B
YAML
Raw Normal View History

2018-08-17 18:43:16 +00:00
platform: linux/arm
2018-08-19 15:40:35 +00:00
workspace:
base: /home/builder/package
path: /
2018-08-17 19:52:47 +00:00
clone:
default:
image: plugins/git:linux-arm
depth: 50
2018-08-05 09:37:09 +00:00
pipeline:
build:
2018-08-19 15:40:35 +00:00
image: arm32v6/abuild:latest
environment:
2018-08-19 16:14:42 +00:00
- REPODEST=/home/builder/package
2018-08-19 16:07:24 +00:00
# - RSA_PRIVATE_KEY="$$abuild_ssh_key"
# - RSA_PRIVATE_KEY_NAME="$$abuild_ssh_key_name"
2018-08-19 15:52:26 +00:00
secrets:
2018-08-19 16:07:24 +00:00
- source: abuild_ssh_key
target: RSA_PRIVATE_KEY
- source: abuild_ssh_key_name
target: RSA_PRIVATE_KEY_NAME
2018-08-19 16:13:52 +00:00
list:
image: arm32v6/alpine:3.7
commands:
2018-08-19 16:14:42 +00:00
- find /home/builder/package
2018-08-19 16:13:52 +00:00
gitea_release:
image: plugins/gitea-release:linux-arm
2018-08-19 16:14:42 +00:00
files: ./*.apk
2018-08-19 16:13:52 +00:00
checksum:
- md5
- sha1
- sha256
- sha512
secrets: [ gitea_token ]
base_url: https://git.asperti.com
# when:
# event: tag