Seems as though KONG_OPENSSL_VER has no value set, so checking it against 0 to see if it's "disabled" (if [ $KONG_OPENSSL_VER != 0 ]; then [...]) always tricks the script into thinking it's enabled. We don't check for undefined vars in this script so this is making it all the way to where we build the url for curl (https://github.com/Kong/kong-openssl/releases/download/$KONG_OPENSSL_VER/$package_architecture-$OSTYPE.tar.gz):
I've been seeing build failures against Kong/kong:master:
https://github.com/Kong/kong/actions/runs/3624858627/jobs/6112277211
Seems as though
KONG_OPENSSL_VER
has no value set, so checking it against 0 to see if it's "disabled" (if [ $KONG_OPENSSL_VER != 0 ]; then [...]
) always tricks the script into thinking it's enabled. We don't check for undefined vars in this script so this is making it all the way to where we build the url forcurl
(https://github.com/Kong/kong-openssl/releases/download/$KONG_OPENSSL_VER/$package_architecture-$OSTYPE.tar.gz
):