change script
Some checks failed
lint-test-helm / lint-helm (push) Successful in 13s
render-manifests-push / render-manifests-push (push) Successful in 28s
renovate / renovate (push) Has been cancelled

This commit is contained in:
2025-12-13 14:47:40 -06:00
parent ae9fc2ffa0
commit b776ffbfc5

View File

@@ -14,8 +14,10 @@ data:
echo "curl could not be found, installing";
apk add curl;
fi;
curl -i -X POST --silent --write-out '%{http_code}' -d "json={\"random_port\": \"true\"}" "http://localhost:8080/api/v2/app/setPreferences";
sleep 10
echo "updating port with $1";
curl -i -X POST -d "json={\"listen_port\": \"${1}\"}" "http://localhost:8080/api/v2/app/setPreferences";
curl -i -X POST --silent --write-out '%{http_code}' -d "json={\"listen_port\": \"${1}\"}" "http://localhost:8080/api/v2/app/setPreferences";
---
apiVersion: v1