packages: add alpine test cases

This commit is contained in:
Earl Warren 2024-01-24 00:03:34 +01:00
parent d825dac67e
commit 74d11b5eaf
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
10 changed files with 305 additions and 10 deletions

14
lib/lib.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/bash
# Copyright 2024 The Forgejo Authors
# SPDX-License-Identifier: MIT
set -e
set -o pipefail
export DEBIAN_FRONTEND=noninteractive
if test $(id -u) != 0 ; then
SUDO=sudo
fi
PS4='${BASH_SOURCE[0]}:$LINENO: ${FUNCNAME[0]}: '