Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registration service: Health check before continuing deployment #212

Open
algattik opened this issue Jul 21, 2022 · 0 comments
Open

Registration service: Health check before continuing deployment #212

algattik opened this issue Jul 21, 2022 · 0 comments
Labels
enhancement New feature or request on hold

Comments

@algattik
Copy link

In #178 we disabled the check in the CD pipeline, that the registration service is up and running after Terraform deployment. The reason is that the health check endpoint is not exposed anymore.

We could leave as-is and let the workflow fail when deploying participants.

Or we could set up the check again, e.g.:

  • adapt the curl command to succeed if a 401 is returned and fail otherwise
  • use the CLI client list participants command with the authority key
  • use az container show to check state=running (based on internal health check), waiting if necessary
  • use az container exec to run curl within the container, waiting if necessary
  • expose port 8181
  • use Terratest
@algattik algattik added the enhancement New feature or request label Jul 21, 2022
@algattik algattik changed the title Health check Registration service: Health check before continuing deployment Jul 21, 2022
@marcgs marcgs added the on hold label Aug 10, 2022
@marcgs marcgs moved this to Ready in Agera EDC Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request on hold
Projects
Status: Ready
Development

No branches or pull requests

2 participants