3 ms·
Monitoring - CPU Usage, HTTP Response codes, Login Failures, Login Successes, Ratelimit events. Testing - Unit tests, Integration tests, nothing fancy. PHPUnit
by ejcx 10y ago
Monitoring - CPU Usage, HTTP Response codes, Login Failures, Login Successes, Ratelimit events.
Testing - Unit tests, Integration tests, nothing fancy. PHPUnit or whatever framework you want.
All hooked in to CI. Tests should always pass. If you have a flapping test it should be fixed.
We have docker containers that spin up our production environment locally, so we can test things like nginx config changes, database migrates, configuration changes, nginx changes, etc.
- creichert 10y agoNice, thanks for the reply. You mention CI so I'm curious. Do you have an automated continuous delivery process? Does testing fit into that (e.g. integration testing staging or dev services after deployments)?
- ejcx 10y agoThe difference between what we have and continuous deployment is not that big. We don't have continuous deployment, but we could. Things are pushed to staging automatically, but to production it is not.