Commit graph

258 commits

Author SHA1 Message Date
Bojan Čekrlić
bcf7dcbfcb Fix: Fix syslog logging to stdout + fix starting of exporter 2023-10-27 15:31:54 +02:00
Bojan Čekrlić
5a09ee5a45 Fix: Fix a typo -> 'reowing' to 'reowning' 2023-10-27 13:48:46 +02:00
Bojan Čekrlić
696422015a Fix: Update how SASL-XOAUTH2 is build (without DOCS) to (re)enable more architectures 2023-10-27 13:47:37 +02:00
Bojan Čekrlić
888ec87871 Fix: Do not build exporter for linux/386
Building fails with a really bad exception:

```
=> ERROR [linux/386 builder 5/8] RUN go mod download                                                                                                         0.5s
------
 > [linux/386 builder 5/8] RUN go mod download:
```
2023-10-27 13:09:54 +02:00
Bojan Čekrlić
33dec82e83 Fix: Refactor build to use native (platform) images and try rebuilding.
Consequentially, `linux/arm/v6` and `linux/riscv6` are not built, as
there are no go images for these.
2023-10-27 13:04:04 +02:00
Bojan Čekrlić
0fcfdcef4b Fix: Remove build for linux/mips64le and linux/arm/v5 for postfix-exporter
There's some weird bug where building the exporter for `linux/mips64le`
and `linux/arm/v5` has go complaining how
(go-systemd)[https://github.com/coreos/go-systemd/tree/main] has no
linux packages.

We're taking a quick-and-ditry route here and hope that nobody's going
to use the postfix-exporter on MIPS / ARMv5, which hopefully won't be such a big
issue.
2023-10-27 12:59:59 +02:00
Bojan Čekrlić
a2ee7e72bb Fix: Remove linux/arm/v6 from Alpine build, as it doesn't have the PANDOC or CABAL packages 2023-10-27 12:44:54 +02:00
Bojan Čekrlić
b3c6fafa4d Fix: Fix integration tests with the new sasl-build script 2023-10-27 12:39:06 +02:00
Bojan Čekrlić
bb5a9f3e24 Fix: Mising pipe (|) symbol in the translation of TARGETVARIANT to GOARM 2023-10-27 12:28:18 +02:00
Bojan Čekrlić
b343a7b3cd Fix: Return from trying to build pandoc if install is successful 2023-10-27 12:27:13 +02:00
Bojan Čekrlić
a23f0a34ed Fix: Backslashes need to be double-escaped in Dockerfile 2023-10-27 12:25:07 +02:00
Bojan Čekrlić
c60c65cfd4 Fix: Fix syntax error in sasl-build.sh 2023-10-27 12:23:56 +02:00
Bojan Čekrlić
19dd690641 Fix: Fix build for differrent archs, make Debian default image 2023-10-27 12:21:57 +02:00
Bojan Čekrlić
335c7e949a Fix: Fix building of Postfix exporter with newer version of Go and other architectures
Build should be faster now as well, as it's being built on the build
platform and not through QEMU.
2023-10-27 11:24:40 +02:00
Bojan Čekrlić
2082f159f8 Fix: Remove MIPS64LE from postfix-exporter build
It fails with:
> `.0.175 /bin/sh: 1: go: Exec format error`
2023-10-27 11:01:04 +02:00
Bojan Čekrlić
09b3eb651b Fix: Do not build for RISC V ATM 2023-10-27 10:56:03 +02:00
Bojan Čekrlić
c3f909f2ec Fix: Fix DNS examples and tests 2023-10-27 10:53:59 +02:00
Bojan Čekrlić
12607b8b68 Fix: Fix How DNS policy and Config is injected into pod
Of course, the issue was YAML indending and spacing.
2023-10-27 10:49:00 +02:00
Bojan Čekrlić
2d21a4f908 Upd: Add Debian building to the pipeline 2023-10-27 10:31:10 +02:00
Bojan Čekrlić
b45c4ac11a Upd: Update SASL XOAuth2 to v0.24 2023-10-27 09:50:39 +02:00
Bojan Čekrlić
d300d9b401 Upd: Allow for setting the DNS policy for the pod 2023-10-27 09:50:22 +02:00
Bojan Čekrlić
b90b336d04 Fix: Remove unneccessary dependendancy on external logrotate image
We now include logrotate in the the basic image. This does -- up to a
point -- reduce the "separation of concerns", but it simplifies image
management considerably and removes an unneccessary dependency on a
third-party container.
2023-10-27 09:38:54 +02:00
Bojan Čekrlić
5fb369a82f Fix: Update logrorate build 2023-10-27 09:12:42 +02:00
Bojan Čekrlić
6da38c0d4e Fix: Big logorotate ourselves for different platforms 2023-10-27 08:51:19 +02:00
Bojan Čekrlić
4ec01297f6 Upd: Add build for linux/s390x. 2023-10-27 08:06:47 +02:00
Bojan Čekrlić
d1dce4b86f Fix: Add missing shell property to "Move cache" command as well 2023-10-27 07:59:06 +02:00
Bojan Čekrlić
0387094a83 Fix: Fix build-postfix-exporter action by providing shell and DOCKER_ACCESS_TOKEN 2023-10-27 07:51:27 +02:00
Bojan Čekrlić
a665576b20 Fix: Add checkout to Build_Postfix to fix workflow building
Checkout cannot be in a self-contained action, as checkout needs to be
called before the action is invoked -- otherwise the action doesn't
exist. 🤷
2023-10-27 07:44:56 +02:00
Bojan Čekrlić
37a595e69a Fix: Move building of postfix-exporter to a separate action and fix build
To not repeat outselves, building of postfix-exporter was moved to a
separate action.

Helm now always references the lastest version, as there's no sense in
having specific versions which are all the same.

Lastly, the build fails in the test phase, as it relies on an external
dependency and hence tests have been (temporarily, at least) removed
from the build cycle. This should prove to be a large issue, as we're
building from a fixed SHA hash which we know to be valid.
2023-10-27 06:54:06 +02:00
Bojan Čekrlić
8906eb65cc Fix: Update documentation, change building of latest and edge 2023-10-27 06:29:15 +02:00
Bojan Čekrlić
ce550c69b6 Fix: Building of tags with and without 'v' prefix. 2023-10-27 06:17:28 +02:00
Bojan Čekrlić
2371eee943 Upd: Package helm chart twice -- once with "v" prefix and once without. 2023-10-27 05:56:54 +02:00
morre
064d31ac1b fix: helm version must be semver
As noted in https://helm.sh/docs/topics/charts/#the-chartyaml-file, a helm chart's version must be semver 2.0.0.

Since semver 2.0.0 strictly prescribes the "{major}.{minor}.{patch}" format, the shell string interpolation is used to remove the `v` prefix
2023-10-27 05:55:06 +02:00
Bojan Čekrlić
4d7d071257 Fix: It was the docker -it that was causing the issues, not --force-color 2023-09-29 16:50:21 +02:00
Bojan Čekrlić
ee7908dba9 Fix: --force-color does not work if the output device is not a TTY 2023-09-29 16:48:31 +02:00
Bojan Čekrlić
4ec5ee3d29 Upd: Documentation update 2023-09-29 16:44:25 +02:00
Bojan Čekrlić
730e481171 Fix: running the script from non-script folder didn't work properly 2023-09-29 16:43:55 +02:00
Bojan Čekrlić
3e10ea64f9 Fix #140: Adding headless service for newer versions of Kubernetes 2023-09-29 16:43:16 +02:00
Bojan Čekrlić
53f3fce380 Upd: Update GitHub actions to build proper image + upgrade due to deprecations 2023-09-27 23:49:23 +02:00
Jonathon Beauregard II
ab1cca7286 Feat: Create metrics service 2023-09-27 22:55:28 +02:00
Dmitry Sakun
8b6a6acfae fix: do not duplicate sasl configuration entries on restart
Fixing the issue when container will not restart due to sasl config file error
2023-09-27 18:34:28 +02:00
FlorianKronos
9235ee0dc1 Upd: Fix OAuth token support for Microsoft 365
This is a smaller fix to enable proper working of the image with
Microsoft 365.
2023-09-27 17:01:06 +02:00
dependabot[bot]
c7def504b5 Bump docker/build-push-action from 4 to 5
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-27 17:01:06 +02:00
Netexpertise
90d8795747 Upd: Enable STARTSSL on both ends of the connection
`STARTTLS` command is not implemented because TLS is enabled on the outgoing instead of the incoming traffic.
This change enables `STARTTLS` on both ends of the connection.
2023-09-27 17:00:10 +02:00
dependabot[bot]
a6bbe7ba17 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 08:01:57 +02:00
dependabot[bot]
14e42cca63 Bump WyriHaximus/github-action-helm3 from 2 to 3
Bumps [WyriHaximus/github-action-helm3](https://github.com/WyriHaximus/github-action-helm3) from 2 to 3.
- [Release notes](https://github.com/WyriHaximus/github-action-helm3/releases)
- [Commits](https://github.com/WyriHaximus/github-action-helm3/compare/v2...v3)

---
updated-dependencies:
- dependency-name: WyriHaximus/github-action-helm3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-21 08:14:29 +01:00
Bojan Čekrlić
4a8b4e7cc6 Fix deprecations and caching, ensure tags are build from proper Ubuntu release as well 2023-02-10 13:28:52 +01:00
Bojan Čekrlić
b505a8e8ba Update: make sure that output of copying files for chroot is properly alinged 2023-02-09 10:39:51 +01:00
Bojan Čekrlić
e325d45d51 Fix: replace deprecated ::set-output with piping to $GITHUB_OUTPUT 2023-02-09 10:20:27 +01:00
Bojan Čekrlić
e0e5942fad Fox for #102: Setup proper configuration for chrooting Postfix 2023-02-09 09:55:44 +01:00