--- 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