From afee8d9c7a4e8b727d21993c6f890d52943d55cd Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Wed, 4 Oct 2023 14:48:47 +0200 Subject: added woodpecker integration --- .woodpecker/eowyn.yml | 12 ++++++++++++ patches/eowyn.sh | 2 +- test/patch | Bin 0 -> 1204512 bytes 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .woodpecker/eowyn.yml create mode 100755 test/patch diff --git a/.woodpecker/eowyn.yml b/.woodpecker/eowyn.yml new file mode 100644 index 0000000..093bb6d --- /dev/null +++ b/.woodpecker/eowyn.yml @@ -0,0 +1,12 @@ +steps: + eowyn: + image: buddyspencer/ziglang + # image: debian + commands: + - sh ./patches/eowyn.sh + when: + events: + - push + - pull-requests + - cron + cron: "Daily" diff --git a/patches/eowyn.sh b/patches/eowyn.sh index 95b2a1c..67a6b36 100755 --- a/patches/eowyn.sh +++ b/patches/eowyn.sh @@ -39,7 +39,7 @@ do # Apply the bandages to the wounds, grow new limbs, let # new life spring into the broken bodies of the fallen. echo Healing "$true_name"... - patch --output="patches/healed/$true_name.zig" "$broken" "$patch_name" + ./test/patch --output="patches/healed/$true_name.zig" "$broken" "$patch_name" else echo Cannot heal "$true_name". No patch found. fi diff --git a/test/patch b/test/patch new file mode 100755 index 0000000..e3bf6f0 Binary files /dev/null and b/test/patch differ -- cgit v1.2.3