2022-04-22 18:30:19 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2022-04-22 20:38:18 +00:00
|
|
|
- name: Build Bullseye
|
2022-04-22 18:30:19 +00:00
|
|
|
image: debian:bullseye
|
|
|
|
commands:
|
|
|
|
- apt update
|
|
|
|
- apt -y upgrade
|
|
|
|
- apt -y install --no-install-recommends build-essential equivs devscripts
|
|
|
|
- mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
|
|
|
|
- dpkg-buildpackage -b -uc
|
|
|
|
- mkdir debian/release
|
2022-04-22 20:38:18 +00:00
|
|
|
- cp ../tinc*.deb debian/release/
|
2022-04-22 18:30:19 +00:00
|
|
|
- find ..
|
2022-04-22 20:38:18 +00:00
|
|
|
|
2022-04-23 07:01:57 +00:00
|
|
|
#- name: Build Buster
|
|
|
|
# image: debian:buster
|
|
|
|
# commands:
|
|
|
|
# - apt update
|
|
|
|
# - apt -y upgrade
|
|
|
|
# - apt -y install --no-install-recommends build-essential equivs devscripts
|
|
|
|
# - mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
|
|
|
|
# - dpkg-buildpackage -b -uc
|
|
|
|
# - mkdir debian/release
|
|
|
|
# - cp ../tinc*.deb debian/release/
|
|
|
|
# - find ..
|
2022-04-22 20:38:18 +00:00
|
|
|
|
|
|
|
- name: gitea_release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: GITEA_KEY
|
|
|
|
base_url: https://git.neulandlabor.de/
|
|
|
|
files: debian/release/*
|
|
|
|
when:
|
|
|
|
event: tag
|
|
|
|
depends_on:
|
|
|
|
- Build Bullseye
|