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
|
2022-04-23 07:28:09 +00:00
|
|
|
volumes:
|
|
|
|
- name: finished_files
|
|
|
|
path: /deb_files
|
2022-04-22 18:30:19 +00:00
|
|
|
commands:
|
|
|
|
- apt update
|
|
|
|
- apt -y upgrade
|
2022-04-23 07:17:57 +00:00
|
|
|
- apt -y install --no-install-recommends build-essential equivs devscripts git
|
|
|
|
- git clean -f -d -x
|
2022-04-22 18:30:19 +00:00
|
|
|
- mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
|
|
|
|
- dpkg-buildpackage -b -uc
|
2022-04-23 08:42:05 +00:00
|
|
|
- rename 's/\.deb/_bullseye\.deb/' ../*.deb
|
2022-04-23 07:28:09 +00:00
|
|
|
- mkdir -p /deb_files/bullseye/
|
|
|
|
- cp ../tinc*.deb /deb_files/bullseye/
|
2022-04-23 08:19:29 +00:00
|
|
|
- find /deb_files/
|
2022-04-22 20:38:18 +00:00
|
|
|
|
2022-04-23 07:07:11 +00:00
|
|
|
- name: Build Buster
|
|
|
|
image: debian:buster
|
2022-04-23 07:28:09 +00:00
|
|
|
volumes:
|
|
|
|
- name: finished_files
|
|
|
|
path: /deb_files
|
2022-04-23 07:07:11 +00:00
|
|
|
commands:
|
|
|
|
- apt update
|
|
|
|
- apt -y upgrade
|
2022-04-23 07:17:57 +00:00
|
|
|
- apt -y install --no-install-recommends build-essential equivs devscripts git
|
|
|
|
- git clean -f -d -x
|
2022-04-23 07:07:11 +00:00
|
|
|
- mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
|
|
|
|
- dpkg-buildpackage -b -uc
|
2022-04-23 08:42:05 +00:00
|
|
|
- rename 's/\.deb/_buster\.deb/' ../*.deb
|
2022-04-23 07:28:09 +00:00
|
|
|
- mkdir -p /deb_files/buster/
|
|
|
|
- cp ../tinc*.deb /deb_files/buster/
|
2022-04-23 08:19:29 +00:00
|
|
|
- find /deb_files/
|
2022-04-22 20:38:18 +00:00
|
|
|
|
|
|
|
- name: gitea_release
|
|
|
|
image: plugins/gitea-release
|
2022-04-23 08:32:55 +00:00
|
|
|
volumes:
|
|
|
|
- name: finished_files
|
|
|
|
path: /deb_files
|
2022-04-22 20:38:18 +00:00
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: GITEA_KEY
|
|
|
|
base_url: https://git.neulandlabor.de/
|
2022-04-23 07:16:41 +00:00
|
|
|
files:
|
2022-04-23 08:24:54 +00:00
|
|
|
- /deb_files/buster/*
|
|
|
|
- /deb_files/bullseye/*
|
2022-04-22 20:38:18 +00:00
|
|
|
when:
|
|
|
|
event: tag
|
2022-04-23 08:08:44 +00:00
|
|
|
|
2022-04-23 07:58:17 +00:00
|
|
|
volumes:
|
|
|
|
- name: finished_files
|
|
|
|
temp: {}
|