-
Notifications
You must be signed in to change notification settings - Fork 17
Description
After deploying to stage or production, run a script that verifies a predetermined set of URLs. These could be /news/ , /releases/ , /libraries/ , a few specific docs pages such as https://www.boost.org/doc/libs/1_89_0/doc/html/boost_asio/examples.html , randomly selected.
https://www.boost.org/doc/libs/1_89_0/libs/json/doc/html would test "missing final slash".
Test in a normal way, and also bypassing the CDN.
34.120.246.69 stage IP address
35.190.118.110 production IP address
Use a series of separate curl
or wget
commands in the script. Verify the result code is expected (200) and the "content" contains a certain word.
If this script were available, then perhaps once a week, right before deploying to production, check that stage is generally fine, and after a deployment, that production is. Just with one command each time.
An idea for @karimarie67