Goffi
0f5e74efb6
docker (backend-dev/libervia.conf): don't force CLI background anymore:
...
CLI background autodetection has been fixed and should not crash anymore, thus this
workaround is not needed anymore.
2022-05-13 19:16:56 +02:00
Goffi
a8cadf7fc3
docker: don't move .egg_info files anymore:
...
moving `.egg_info` cause trouble, and doesn't seem necessary anymore.
2022-01-31 18:35:52 +01:00
Goffi
14d00a9dda
merge bookmark @
2021-11-12 17:21:24 +01:00
Goffi
22db0b9880
docker (prosody): don't use tmpfs for /var/lib/prosody (it prevents the container to start)
2021-10-22 10:40:24 +02:00
Goffi
770d4e8f35
docker (prosody): remove unused entrypoint.sh file and sed from Dockerfile:
...
The `sed` is not necessary anymore in recent Docker images, since
https://github.com/prosody/prosody-docker/pull/65 has been merged.
2021-10-22 10:39:05 +02:00
Goffi
e529391500
docker (web-demo): fix prosody tmpfs instruction
2021-10-21 11:53:56 +02:00
Goffi
6f0ecc0105
docker (docker-compose-e2e): fix tmpfs instruction for prosody
2021-10-20 17:24:09 +02:00
Goffi
0ba1709bb5
docker: use @ instead of tip for dev images:
...
`tip` links to most recent commit which may be on an other bookmark than the main one.
By using `@`, we're sure that the main bookmark is used.
2021-10-20 17:23:22 +02:00
Goffi
60f3f89883
docker: fix use of REVISION in FROM instruction
2021-10-20 17:21:54 +02:00
Goffi
7c31c279e4
docker: fix use of File Sharing component following entry point renaming
2021-10-20 17:19:57 +02:00
Goffi
7c79ef4d94
docker (e2e): add pytest-twisted to image
2021-09-08 17:58:48 +02:00
Goffi
22bc31ca4b
docker: set DBUS_SESSION_BUS_ADDRESS so that it uses remote TCP with local fallback:
...
When connecting to Docker service, first the `backend` container will be tried with TCP,
then an Unix Socket will be used as fallback.
The Unix Socket is put in Libervia local dir which is a volume shared between containers.
This way D-Bus can be used with a remote backend, or the backend can be run locally
(notably during build when accounts creation or other settings must be done via Libervia
CLI).
2021-09-08 11:16:00 +02:00
Goffi
317cbb59e8
docker: fixes following global renaming
2021-09-08 11:15:54 +02:00
Goffi
a446d91c93
docker: Libervia revision can now be specified:
...
Using the `DOCKER_LIBERVIA_REV` environment variable, backend (and related repos) revision
can now be specified. By default (variable empty or not set), the current `tip` version is
used, and `dev` is used for tagging. If the variable is set, the revision will be used and
used for tagging the image.
2021-09-08 11:14:17 +02:00
Goffi
4348af32f2
docker: fix Dockerfile following repositories redirections
2021-08-02 21:47:16 +02:00
Goffi
65e519efd3
docker: separate build instructions for demo compose file
2021-04-23 10:08:58 +02:00
Goffi
a2e7469f09
docker: add demo images and compose file
2021-04-23 09:59:16 +02:00
Goffi
363788de7d
docker: update following name changes:
...
`backend_e2e` now print properly backend logs
2021-04-16 18:32:16 +02:00
Goffi
f69eb56a02
docker (pubsub): install latest version of postgresql-client with PostgreSQL own Debian repos.
2020-12-10 10:28:05 +01:00
Goffi
a130048614
docker: use slim version of Debian as base for our images
2020-12-10 10:28:00 +01:00
Goffi
ad3aea8ec0
tests, doc(testing): added pytest-dependency plugin to backend_e2e image + doc
2020-12-04 12:37:38 +01:00
Goffi
b552e37a5b
docker (e2e): use shared volume for SàT's local dir:
...
It is necessary to have a shared local dir to let libervia access files.
2020-12-04 12:30:00 +01:00
Goffi
fb216829c3
tests, docker(e2e): added e2e tests for Libervia:
...
- moved jp tests to `e2e/jp`
- new fixtures
- adapted docker-compose
- improved `run_e2e` with several flags + report on failure
- doc to come
2020-11-27 16:39:40 +01:00
Goffi
a9614470aa
docker (backend_e2e): added packages necessary to test Libervia + some debugging tools
2020-11-27 16:31:05 +01:00
Goffi
36ec44730d
docker (e2e): added libervia and libervia.test in certificates
2020-11-27 16:26:36 +01:00
Goffi
96bf65cb7a
docker(libervia): build site in the image:
...
this will avoid a build each time the container starts fresh (notably with tests), as this
is time and resource consuming (notably with node modules which would need to be
downloaded each time).
2020-11-27 16:25:02 +01:00
Goffi
b2cf3efd8b
docker: added libervia e2e image and include it in docker-compose_e2e:
...
The `libervia_e2e` image is based on main `libervia` one, and add, register and set the
same test certificates as the ones used in `backend_e2e`.
2020-11-16 14:51:15 +01:00
Goffi
670bea6e55
docker (backend_e2e): set xmpp_domain in conf.
2020-11-16 14:51:13 +01:00
Goffi
2df24ca3b1
docker (backend): fixed media_dir in conf.
2020-11-16 14:50:55 +01:00
Goffi
2556a2c332
docker (libervia): expose HTTP and HTTPS ports
2020-11-15 17:05:47 +01:00
Goffi
18fc12222b
docker (compose): name libervia image
2020-11-15 17:05:14 +01:00
Goffi
a187f66d92
docker (compose): test environment variable + network alias:
...
`SAT_TEST_ENV_E2E` is set to `1` to indicate that e2e environment requirement are
available (notably specific accounts and hosts created). The e2e tests needing it won't be
launched if this variable is not set.
A network alias is set for the backend at `sat.test` (to have a tld available, needed for
some network libraries like OpenSSL).
2020-11-12 14:53:15 +01:00
Goffi
a9418adb36
docker (prosody_e2e): install ipcheck so jp doesn't need to contact external website
2020-11-12 14:53:15 +01:00
Goffi
0dd689e29d
docker (backend_e2e): install pytest and sh
2020-11-12 14:53:15 +01:00
Goffi
697140bed7
docker (backend): set background to dark to avoid trouble with autodetection in jp
2020-11-12 14:53:15 +01:00
Goffi
0e7f9c1247
docker: dockers images, first draft:
...
This patch introduce new docker images, replacing the unmaintained ones which were in
sat_docs.
Images + docker-compose files are provided to use SàT backend and Libervia, but also to
integrate and configure Prosody and SàT PubSub to run end-to-end tests.
2020-10-19 09:30:45 +02:00