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

relay smoke test #75

Open
5 tasks
christophermaier opened this issue Mar 31, 2017 · 0 comments
Open
5 tasks

relay smoke test #75

christophermaier opened this issue Mar 31, 2017 · 0 comments

Comments

@christophermaier
Copy link
Collaborator

From @mpeck on November 22, 2016 21:7

Note: This will most likely be one of several issues for smoke testing communications between the various components of Cog.

Cog admins need an easy way to smoke test a Cog installation. Previously we were using Docker's healthcheck hook to provide some insight into Cog's status, but that proved to be a bit too broad to be useful. So instead we will provide a simple smoke test script to be installed alongside relay. This should give admins a bit more flexibility and provide a sanity check during installation and/or troubleshooting.

The smoke test script should be easily accessible via docker exec so we should copy it to somewhere in the path when building the image.

Checks

  • the host running Cog is accessible
  • the services endpoint in accessible

Done Criteria

  • write a simple smoke test script
  • update Dockerfile to install the script in the path (admins should be able to run the script with something like docker exec cog_smoke_test
  • Add usage documentation to Cog book

Copied from original issue: operable/cog#1176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant