feat: remove woodpecker config in favor of forgejo actions
All checks were successful
/ nextcloud-27 (push) Successful in 12m33s
/ nextcloud-27-app-calendar (push) Successful in 47s
/ nextcloud-27-app-contacts (push) Successful in 1m42s
/ nextcloud-27-app-deck (push) Successful in 3m13s
/ nextcloud-27-app-forms (push) Successful in 1m52s
/ nextcloud-27-app-gpoddersync (push) Successful in 1m4s
/ nextcloud-27-app-gpxpod (push) Successful in 2m34s
/ nextcloud-27-app-groupfolders (push) Successful in 1m39s
/ nextcloud-27-app-polls (push) Successful in 3m20s
/ nextcloud-27-app-previewgenerator (push) Successful in 58s
/ nextcloud-27-app-mail (push) Successful in 5m54s
/ nextcloud-27-app-news (push) Successful in 47s
/ nextcloud-27-app-nextpod (push) Successful in 1m25s
/ nextcloud-27-app-notes (push) Successful in 2m3s
/ nextcloud-27-app-notify-push (push) Successful in 1m31s
/ nextcloud-27-app-richdocuments (push) Successful in 2m18s
/ nextcloud-27-app-richdocumentscode (push) Successful in 5m42s
/ nextcloud-27-app-talk (push) Successful in 4m21s
/ nextcloud-27-app-tasks (push) Successful in 1m53s
/ nextcloud-27-app-twofactor-webauthn (push) Successful in 2m55s
/ nextcloud-27-app-user-oidc (push) Successful in 27s

This commit is contained in:
s3lph 2023-11-12 23:20:10 +01:00
parent 44f0d3e1ea
commit 505a9e104d
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

View file

@ -1,55 +0,0 @@
---
steps:
# One step per package
nextcloud-27: &job
image: git.kabelsalat.ch/s3lph/package-pipeline-builder/builder:latest
group: build
failure: ignore
secrets:
- GITEA_API_REPOSITORY_DEB
- GITEA_API_USERNAME
- GITEA_API_PASSWORD
- MAINTAINER
commands:
# woodpecker for some reason sets CI_STEP_NAME to something autogenerated like wp_01h7nk44xbs0kgqabpatbq2qkv_0_step_0
- |
if echo "$${CI_STEP_NAME}" | grep -Eq '^wp_'; then
export N=$(echo "$${CI_STEP_NAME}" | cut -d_ -f5)
cd "$(cat .woodpecker.yml | yq -r '.steps | keys[env.N|tonumber]')"
else
cd "$${CI_STEP_NAME}"
fi
- '[ -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 "$${GITEA_API_USERNAME}:$${GITEA_API_PASSWORD}" \
--upload-file "$${file}" \
"$${GITEA_API_REPOSITORY_DEB}"
done
nextcloud-27-app-calendar: *job
nextcloud-27-app-contacts: *job
nextcloud-27-app-deck: *job
nextcloud-27-app-forms: *job
nextcloud-27-app-gpoddersync: *job
nextcloud-27-app-gpxpod: *job
nextcloud-27-app-groupfolders: *job
nextcloud-27-app-polls: *job
nextcloud-27-app-previewgenerator: *job
nextcloud-27-app-mail: *job
nextcloud-27-app-news: *job
nextcloud-27-app-nextpod: *job
nextcloud-27-app-notes: *job
nextcloud-27-app-notify-push: *job
nextcloud-27-app-richdocuments: *job
nextcloud-27-app-richdocumentscode: *job
nextcloud-27-app-talk: *job
nextcloud-27-app-tasks: *job
nextcloud-27-app-twofactor-webauthn: *job
nextcloud-27-app-user-oidc: *job