summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrystal <crystal@noreply.codeberg.org>2023-09-09 13:27:52 -0600
committercrystal <crystal@noreply.codeberg.org>2023-09-09 13:27:52 -0600
commitc9399d735871f4d25d0234aa8013c4d6c6ad3228 (patch)
treed3ccb6f7424afadee803b703f656c9db2d7f0195
parent36ea51de5a62f92104423adb9abdca8165adc899 (diff)
should be faster
-rwxr-xr-x.ci-make.sh4
1 files 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")