From 4f96e4965587ae376829c4f921a9c6f11cf453c5 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Wed, 13 Apr 2022 20:06:14 +0800 Subject: [PATCH] implement vcs rebuild trigger --- trigger-vcs | 17 +++++++++++++++++ vcs.list | 10 ++++++++++ 2 files changed, 27 insertions(+) create mode 100755 trigger-vcs create mode 100644 vcs.list diff --git a/trigger-vcs b/trigger-vcs new file mode 100755 index 0000000..52914b3 --- /dev/null +++ b/trigger-vcs @@ -0,0 +1,17 @@ +#!/bin/sh + +set -e + +dispatch() { + yq ".sources += [\"https://aur.archlinux.org/$1.git\"] | + .environment.pkgbase = \"$1\" + " < build.yml | ssh builds@builds.xdavidwu.link "submit -n$1\ $2" +} + +IFS=' +' + +for i in $(cat vcs.list); do + [ "$(echo "$i" | head -c 1)" = '#' ] && continue + dispatch $i '(vcs)' +done diff --git a/vcs.list b/vcs.list new file mode 100644 index 0000000..cf567f7 --- /dev/null +++ b/vcs.list @@ -0,0 +1,10 @@ +# If a pkgbase continuously failed pipeline many times, +# it would be commented out and disabled temporarily +# We currently do not check if AUR is flagged out-of-date or flag them. +# Some pkgbases are left here as-is but we may be out of interest already. +# If a package is fixed and we did not uncomment it back, contact us. +amfora-git +ppsspp-git +vim-ale-git +dvtm-git +abduco-git -- 2.43.0