At MaDada.fr, we are pretty poor
with tests. We have added a few in our theme, mostly to validate
some of the tricky parts of our customisations (appeals and
such). For the rest, I trust alaveteli to work. We use tagged
versions of it, but deploy our code on each commit to specific
branches (dev deploys to staging, master to our production
server). We use stock alaveteli and do not fork it, instead we
patch the desired code through our theme.
Our deployment is done through ansible from gitlab CI, so there is no reliance on any particular dev machine setup. We deploy to a staging server then to production. The first one sort of serves as a testing ground, but obviously does not replace a proper automated test suite, there is definitely room for improvement there.
I develop on a VM on my laptop
that is built through the same ansible script, so in theory I
have a full replica of production on my machine, and test with a
mix of manual runs and automated tests. This is something I
would like to improve. Version upgrades of alaveteli are always
a bit tricky.
Servers are 2 VPS boxes provided
by gandi, nothing special about them.
I've looked a bit at Nix for
deploying the system, still getting familiar with it, but I'm
very impressed with what it can do. If I were starting from
scratch, I would go with nix instead of ansible, for the
additional reliability and speed. It cannot get stuck half way
like ansible, leaving you with a broken server. I would also do
that over a mess of docker containers which add complexity we
don't really need at our scale.
Overall, it works well, continuous deployment means we catch problems quickly when they appear. As deployment is essentially free (git push), there is no hesitation in doing it as long as the code we push won't knowingly break anything.
Laurent
--
You received this message because you are subscribed to the Google Groups "Alaveteli Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alaveteli-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/alaveteli-dev/8df077e8-e465-40fb-b856-1023e311cb54n%40googlegroups.com.
Hi Oliver,
You might want to reach out to
the Swedish team at handlingar.se as I believe they are working
on a similar containerised setup (I don't have details). Ping me
in private if you don't have their contact, I'm not sure they
are following this group.
Laurent
To view this discussion on the web visit https://groups.google.com/d/msgid/alaveteli-dev/CAOPSvnAmKZAZei2Z%2B%2B0%3D4VX2qtScTsYt6ggpo%3DCa13MYp0rSUQ%40mail.gmail.com.