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 #1176

Closed
5 tasks
mpeck opened this issue Nov 22, 2016 · 1 comment
Closed
5 tasks

relay smoke test #1176

mpeck opened this issue Nov 22, 2016 · 1 comment

Comments

@mpeck
Copy link
Contributor

mpeck commented Nov 22, 2016

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
@mpeck mpeck added the relay label Nov 22, 2016
@christophermaier
Copy link
Collaborator

This issue was moved to operable/go-relay#75

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

2 participants