Automated Manifest Update #2752

Merged
alexlebens merged 1 commits from auto/update-manifests into manifests 2025-12-20 05:57:20 +00:00
2 changed files with 5 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ data:
SUCCESS=false
for i in $(seq 1 "$MAX_RETRIES"); do
if apk update --short > /dev/null 2>&1; then
if apk update 2>&1 >/dev/null; then
echo ">> Attempt $i: Repositories are reachable"
SUCCESS=true
break
@@ -29,8 +29,7 @@ data:
exit 1
fi
if ! command -v curl 2>&1 >/dev/null
then
if ! command -v curl 2>&1 >/dev/null; then
echo "curl could not be found, installing";
apk add --no-cache curl;
if [ $? -eq 0 ]; then
@@ -41,8 +40,7 @@ data:
fi
fi;
if ! command -v jq 2>&1 >/dev/null
then
if ! command -v jq 2>&1 >/dev/null; then
echo "jq could not be found, installing";
apk add --no-cache jq;
if [ $? -eq 0 ]; then

View File

@@ -12,10 +12,8 @@ data:
MAX_RETRIES=5
SUCCESS=false
apk update --short
for i in $(seq 1 "$MAX_RETRIES"); do
if apk update --short > /dev/null 2>&1; then
if apk update 2>&1 >/dev/null; then
echo ">> Attempt $i: Repositories are reachable";
SUCCESS=true;
break;
@@ -30,8 +28,7 @@ data:
exit 1;
fi
if ! command -v jq 2>&1 >/dev/null;
then
if ! command -v jq 2>&1 >/dev/null; then
echo "jq could not be found, installing";
apk add --no-cache jq;
if [ $? -eq 0 ]; then