113 Commits

Author SHA1 Message Date
Alvar Penning
2e33458ec3 GHA: Fix amazonlinux:2023 MariaDB package
Since recently, the amazonlinux:2023 job in the Linux action fails due
to conflichting 'mariadb1*-devel' packages.

> package mariadb1011-devel-3:10.11.11-1.amzn2023.0.1.x86_64 from amazonlinux conflicts with mariadb105-devel provided by mariadb105-devel-3:10.5.16-1.amzn2023.0.7.x86_64 from amazonlinux

It seems like Amazon Linux added mariadb1011 packages next to mariadb105
packages, resulting in a conflict due to the wildcard. On prior runs,
the mariadb105 packages was installed.

This change installs mariadb-connector-c-devel instead of a specific
mariadb1*-devel package, as suggested by the package description.
2025-05-20 13:48:59 +02:00
Alexander A. Klimov
5051bbd800 GHA: also test SLES, not just openSUSE
They may be similar, but SLES isn't that hard to deploy.
2025-01-08 12:16:03 +01:00
Alexander A. Klimov
e24cd5b83b GHA: drop EOL SUSE 15.4 2025-01-08 12:16:03 +01:00
Alexander A. Klimov
4fe43584da GHA: drop EOL SLES 15.3 2025-01-08 12:16:03 +01:00
Alexander A. Klimov
7a9bdbf36e GHA: drop EOL SLES 12.5 2025-01-08 12:16:03 +01:00
Alexander A. Klimov
ddfd0c7b87 GHA: Amazon Linux: fix broken link to Boost tarball 2025-01-08 12:16:03 +01:00
Alexander A. Klimov
f5e4578454 GHA: Linux: don't track all supported distro versions
Instead just give a generic explanation per distro.
2024-11-29 14:32:49 +01:00
Alexander Aleksandrovič Klimov
000a611fab GHA: update supported Fedora versions
Add v41, drop EOL v37, v38.
2024-11-29 14:31:30 +01:00
Yonas Habteab
c11549a3c7 GHA: Drop ubuntu 23.{04,10} (EOL) 2024-11-29 14:30:19 +01:00
Alexander Aleksandrovič Klimov
28f6341daa GHA: Linux: include Ubuntu 24.10 2024-10-23 16:15:45 +02:00
Alexander A. Klimov
375824f961 GHA: Windows: don't require git.icinga.com/packaging/windows-icinga2
"A little copying is better than a little dependency."
- https://www.youtube.com/watch?v=PAAkCSZUG1c&t=9m28s
(Gopherfest 2015 | Go Proverbs with Rob Pike)
2024-10-23 16:15:45 +02:00
Alexander Aleksandrovič Klimov
a3f1b91203 GHA: add openSUSE 15.6 and SLES 15.6 2024-08-06 11:03:02 +02:00
Alexander A. Klimov
1ccecb09c1 GHA: drop EOL EL7 2024-08-06 11:03:02 +02:00
Alexander Aleksandrovič Klimov
36ac418ad1 GHA: Docker: don't run on support/* branches
PRs to them are already covered and we don't need support* image tags.
2024-06-12 16:10:54 +02:00
Alexander Aleksandrovič Klimov
9f624f678a GHA: drop Debian 10
which will be EOL in 2.5 months.
2024-06-12 16:10:54 +02:00
Alexander Aleksandrovič Klimov
e12186f24a GHA: add upcoming Fedora 40 2024-06-12 16:10:54 +02:00
Alexander Aleksandrovič Klimov
e518681091 GHA: add upcoming Ubuntu 24.04 2024-06-12 16:10:54 +02:00
Alexander A. Klimov
3230b7f228 GHA AUTHORS check: handle PRs from forks
where the ref names differ compared to own PRs. Instead refer to the base branch and the head branch via generic HEAD^<parent number> where HEAD is a merge commit.
2024-06-12 16:10:54 +02:00
Alexander Aleksandrovič Klimov
23feb5b374 GHA: drop EOL Fedora 36 2023-11-24 17:26:57 +01:00
Alexander A. Klimov
b9b127f25d GHA: complain if PR adds commits from people not yet listed in ./AUTHORS
not to have to update ./AUTHORS or .mailmap after merging.
2023-11-24 17:26:57 +01:00
Alexander A. Klimov
a019c63bd6 GHA: cancel runs on PR, but not on push
In a PR one top commit replaces the previous one.
But the central branches are more like timelines.
It's nice to have red crosses in a such timeline
as clear indicators that something was actually broken.
2023-11-24 17:26:57 +01:00
Alexander Aleksandrovič Klimov
ad93c0bbdd GHA: add upcoming (already frozen) Ubuntu 23.10 2023-11-24 17:26:57 +01:00
Alexander Aleksandrovič Klimov
9332aa5871 GHA: add upcoming (already frozen) Fedora 39 2023-11-24 17:26:57 +01:00
Alexander Aleksandrovič Klimov
b71a81b050 GHA: drop EOL Ubuntu 22.10 2023-11-24 17:26:57 +01:00
Alexander A. Klimov
51d0e9b5a9 GHA: add Amazon Linux 2023
which unfortunately seems not to have ccache. 🤷
2023-07-06 14:52:08 +02:00
Alexander Aleksandrovič Klimov
8b9060d77d GHA: add Debian and Raspbian 12 2023-07-06 14:52:08 +02:00
Alexander Aleksandrovič Klimov
08a8c302f4 GHA: add openSUSE and SLES 15.5 2023-07-06 14:52:08 +02:00
Alexander Aleksandrovič Klimov
c0ebdd69d4 GHA: Linux: add Fedora 38, Ubuntu 23.04 2023-07-06 14:52:08 +02:00
Alexander A. Klimov
286d288654 GHA: use a CMake version which can set(CMAKE_CXX_STANDARD 17) where possible
especially on Amazon Linux which seems to have trouble with our workaround:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
2023-07-04 11:22:50 +02:00
Alexander Aleksandrovič Klimov
1883cae445 GHA: Drop openSUSE 15.3 (EOL) 2023-07-04 11:22:30 +02:00
Alexander A. Klimov
ba5301e354 GHA: build Icinga 2 from source
as the package build images aren't public anymore.
2023-02-14 12:14:44 +01:00
Johannes Meyer
b06fe7af4e Run only a single job per workflow matrix at a time
This limits each run of these workflows to a single
active matrix job. This means, for each PR, merge or
release only five jobs run concurrently.
2023-02-14 12:14:44 +01:00
Alexander Aleksandrovič Klimov
074fc292d8 GHA: revert back to ubuntu-latest
as that is 22.04 or later.
2023-02-14 12:14:44 +01:00
Alexander A. Klimov
b02af91420 GHA: let GitHub cancel redundant jobs
This will also cancel not yet finished master builds, but that's not too bad.
2023-02-14 12:14:44 +01:00
Alexander A. Klimov
b7700f189a GHA: drop EOL OSes 2023-02-14 12:14:44 +01:00
Julian Brost
0506089aae GitHub Actions: no longer test builds on Fedora 35
The repositories have been removed so builds are failing anyways.
2023-02-14 12:14:44 +01:00
Alexander A. Klimov
2ba73ff73a GHA: handle changed interface of Icinga/docker-icinga2 2023-02-14 12:14:44 +01:00
Alexander A. Klimov
19dd611e65 GHA: Update build targets 2022-07-26 18:16:57 +02:00
Julian Brost
d0c44810a4 GitHub Actions: Build Raspbian on Ubuntu 22.04
Raspbian builds were running on Ubuntu 20.04 but with qemu-user-static from Ubuntu 21.10 (impish) due to need for newer features. However, the impish package repos are no longer available as that version reached its EOL. ubuntu-latest still refers to 20.04 on GitHub Actions but 22.04 is already available when explicitly specified. This commit switches the build over to that version and removes the workaround.
2022-07-26 18:16:57 +02:00
Alexander Aleksandrovič Klimov
e8357a5484 GHA: add Fedora 36 2022-04-12 17:28:59 +02:00
Alexander Aleksandrovič Klimov
bfb9d90a75 GHA: add Ubuntu jammy 2022-04-12 17:28:59 +02:00
Alexander Aleksandrovič Klimov
9515a5e709 Drop Ubuntu hirsute
It's EOL.
2022-04-12 17:28:59 +02:00
Alexander A. Klimov
dbe4093bab GHA: preserve .rpm job names 2022-03-02 18:17:50 +01:00
Alexander A. Klimov
41d9422919 GHA: build Amazon Linux 2022-03-02 18:17:50 +01:00
Alexander A. Klimov
5d5cd1fd31 GHA: build RHEL 2022-03-02 18:17:50 +01:00
Alexander A. Klimov
8cdc53ffd4 GHA: correct subscription packages repo 2022-03-02 18:17:50 +01:00
Alexander A. Klimov
add9c823a1 GHA: new subscription packages repo access token
with more permissions and URL-friendlier login name.
2022-03-02 18:17:50 +01:00
Alexander A. Klimov
726497a0b5 GHA: explicitly specify whether $DISTRO packages require subscription
to have all info at one place in the file.
2022-03-02 18:17:50 +01:00
Alexander Aleksandrovič Klimov
40f647588e
Merge pull request #9233 from Icinga/bugfix/gha-pin-windows-version-2.13
GitHub Actions: pin Windows Server version to 2019
2022-02-21 15:08:18 +01:00
Julian Brost
c624c73274 GitHub Actions: pin Windows Server version to 2019 2022-02-18 16:09:20 +01:00