in src/neper_healthcheck/neper_runner.py [0:0]
def main() -> None:
"""Main function."""
ensure_env_variables()
configure_ssh()
node_name = os.environ["NODE_NAME"]
with open("/host.name", "w") as f:
f.write(node_name)
host_to_ips = get_host_to_ips()
cleanup_funcs = run_neper_test(host_to_ips)
print("my job is done, running cleanups...")
for cleanup in cleanup_funcs:
cleanup()
print("cleanups are done... exiting...")