Add Gitea 1.26.4 Alpine package
This commit is contained in:
+13
-3
@@ -5,7 +5,7 @@ repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
alpine_version="${ALPINE_VERSION:-3.23}"
|
||||
platform="${ALPINE_BUILD_PLATFORM:-linux/amd64}"
|
||||
arch="${ALPINE_ARCH:-x86_64}"
|
||||
packages="${SMOKE_PACKAGES:-seaweedfs seaweedfs-master-openrc seaweedfs-filer-openrc seaweedfs-worker-openrc}"
|
||||
packages="${SMOKE_PACKAGES:-seaweedfs seaweedfs-master-openrc seaweedfs-filer-openrc seaweedfs-worker-openrc gitea gitea-openrc}"
|
||||
|
||||
if [[ ! -d "${repo_root}/packages/local/${arch}" ]]; then
|
||||
printf 'missing local repository: packages/local/%s\n' "${arch}" >&2
|
||||
@@ -22,9 +22,19 @@ docker run --rm --platform "${platform}" \
|
||||
echo /repo >> /etc/apk/repositories
|
||||
apk update >/dev/null
|
||||
apk add ${packages} >/dev/null
|
||||
weed version
|
||||
ls -1 /etc/seaweedfs
|
||||
if command -v weed >/dev/null 2>&1; then
|
||||
weed version
|
||||
ls -1 /etc/seaweedfs
|
||||
fi
|
||||
if command -v gitea >/dev/null 2>&1; then
|
||||
gitea --version
|
||||
test -f /etc/gitea/app.ini
|
||||
test -d /var/lib/gitea
|
||||
fi
|
||||
if ls /etc/init.d/seaweedfs.* >/dev/null 2>&1; then
|
||||
ls -1 /etc/init.d/seaweedfs.* | sort
|
||||
fi
|
||||
if [ -f /etc/init.d/gitea ]; then
|
||||
ls -1 /etc/init.d/gitea
|
||||
fi
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user