view scripts/Docker/roundup_healthcheck @ 7604:d117ddcb0ed1

Update dockerfile build: new python base image, reduce disk space use Use newest python:3-alpine. Remove sphinxcontrib libraries and xapian docs that were left around from the build saving 2M.
author John Rouillard <rouilj@ieee.org>
date Tue, 15 Aug 2023 00:29:24 -0400
parents 7b9bddda9d2d
children cae50e4ba467
line wrap: on
line source

#! /bin/sh

# if there are multiple trackers, d=demo t=tracker ...
# returns last one for testing that server is up. Does not test
# each tracker.
tracker=$(ps -ef | sed -ne '/roundup-server/s/^.*\s\(\w*\)=.*$/\1/p')
wget -q -O /dev/null --no-verbose http://localhost:8080/${tracker:-demo}/

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