1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-18 03:21:36 +02:00
Mailu/towncrier/newsfragments
bors[bot] 53de7b7d60
Merge #2403
2403: Feature: switch CI/CD from build to buildx r=mergify[bot] a=Diman0

## What type of PR?

Feature and enhancement

## What does this PR do?

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 much 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. The arm images are built on merge on master and release branch (x.y). They do not influence the normal CI/CD workflow used for bors (for PR) and real releases (merge on master and branch x.y for x86_64). 
    - Arm images (and normal x86_64 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.

The main workflow makes use of github actions cache to store the cache layer. This layer is used to quickly rebuilt the images in the testing step and deploy step.

Unfortunately the building the arm images fails sometimes due to timeouts. Sometimes the connection to github actions cache is very slow. Restarting the workflow from the last failed step resolves this. I have not observed this with the normal build.

Just as previous time, you can use a forked project for testing the changes (https://github.com/Diman0/Mailu_Fork). You should still have owner access. I have created branch 1.11 for testing. You can see I already push 4 times to branch 1.11 (current version is 1.11.3).

### Related issue(s)
- Mention an issue like: #001
- closes #2383 
- closes #1830
- closes #1200

## Prerequisites
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
2022-08-19 13:19:13 +00:00
..
224.feature Ask users to check their DNS records 2022-03-16 14:04:02 +01:00
2099.bugfix Create 2099.bugfix 2021-12-22 11:17:13 +01:00
2117.bugfix Fix #2117. Gpg-agent package was missing for roundcube image. 2022-01-01 10:51:11 +00:00
2121.misc Add newsfragment for PR #2121. 2022-01-01 12:41:37 +00:00
2124.bugfix Tag for release is correctly tagged to branch x.y. 2022-01-25 10:14:53 +00:00
2125.bugfix towncrier 2022-01-03 13:51:30 +01:00
2135.bugfix towncrier 2022-01-05 18:55:10 +01:00
2138.bugfix Fix 2138: Pin DANE with the full cert 2022-01-05 10:38:27 +01:00
2139.bugfix Add newsfragment for bugfix for issue 2139 2022-08-05 13:42:42 +00:00
2141.bugfix Create 2141.bugfix 2022-01-05 11:23:31 +01:00
2185.doc Create 2185.doc 2022-02-01 08:32:45 -07:00
2193.bugfix Create 2193.bugfix 2022-01-28 10:48:57 -07:00
2195.bugfix Create 2195.bugfix 2022-01-30 09:06:47 +01:00
2196.bugfix Create 2196.bugfix 2022-01-30 09:13:22 +01:00
2199.bugfix Update 2199.bugfix 2022-01-31 11:19:39 +01:00
2207.bugfix Add bugfix description 2022-01-31 16:52:01 -05:00
2210.bugfix Create 2210.bugfix 2022-02-04 15:12:04 +01:00
2211.misc Ensure we use IMAP IDLE like it's supposed to work 2022-02-01 18:17:34 +01:00
2213.feature typo 2022-02-20 13:31:00 +01:00
2214.doc Update fail2ban faq doc 2022-02-03 20:51:45 +01:00
2221.feature Add 2221.feature 2022-02-09 07:43:51 +01:00
2239.bugfix towncrier 2022-02-19 13:32:10 +01:00
2249.bugfix Fix broken setup. Not all dependencies were pinned. As usual a dependency had a breaking update. 2022-02-18 21:06:53 +00:00
2260.bugfix towncrier 2022-03-20 12:18:31 +01:00
2278.feature Changelog 2022-03-14 17:05:09 +03:00
2281.bugfix Create 2281.bugfix 2022-03-17 11:57:10 +01:00
2284.bugfix Create 2284.bugfix 2022-03-17 20:40:08 +01:00
2295.feature Add changelog 2022-03-22 14:34:30 +00:00
2302.bugfix create PR2302 changelog 2022-03-30 09:17:20 +00:00
2325.bugfix postfix: wrap IPv6 CIDRs in square brackets for RELAYNETS 2022-05-26 20:11:02 +02:00
2338.misc towncrier fragment 2338 about X-XSS-Protection removal 2022-05-10 22:47:42 +02:00
2346.bugfix Silence some errors in nginx 2022-05-13 18:05:22 +02:00
2357.misc Switch to ffdhe3072 to enable RFC 7919 2022-05-24 17:42:30 +02:00
2368.bugfix Re-enable the built-in nginx resolver for traffic going through the mail plugin. 2022-07-06 08:51:59 +00:00
2383.misc Switch from docker build to buildx for CI/CD. 2022-08-03 09:36:53 +00:00
2402.bugfix Forwarding emails option in user settings did not support 1 letter domains. 2022-08-04 14:51:20 +00:00
2415.bugfix Create 2415.bugfix 2022-08-14 23:09:17 +02:00