annotate scripts/Docker/roundup_healthcheck @ 7971:fe0348bbe45b

issue2551353 - Add roundup-classhelper for 2.4.0 release Changes to the classic template are not done yet. Still testing. This commit has document updates and changes to rest.py. rest.py: add /rest/data/user/role endpoint to core so the user doesn't have to add the /rest/roles endpoint via interfaces.py. It will only send roles for a user with Admin role and there is no way to override this currently. acknowledgements.txt: Added members of team3 to other contributors. Specified for all other contributes what they worked on. upgrading.txt: added classhelper section and basic template change directions. Linked to admin_guide for full directions. admin_guide.txt: documented install, translation, troubleshooting, config etc. user_guide.txt: added section on using the classhelper. Added reference to section earlier in the doc. Added image for section.
author John Rouillard <rouilj@ieee.org>
date Tue, 21 May 2024 01:17:28 -0400
parents 9ceb85d9df32
children 8a9fc2d74740
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6797
a24ec63759f6 Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
1 #! /bin/sh
a24ec63759f6 Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
2
7340
7b9bddda9d2d Add support for demo mode in docker.
John Rouillard <rouilj@ieee.org>
parents: 6797
diff changeset
3 # if there are multiple trackers, d=demo t=tracker ...
7b9bddda9d2d Add support for demo mode in docker.
John Rouillard <rouilj@ieee.org>
parents: 6797
diff changeset
4 # returns last one for testing that server is up. Does not test
7b9bddda9d2d Add support for demo mode in docker.
John Rouillard <rouilj@ieee.org>
parents: 6797
diff changeset
5 # each tracker.
6797
a24ec63759f6 Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
diff changeset
6 tracker=$(ps -ef | sed -ne '/roundup-server/s/^.*\s\(\w*\)=.*$/\1/p')
7681
9ceb85d9df32 fix(docker): make healthcheck work when proxy is set
Norbert Schlemmer "Noschvie on github.com"
parents: 7679
diff changeset
7 wget -q -O /dev/null --proxy off --no-verbose http://localhost:8080/"${tracker:-demo}"/

Roundup Issue Tracker: http://roundup-tracker.org/