Further woodpecker enhancements
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Charles Click 2024-03-30 02:22:03 -04:00
parent 0ef1aa652c
commit 7aa0b1655c
Signed by: roryejinn
GPG Key ID: EDECB89DEDB998C0

View File

@ -14,6 +14,7 @@ steps:
- wget https://github.com/demonnic/muddler/releases/download/0.13/muddle-shadow-0.13.tar
- tar -xvf muddle-shadow-0.13.tar
- mv muddle-shadow-0.13/lib/muddle-0.13-all.jar muddle.jar
- java -jar muddle.jar
- name: deploy-build
image: woodpeckerci/plugin-gitea-release
@ -30,49 +31,12 @@ steps:
target: main
depends_on: build-release
- name: test-build
image: alpine
when:
- event: pull_request
- event: push
- branch:
include: "**"
exclude: main
commands:
- apk add openjdk21
- apk add wget
- apk add tar
- wget https://github.com/demonnic/muddler/releases/download/0.13/muddle-shadow-0.13.tar
- tar -xvf muddle-shadow-0.13.tar
- mv muddle-shadow-0.13/lib/muddle-0.13-all.jar muddle.jar
- java -jar muddle.jar
- name: notify-on-pull
image: mcs94/gitea-comment
settings:
gitea_address: https://git.vertinext.com
gitea_token:
from_secret: GITEA_TOKEN
comment: >
✅ Build ${CI_BUILD_EVENT} of `${CI_REPO_NAME}` has status `${CI_BUILD_STATUS}`.
📝 Commit by ${CI_COMMIT_AUTHOR} on `${CI_COMMIT_BRANCH}`:
`${CI_COMMIT_MESSAGE}`
🌐 ${CI_BUILD_LINK}
depends_on: test-build
when:
- event: pull_request
- branch: main
- status: [success, failure]
- name: notify-on-branch-push
image: alpine
when:
- event: push
- status: [success, failure]
- branch:
include: "**"
exclude: main
depends_on: test-build
depends_on: build-release
secrets: [GITEA_TOKEN]
commands:
- apk add curl