1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Commit Graph

174 Commits

Author SHA1 Message Date
Dimitri Huisman
0d048d24d3
Fix build.hcl / CI.yml regarding labels
The version label and versions passed to docs image were based on
the tag. Now we first build the images with -build appended to the
tag, we cannot use the tag as version label.

A new env var is introduced to pass the version to the build.hcl file.
This will be used to set the VERSION label in the image, and pass
as build arguments to the docs image.
2023-03-17 13:05:33 +00:00
Florent Daigniere
cef97f78f1 Maybe fix the tests 2023-03-11 11:59:49 +01:00
Florent Daigniere
8b502b73ee
Update tests/compose/test.py
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2023-02-20 11:53:52 +01:00
Florent Daigniere
8d8f753796
Update tests/compose/test.py
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2023-02-20 11:53:29 +01:00
Florent Daigniere
bb5d007882 s/docker\-compose\([^\.]\)/docker compose\1/g 2023-02-15 10:00:03 +01:00
Alexander Graf
02c4862427
Enable fetchmail for fetchmail test case 2023-01-25 20:22:38 +01:00
Alexander Graf
c4ca1cffaf
Set default for FETCHMAIL_ENABLED 2023-01-25 12:20:17 +01:00
Florent Daigniere
49d458a0f3 try renaming the file 2022-12-19 12:27:24 +01:00
Florent Daigniere
26858b110a Required for the tests to pass now 2022-12-19 12:17:13 +01:00
Florent Daigniere
709023ab5a dimitri said "block it"
So let's block any macro with AUTOEXEC
2022-11-24 12:04:03 +01:00
Florent Daigniere
32d44b96c3 Fix the logic 2022-11-24 11:22:43 +01:00
Florent Daigniere
1327f34c2c Add tests to ensure we block macros 2022-11-24 10:48:25 +01:00
Florent Daigniere
3e45a791cf Implement oletools to filter out bad macros 2022-11-23 15:42:46 +01:00
Florent Daigniere
d3d7916b58 Merge remote-tracking branch 'upstream/master' into upgrade-alpine 2022-11-21 17:22:15 +01:00
Florent Daigniere
b28798c74f doh 2022-11-17 18:46:04 +01:00
Florent Daigniere
1bfab1dbfa Maybe fix the test? 2022-11-17 18:32:39 +01:00
Florent Daigniere
6137f93d23 add a GTUBE test to check the antispam 2022-11-17 18:17:41 +01:00
Florent Daigniere
86637f0259 Make setup use the base image 2022-11-17 14:18:51 +01:00
Florent Daigniere
d7b80e94a4 try again. 2022-11-12 16:21:28 +01:00
Florent Daigniere
7ebac75045 fix tests 2022-11-12 16:11:38 +01:00
Florent Daigniere
b488e57602 debug 2022-11-12 15:39:11 +01:00
Florent Daigniere
4517ce23a6 Aliases be damned. 2022-11-12 15:28:01 +01:00
Florent Daigniere
6d8cc9083b test 2022-11-12 15:21:04 +01:00
Florent Daigniere
729838c8fe Grrr. 2022-11-12 15:12:22 +01:00
Florent Daigniere
1379a58352 Basic hardening 2022-11-12 14:50:30 +01:00
Florent Daigniere
50f94a282f doh 2022-11-12 14:35:17 +01:00
Florent Daigniere
710dde1faf Fix #948: ensure the admin panel is disabled 2022-11-12 14:27:32 +01:00
Florent Daigniere
ae64c6cc30 Doh 2022-11-12 11:51:12 +01:00
Florent Daigniere
13adf4aeec Fix tests 2022-11-12 11:46:59 +01:00
Florent Daigniere
dc9e2a3e70 Upgrade Snappymail to 2.21 and merge the webmail containers 2022-11-12 11:34:58 +01:00
Dimitri Huisman
92f270c94e
Update the webmail images:
Roundcube
  - Switch to base image (alpine)
  - Switch to php-fpm
SnappyMail
  - Switch to base image
  - Upgrade php7 to php8.
2022-11-10 15:51:22 +00:00
bors[bot]
5703e97c73
Merge #2460
2460: Switch to a base image containing base tools and the podop and socrate libs r=mergify[bot] a=ghostwheel42

## What type of PR?

enhancement of build process

## What does this PR do?

Changes build.hcl to build core images using a base image.
Also adds a "assets" base image for the admin container.


Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
Co-authored-by: Pierre Jaury <pierre@jaury.eu>
Co-authored-by: kaiyou <pierre@jaury.eu>
Co-authored-by: Dimitri Huisman <52963853+Diman0@users.noreply.github.com>
2022-10-28 15:21:56 +00:00
Vincent Kling
23d06a5761 Fix a bunch of typos 2022-10-19 19:41:49 +02:00
Alexander Graf
5c31120895
Remove obsolete contexts from base image 2022-10-14 14:37:40 +02:00
Alexander Graf
a29f066858
Move even more python deps to base image 2022-10-12 16:32:27 +02:00
Alexander Graf
9fe452e3d1
Use base image when building core images 2022-10-12 16:32:20 +02:00
Dimitri Huisman
3493e9ffa9 Doh! 2022-08-19 20:32:53 +00:00
Dimitri Huisman
867c71ca83 Fix date (deadline) calculation and comparison in test.py 2022-08-19 20:24:07 +00:00
Dimitri Huisman
9339ce78e8 Fix datetime usage in test.py 2022-08-19 18:57:58 +00:00
Florent Daigniere
72b8939ad7 doh 2022-08-19 20:25:34 +02:00
Florent Daigniere
630a23da3c Don't wait for the timeout in the tests
If the containers are ready use them.
2022-08-19 20:04:45 +02:00
Dimitri Huisman
4bb0bd8fb2 Forgot to update snappymail test 2022-08-03 11:45:01 +00:00
Dimitri Huisman
7e21ab4007 Merge master cont'd 2022-08-03 09:48:54 +00:00
Dimitri Huisman
3aafecafe7 Merge branch 'master' into feat-switch-buildx 2022-08-03 09:45:20 +00:00
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.
2022-08-03 09:36:53 +00:00
Dimitri Huisman
9519d07ba2 Switch from RainLoop to SnappyMail 2022-03-22 09:04:56 +00:00
Florent Daigniere
8595893af9 doh 2022-01-06 11:37:18 +01:00
Florent Daigniere
0f25075fa3 fix test 2022-01-06 09:40:24 +01:00
Dimitri Huisman
2efad07c0b Merge branch 'master' of github.com:Diman0/Mailu into remove-mailu-postgresql 2021-12-15 10:00:47 +00:00
Dimitri Huisman
04bbd9f515 Fix folder path twice in deploy.sh. 2021-12-05 16:10:55 +00:00