Closed RomanBelozerov closed 1 week ago
You can deploy an LXC container with a fully operational website with only one Python script call https://github.com/tempesta-tech/tempesta-tech.com#wordpress-website-deployment . The website deployment process takes quite a while, so probably an LXC image should be prepared (and updated from time to time!) to make the test run quicker or jsut move the test to nightly jobs.
This task is required to make sure that we won't break our website if we deploy a new (current) version of master
Tempesta branch, so we can test the latest version of Tempesta on real life clients
Due to a number of problems with plain LXC, we are planning to fully migrate our site setup to Docker (private #83), rendering this issue no longer relevant.
Let's just implement https://github.com/tempesta-tech/tempesta-tech.com/issues/83 firstly in our test suite and then we'll be able to easier migrate from LXD to Docker on the production website. The WordPress workload will be tested in any way.
selftests.test_docker_compose_server
tempesta-tech.com
in tests.t_sites
testst_stress
testsUPD: Docker container seems to have problems with our PHP installation and site produces numerous errors. Reverting to LXC.
We have our wordpress
tempesta-tech.com
website into LXD container (deployment), but we use docker in test suite. And also we don't use our website for tests.For testing our website in tests:
selftests.test_docker_server
;t_stress
tests;t_sites
tests;