diff --git a/pkgs/update-nixfiles/update-nixfiles.sh b/pkgs/update-nixfiles/update-nixfiles.sh index 6126d15..d9f04cd 100644 --- a/pkgs/update-nixfiles/update-nixfiles.sh +++ b/pkgs/update-nixfiles/update-nixfiles.sh @@ -21,9 +21,7 @@ merge_theirs () { } test_build () { - local last_error local build_jobs - local now build_jobs="$(curl --fail -s -L -H "Accept: application/json" "${JOBSET_URL}/latest-eval" | jq -r ".builds | .[]")" for build in ${build_jobs}; do @@ -43,11 +41,16 @@ test_build () { echo "Build ${build} was successful" done - now="$(date +%s)" - last_error="$(curl --fail -s -L -H "Accept: application/json" "${JOBSET_URL}" | jq -r ".errortime")" - [[ $last_error -gt $now ]] && - echo "Evaluation error encountered at $(date +%Y-%m-%d-%H:%M:%S --date="@${last_error}")" && - exit 1 +# Idk why this is broken someone should fix me +# local last_error +# local now +# +# last_error="$(curl --fail -s -L -H "Accept: application/json" "${JOBSET_URL}" | jq -r ".errortime")" +# now="$(date +%s)" +# +# [[ $last_error -gt $now ]] && +# echo "Evaluation error encountered at $(date +%Y-%m-%d-%H:%M:%S --date="@${last_error}")" && +# exit 1 } wait_for_hydra () {