File _build_series.sh of Package authentik

#!/bin/bash -Cefux
# dirty script to build the whole stack locally
d=/tmp/rpms
components=(
	'python-ak-guardian'
	'python-django-channels-postgres'
	'python-django-dramatiq-postgres'
	'python-django-postgres-cache'
	'python-authentik'
	'main'
	'frontend'
	'server'
	'worker'
)

test -d $d && rm -r $d
mkdir $d

cmd="osc build -k $d -p $d --without=checks 16.0"

for c in "${components[@]}"
do
	_cmd="$cmd"
	if [[ "$c" != 'main' ]]
	then
		_cmd="$cmd -M $c"
	fi

	$_cmd
done
openSUSE Build Service is sponsored by