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
Done Criteria
Copied from original issue: operable/cog#1176
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 execso we should copy it to somewhere in the path when building the image.Checks
Done Criteria
docker exec cog_smoke_testCopied from original issue: operable/cog#1176