Commit Graph

17 Commits (b3151e99047fd3b529117833eb4450ca81abb0e2)

Author SHA1 Message Date
Dimitri Huisman 3aafecafe7 Merge branch 'master' into feat-switch-buildx
Dimitri Huisman f6de2b2938 Switch from docker build to buildx for CI/CD.
- The main workflow file has been optimised and simplified.
- Images are built in parallel when building locally resulting in faster build times.
- The github action workflow is about 50% faster.
- Arm images are built as well. These images are not tested due to restrictions of github actions (no arm runners). The tags of the images have -arm appended to it.
- Arm images can also be built locally.
- Reusable workflow is introduced for building, testing and deploying the images.
  This allows the workflow to be reused for other purposes in the future.
- Workflow can be manually triggered. This allows forked Mailu projects to also use the workflow for building images.
Dimitri Huisman 9519d07ba2 Switch from RainLoop to SnappyMail
Florent Daigniere 8595893af9 doh
Dimitri Huisman f247520fe5 Forgot to update tests to use PINNED_MAILU_VERSION as tag.
Florent Daigniere 265ab7b5af Remove PASSWORD_SCHEME from test envs
lub 2316ef1162 update compression algorithms for dovecot 3.3.14
xz is deprecated; lz4 and zstd were not present in our configs before
lub 98a6ffb497 add compression via xz and lz4
hoellen d3dd4802f4 Change default password scheme to PBKDF2 ()
Daniel Huber d357ed67f5
Add DOCKER_PREFIX in tests and setup files
Tim Möhlmann c0972face6
Correct subnetting functionality for the tests and setup
Tim Möhlmann 8172f3eab8
Move the Mailu Docker network to a fixed subnet.
This will make network configuration and host based authentication
more robust, across different deployment platforms.
The options `RELAYNETS` and`POD_ADDRESS_RANGE` are kept for compatibility.
However, their usage have become optional.
Ionut Filip c3bc7988c9 Implemented email test for travis
Ionut Filip 4e9dc0c3c9 Implemented sending/reading email(local tests)
Tim Möhlmann 35e0fa1b9d
Drop IPv6 for travis
Tim Möhlmann dde7ccca97
Created test cases from latest setup revision
Ionut Filip 3b1fdc6166 Migrate test script from shell to python
- test.py needs to be called with 2 arguments : test_name and timeout
  - it will cd to test_name dir and use the test_name.yml from there
  - it will sleep for an amount of time equals to timeout in minutes
- it will perform health checks for containers. If healtcheck isn't enabled will check for running state
- it will run hooks inside the test_name dir ( .py and .sh) if there are any
- printing logs in any case