feat: more role backend and admin/writer roles additions and adjustments

This commit is contained in:
Florian Sylvain committed 2026-10-26 18:15:26 +01:00
1 parent 8c6c6456da
commit de142f6c5f
131 files changed
+2663 -435

No files matched your search

+5 -1
View File
@@ -54,6 +54,10 @@ coverpkg=""
for scope in "${scopes[@]}"; do
coverpkg="${coverpkg:+$coverpkg,}$scope/..."
done
memcap=()
if [ "${MUTATE_MEMORY_MAX:-12G}" != "0" ] && command -v systemd-run >/dev/null 2>&1 && systemd-run --user --scope -q true >/dev/null 2>&1; then
memcap=(systemd-run --user --scope -q -p "MemoryMax=${MUTATE_MEMORY_MAX:-12G}" -p MemorySwapMax=0)
fi
parts=()
i=0
for scope in "${scopes[@]}"; do
@@ -73,7 +77,7 @@ for scope in "${scopes[@]}"; do
done
if [ "$keep" -eq 0 ]; then continue; fi
fi
gremlins unleash --integration --tags nofrontend --workers "${MUTATE_WORKERS:-4}" --coverpkg="$coverpkg" --timeout-coefficient 10 ${excludes[@]+"${excludes[@]}"} --output "$(native "$part")" "$scope" || rc=$?
${memcap[@]+"${memcap[@]}"} gremlins unleash --integration --tags nofrontend --workers "${MUTATE_WORKERS:-4}" --coverpkg="$coverpkg" --timeout-coefficient 10 ${excludes[@]+"${excludes[@]}"} --output "$(native "$part")" "$scope" || rc=$?
if [ "$rc" -ge 128 ]; then exit "$rc"; fi
if [ "$rc" -ne 0 ]; then code=$rc; fi
if [ -f "$part" ]; then parts+=("$(native "$part")"); fi