From c9399d735871f4d25d0234aa8013c4d6c6ad3228 Mon Sep 17 00:00:00 2001 From: crystal Date: Sat, 9 Sep 2023 13:27:52 -0600 Subject: [PATCH] should be faster --- .ci-make.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci-make.sh b/.ci-make.sh index a35bf15..d8a0bd8 100755 --- a/.ci-make.sh +++ b/.ci-make.sh @@ -47,7 +47,7 @@ case "$1" in CI_RELEASE_ASSETS=$(curl $CI_VERIFY_API/api/v1/repos/$CI_VERIFY_REPO/releases/tags/$CI_COMMIT_TAG | jq -c '.assets[]' | grep linux-amd64) CI_RELEASE_BINARY_URL=$(echo "$CI_RELEASE_ASSETS" | grep linux-amd64\" | jq -r --jsonargs .browser_download_url) CI_RELEASE_SHA256=$(curl $(echo "$CI_RELEASE_ASSETS" | grep linux-amd64.sha256\" | jq -r --jsonargs .browser_download_url) | cut -d ' ' -f1) - wget --content-disposition $CI_RELEASE_BINARY_URL + wget -nv --content-disposition $CI_RELEASE_BINARY_URL DOWNLOAD_SHA256=$(sha256sum forgejo-*-linux-amd64 | cut -d ' ' -f1) if [ $CI_RELEASE_SHA256 != $DOWNLOAD_SHA256 ] ; then echo "ERROR: Downloaded file didn't match expected SHA256 sum" @@ -112,7 +112,7 @@ case "$1" in HOME=$FORGEJO_HOME GITEA_WORK_DIR=$FORGEJO_HOME \ forgejo web --config /etc/forgejo/app.ini & sleep 10 - curl http://localhost:3000/ + curl http://localhost:3000/ | grep -A 4 "Powered by Forgejo" exit $? ;; "install-repo-test")