Skip to content

Commit

Permalink
Add healthcheck (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnetser committed Feb 28, 2024
1 parent 7754715 commit 460a1f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ci_jobs_trigger/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
APP.logger.addHandler(get_logger(APP.logger.name).handlers[0])


@APP.route("/healthcheck")
def healthcheck():
return "alive"


@APP.route("/openshift-ci-zstream-trigger", methods=["POST"])
def zstream_trigger():
try:
Expand Down

0 comments on commit 460a1f3

Please sign in to comment.