From 7aa0b1655cf69c3970224101a8121a00d507ad04 Mon Sep 17 00:00:00 2001 From: ccubed Date: Sat, 30 Mar 2024 02:22:03 -0400 Subject: [PATCH] Further woodpecker enhancements --- .woodpecker.yaml | 40 ++-------------------------------------- 1 file changed, 2 insertions(+), 38 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 7de572b..9041b66 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -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