8 Commits

Author SHA1 Message Date
Zuul
f6a131ebc0 Merge "Update etherpad to v2.0.3" 2024-05-01 16:08:38 +00:00
Clark Boylan
b2607979ab Update etherpad to v2.0.3
This updates changes how Etherpad is built and how authentication is
managed for API requests. This ends up changing a lot of our tooling
around etherpad but etherpad itself (other than the auth changes)
doesn't seem to change much. In response to this I update our admin docs
on common api tasks to use the new process. Then update our testinfra
testing as well to cover that to ensure it all continues to work
properly after this change.

Note the Dockerfile updates are all adapted from upstream. I'm actually
not fond of the decisions they have made in this image build, but being
in sync is probably more important than fixing the multistage builds and
being different.

This change jumps us from v1.9.7 to 2.0.3 (covers releases 2.0.0, 2.0.1,
and 2.0.2 too). A changelog can be found here:

  https://github.com/ether/etherpad-lite/blob/v2.0.3/CHANGELOG.md

Change-Id: Ia7c4f26d893b4fc4a178262e1a6b9f3fa80d2a5c
2024-04-29 14:17:55 -07:00
Clark Boylan
97350097fd Upgrade Etherpad's MariaDB to 10.11
We are currently running MariaDB 10.4 for etherpad. We use the
MARIADB_AUTO_UPGRADE flag to automatically upgrade the mariadb install
to 10.11 when switching the image version over to 10.11. This was
successfully performed against the lodgeit paste service.

Change-Id: Id7dae260f3611fc1f88858730567455fef782b1c
2024-03-04 15:12:22 -08:00
Clark Boylan
a42eadca6a Improve etherpad functional testing
This adds a testinfra test that creates a pad and retrieves its
contents. Additionally adding 4 byte utf 8 characters to the stream to
ensure the database is configured properly.

Change-Id: Ie6855e201631ecf4fde6cda0c65941f094ed55d4
2023-11-09 10:02:50 -08:00
Clark Boylan
ed1c7c94a3 Make etherpad configuration more generic for multiple hosts
This switches us to running the services against the etherpad group. We
also define vars in a group_vars file rather than a host specific
file. This allows us to switch testing over to etherpad99 to decouple it
from our production hostnames.

A followup change will add a new etherpad production server that will be
deployed alongside the existing one. This refactor makes that a bit
simpler.

Change-Id: I838ad31eb74a3abfd02bbfa77c9c2d007d57a3d4
2023-04-05 08:36:27 -07:00
Ian Wienand
535757551c
etherpad: redirect container logs
Redirect etherpad container logs via rsyslogd to /var/log/containers,
which is rotated by default.  This avoids some issues we've seen with
the journal becoming too big.

Change-Id: Id557b9265e30acdb2ca09631dbedf034f85a700f
2022-11-09 07:46:15 +11:00
Ian Wienand
90106e917a etherpad: fix robots.txt
Fix the path to robots.txt and ensure it exists with testinfra

Change-Id: Iacf9db38ee61cb8f17f261b422c0f2ac1d0b5e45
2020-11-20 19:13:37 +11:00
Clark Boylan
7caf3a6c6d Test etherpad with testinfra
This adds simple testing of the etherpad service to testinfra.

Change-Id: I3c89a0a92a41cf69d075d6cef99fa12db68b17c6
2020-06-11 10:24:39 -07:00