~xdavidwu/aurbuild

4f96e4965587ae376829c4f921a9c6f11cf453c5 — xdavidwu 2 years ago e02366b
implement vcs rebuild trigger
2 files changed, 27 insertions(+), 0 deletions(-)

A trigger-vcs
A vcs.list
A trigger-vcs => trigger-vcs +17 -0
@@ 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

A vcs.list => vcs.list +10 -0
@@ 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