@task
def get_healthz():
  url = 'https://localhost:8443/healthz'
  ret = 'FAIL'
  with settings(warn_only=True):
    ret = run('curl -k %s' % url)
  fprint('Healthz status: %s' % ret)
  return ret == 'OK'
Fetch healthz status for the local instance.
dataset/ETHPy150Open viewfinderco/viewfinder/fabfile.py/get_healthz