2023-12-05 23:40:22 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
schedule:
|
|
|
|
- cron: "0 2 * * *" # every night at 1 AM
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
# One step per package
|
2024-10-04 10:20:40 +02:00
|
|
|
|
2023-12-05 23:40:22 +01:00
|
|
|
ansible-semaphore: &job
|
|
|
|
runs-on: docker
|
|
|
|
container:
|
|
|
|
image: git.kabelsalat.ch/s3lph/package-pipeline-builder:latest
|
|
|
|
env:
|
|
|
|
API_REPOSITORY_DEB: ${{ secrets.API_REPOSITORY_DEB }}
|
|
|
|
API_USERNAME: ${{ secrets.API_USERNAME }}
|
|
|
|
API_PASSWORD: ${{ secrets.API_PASSWORD }}
|
|
|
|
MAINTAINER: ${{ secrets.MAINTAINER }}
|
|
|
|
steps:
|
|
|
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
|
|
|
- run: |
|
|
|
|
cd "${GITHUB_JOB}"
|
|
|
|
[ -x build.sh ] && ./build.sh
|
|
|
|
[ -x package.sh ] && fakeroot ./package.sh
|
|
|
|
cd build
|
|
|
|
lintian *.deb || true
|
|
|
|
# Upload to the repo
|
|
|
|
for file in *deb; do
|
|
|
|
curl --user "${API_USERNAME}:${API_PASSWORD}" \
|
|
|
|
--upload-file "${file}" \
|
|
|
|
"${API_REPOSITORY_DEB}"
|
|
|
|
done
|
|
|
|
daliserver: *job
|
|
|
|
forgejo: *job
|
|
|
|
forgejo-runner: *job
|
|
|
|
http-mqtt-bridge: *job
|
2024-10-04 10:20:40 +02:00
|
|
|
keycloak-26: *job
|
2023-12-05 23:40:22 +01:00
|
|
|
linux-diversion-ath-regd-optional: *job
|
|
|
|
lottieconverter: *job
|
|
|
|
matterbridge: *job
|
|
|
|
matrix-element-web: *job
|
|
|
|
matrix-hydrogen: *job
|
|
|
|
matrix.to: *job
|
|
|
|
maubot: *job
|
|
|
|
maubot-plugin-spaceapi: *job
|
|
|
|
maubot-plugin-ultimaker: *job
|
|
|
|
mautrix-signal: *job
|
|
|
|
mautrix-telegram: *job
|
|
|
|
mediawiki-extension-auth-remoteuser: *job
|
|
|
|
mediawiki-extension-nativesvghandler: *job
|
|
|
|
mediawiki-extension-openidconnect: *job
|
|
|
|
mediawiki-extension-pluggableauth: *job
|
|
|
|
mqtt2prometheus: *job
|
|
|
|
prometheus-ipmi-exporter: *job
|
|
|
|
prometheus-dnsbl-exporter: *job
|
|
|
|
prometheus2influxdb: *job
|
|
|
|
python3-mautrix: *job
|
|
|
|
python3-telethon: *job
|
|
|
|
repo.s3lph.me-apt-source: *job
|
|
|
|
republik-feeder: *job
|
2024-11-23 21:41:00 +01:00
|
|
|
ydotool: *job
|
|
|
|
ydotoold: *job
|