Commit graph

89 commits

Author SHA1 Message Date
dependabot[bot] 6f0831fc91 Build(deps): Bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-18 09:18:12 +01:00
Bojan Čekrlić b56239bb74 Upd: Add docket to dependabot. 2023-12-29 15:20:15 +01:00
Bojan Čekrlić c161f5d018 Fix: Creation of tag for gh-pages on release 2023-10-29 23:58:02 +01:00
Bojan Čekrlić cd8147a55c Fix: Fix building of release 2023-10-27 19:02:22 +02:00
Kroese fef288268e Use Debian Slim as base image 2023-10-27 19:02:08 +02:00
Bojan Čekrlić 0ff0e80707 Fix: Fix for #146. 2023-10-27 17:44:20 +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ć 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ć 2d21a4f908 Upd: Add Debian building to the pipeline 2023-10-27 10:31:10 +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ć 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
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
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ć e325d45d51 Fix: replace deprecated ::set-output with piping to $GITHUB_OUTPUT 2023-02-09 10:20:27 +01:00
dependabot[bot] 1deff42ed9 Bump docker/build-push-action from 3 to 4
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
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-02-09 09:45:35 +01:00
Bojan Čekrlić 1be2c20b89 Fix Ubuntu build and upgrade to latest Ubuntu LTS release 2023-02-09 09:22:59 +01:00
vcazsdk 38d767c55d Remove duplicate var 2022-09-13 08:24:26 +02:00
vcazsdk a142b4547f Update ubuntu and sasl_xoauth2 version 2022-09-13 08:24:26 +02:00
Bojan Čekrlić 2ba5cc752b Fix: Depend on successful builds before releasing a new version 2022-06-19 12:42:02 +02:00
Bojan Čekrlić 470990fe14 Fix: Fix building releases with the new actions structure 2022-06-19 12:37:21 +02:00
Bojan Čekrlić ce640e1cd3 Fix: Make sure builds for Alpine are not failing (remove linux/386) 2022-06-09 11:20:35 +02:00
dependabot[bot] 371a4ac567 Bump docker/build-push-action from 2 to 3
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
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>
2022-05-27 15:05:42 +02:00
Bojan Čekrlić cb9ab38d1f Upd: Simplify GitHub actions 2022-04-13 13:54:28 +02:00
Bojan Čekrlić f4e2fea734 Upd: Simplify GitHub actions 2022-04-13 13:49:31 +02:00
Bojan Čekrlić 48a752b344 Upd: Simplify GitHub actions 2022-04-13 13:46:15 +02:00
Bojan Čekrlić 26a784ec68 Upd: Simplify GitHub actions 2022-04-13 13:45:06 +02:00
Bojan Čekrlić f3554a3eb4 Upd: Simplify GitHub actions 2022-04-13 13:37:45 +02:00
Bojan Čekrlić a74d681dd9 Upd: Simplify GitHub actions 2022-04-13 13:30:05 +02:00