1
0
Fork 0

also build for buster
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Markus 2021-09-07 23:21:27 +02:00
parent b775e2943e
commit 3a81703d50
1 changed files with 44 additions and 3 deletions

View File

@ -2,7 +2,48 @@
kind: pipeline
type: docker
name: default
name: buster
clone:
disable: true
steps:
- name: clone
image: alpine/git
commands:
- git clone --depth 1 https://github.com/moepman/wgskex.git .
- name: build
image: debian:buster-slim
commands:
- apt update -qq -y
- apt install -qq -y build-essential debhelper devscripts dh-virtualenv python3-dev python3-pip python3-setuptools python3-venv
- dpkg-buildpackage -us -uc -b
- mkdir release
- mv ../*.deb release
- name: upload
image: plugins/s3
settings:
bucket: wgskex
access_key:
from_secret: s3_access_key
secret_key:
from_secret: s3_secret_key
path_style: true
endpoint: https://s3.moepman.eu
source: release/*
target: ${DRONE_BUILD_NUMBER}/buster
strip_prefix: release/
trigger:
event:
- cron
- push
---
kind: pipeline
type: docker
name: bullseye
clone:
disable: true
@ -31,7 +72,7 @@ steps:
path_style: true
endpoint: https://s3.moepman.eu
source: release/*
target: ${DRONE_BUILD_NUMBER}
target: ${DRONE_BUILD_NUMBER}/bullseye
strip_prefix: release/
trigger:
@ -43,7 +84,7 @@ trigger:
kind: pipeline
type: docker
name: tag
name: tag-bullseye
clone:
disable: true