Commit graph

192 commits

Author SHA1 Message Date
Yonas Habteab
5cbcb0ff7b backbot: drop conflict_resolution option 2026-01-21 14:03:34 +01:00
Yonas Habteab
4614b58092 backbot: drop copy_requested_reviewers option 2026-01-21 13:57:30 +01:00
Yonas Habteab
cc17ac621b backbot: exclude CLA label correctly from copied labels 2026-01-21 13:54:57 +01:00
dependabot[bot]
6c0df1c9c3
Bump korthout/backport-action from 4.0.0 to 4.0.1
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/korthout/backport-action/releases)
- [Commits](3634249d41...c656f5d585)

---
updated-dependencies:
- dependency-name: korthout/backport-action
  dependency-version: 4.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-16 04:17:40 +00:00
dependabot[bot]
5a4054ebd5
Bump korthout/backport-action from 3.4.1 to 4.0.0
Bumps [korthout/backport-action](https://github.com/korthout/backport-action) from 3.4.1 to 4.0.0.
- [Release notes](https://github.com/korthout/backport-action/releases)
- [Commits](d07416681c...3634249d41)

---
updated-dependencies:
- dependency-name: korthout/backport-action
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 04:17:32 +00:00
dependabot[bot]
c12dc02606
Bump actions/cache from 4 to 5
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [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/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-12 04:17:38 +00:00
dependabot[bot]
82e9cc6e73
Bump actions/create-github-app-token from 2.2.0 to 2.2.1
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](https://github.com/actions/create-github-app-token/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: 2.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 04:18:03 +00:00
Julian Brost
3ca8f0756f
Merge pull request #10637 from Icinga/Al2Klimov-patch-10
Some checks failed
Container Image / Container Image (push) Has been cancelled
Linux / alpine:bash (push) Has been cancelled
Linux / amazonlinux:2 (push) Has been cancelled
Linux / amazonlinux:2023 (push) Has been cancelled
Linux / debian:11 (linux/386) (push) Has been cancelled
Linux / debian:11 (push) Has been cancelled
Linux / debian:12 (linux/386) (push) Has been cancelled
Linux / debian:12 (push) Has been cancelled
Linux / debian:13 (push) Has been cancelled
Linux / fedora:41 (push) Has been cancelled
Linux / fedora:42 (push) Has been cancelled
Linux / fedora:43 (push) Has been cancelled
Linux / opensuse/leap:15.6 (push) Has been cancelled
Linux / opensuse/leap:16.0 (push) Has been cancelled
Linux / registry.suse.com/bci/bci-base:16.0 (push) Has been cancelled
Linux / registry.suse.com/suse/sle15:15.6 (push) Has been cancelled
Linux / registry.suse.com/suse/sle15:15.7 (push) Has been cancelled
Linux / rockylinux/rockylinux:10 (push) Has been cancelled
Linux / rockylinux:8 (push) Has been cancelled
Linux / rockylinux:9 (push) Has been cancelled
Linux / ubuntu:22.04 (push) Has been cancelled
Linux / ubuntu:24.04 (push) Has been cancelled
Linux / ubuntu:25.04 (push) Has been cancelled
Linux / ubuntu:25.10 (push) Has been cancelled
Windows / Windows (push) Has been cancelled
GitHub actions: add Fedora 43
2025-12-02 10:42:14 +01:00
Julian Brost
15c18f2d0b
Merge pull request #10636 from Icinga/Al2Klimov-patch-9
GitHub actions: add SLES 16.0
2025-12-02 10:41:55 +01:00
Yonas Habteab
460247d177 backbot: use pull_request_target event 2025-11-28 09:27:19 +01:00
Yonas Habteab
551a0f6fae workflows: fix invalid usage of github.event_name
The condition was wrong because `github.event_name` will never be
`labeled` since this field always refers to the actual type of the
event, which in this case will always be `pull_request`. We need to
determine which type of activity has triggered the workflow via the
`github.event.action` context.
2025-11-28 09:18:14 +01:00
Yonas Habteab
519da9cf75
Merge pull request #10634 from Icinga/dependabot/github_actions/actions/checkout-6
Some checks are pending
Container Image / Container Image (push) Waiting to run
Linux / alpine:bash (push) Waiting to run
Linux / amazonlinux:2 (push) Waiting to run
Linux / amazonlinux:2023 (push) Waiting to run
Linux / debian:11 (linux/386) (push) Waiting to run
Linux / debian:11 (push) Waiting to run
Linux / debian:12 (linux/386) (push) Waiting to run
Linux / debian:12 (push) Waiting to run
Linux / debian:13 (push) Waiting to run
Linux / fedora:41 (push) Waiting to run
Linux / fedora:42 (push) Waiting to run
Linux / opensuse/leap:15.6 (push) Waiting to run
Linux / opensuse/leap:16.0 (push) Waiting to run
Linux / registry.suse.com/suse/sle15:15.6 (push) Waiting to run
Linux / registry.suse.com/suse/sle15:15.7 (push) Waiting to run
Linux / rockylinux/rockylinux:10 (push) Waiting to run
Linux / rockylinux:8 (push) Waiting to run
Linux / rockylinux:9 (push) Waiting to run
Linux / ubuntu:22.04 (push) Waiting to run
Linux / ubuntu:24.04 (push) Waiting to run
Linux / ubuntu:25.04 (push) Waiting to run
Linux / ubuntu:25.10 (push) Waiting to run
Windows / Windows (push) Waiting to run
Bump actions/checkout from 5 to 6
2025-11-27 19:21:28 +01:00
Yonas Habteab
de35c0d931
Merge pull request #10607 from Icinga/Al2Klimov-patch-3
GHA: add Ubuntu 25.10
2025-11-27 16:38:55 +01:00
dependabot[bot]
9d2feb8e55
Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [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/v5...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-27 15:35:06 +00:00
Yonas Habteab
7712d34c7e workflows: fix authors-file 2025-11-27 16:09:57 +01:00
Yonas Habteab
4d5c36ecdc GHA: ignore also github-actions in authors file 2025-11-27 12:27:39 +01:00
Yonas Habteab
60ff1e9612 GHA: auto backport PRs based on labels 2025-11-27 12:27:39 +01:00
Alexander Aleksandrovič Klimov
45c7764141
GitHub actions: add Fedora 43 2025-11-25 16:10:48 +01:00
Alexander Aleksandrovič Klimov
648b22dbab
GitHub actions: add SLES 16.0 2025-11-25 10:35:27 +01:00
Alexander Aleksandrovič Klimov
2c9233db80
GHA: add Ubuntu 25.10 2025-10-17 13:24:59 +02:00
Alexander Aleksandrovič Klimov
6d98756fb5
Merge pull request #10580 from Icinga/opensuse16
GHA: Add openSUSE 16
2025-10-17 13:21:53 +02:00
Julian Brost
3de8975223
Merge pull request #10551 from Icinga/add-github-problem-matchers
Add Github Problem Matchers actions for GCC/MSVC
2025-10-16 11:32:28 +02:00
Alexander Aleksandrovič Klimov
7e672f61bc
GHA: re-add Debian 11
We are still packaging it at the moment.
2025-10-08 15:44:44 +02:00
Yonas Habteab
df1e5c95e3 GHA: drop all distros that are no longer supported 2025-10-07 16:46:06 +02:00
Yonas Habteab
31b9c4eec9 GHA: Add openSUSE 16 2025-10-07 16:03:34 +02:00
Johannes Schmidt
05d933c18d Enable -Wall -Wextra for all Linux runners
With some exceptions.
2025-09-24 15:43:09 +02:00
Johannes Schmidt
6fc966c502 Silence Amazonlinux:2 warnings about deprecated coroutines 2025-09-24 15:43:09 +02:00
Johannes Schmidt
43cc092749 Add Github Problem Matchers actions for GCC/MSVC
MSVC needs two matchers: One general matcher for regular
single-line warnings, and one multi-line matcher for template
warnings that originate from a template in MSVC's library.

In the latter case, MSVC prints the path to the actual file
that should be annotated several lines down and all lines
in between the first line and that line need to be matched
by one of the regexps.
2025-09-24 15:43:05 +02:00
Julian Brost
2063d2bdbc
Merge pull request #10505 from Icinga/docker-v2
Rework docker images build
2025-09-15 12:52:29 +02:00
Julian Brost
9e5882ea04 GitHub Actions: remove Ubuntu 24.10 (end of life)
That version went out of support in July 2025 [1] and by now the repos got
archived and causes pipelines to fail [2]:

   Err:5 http://security.ubuntu.com/ubuntu oracular-security Release
     404  Not Found [IP: 185.125.190.83 80]
   Err:6 http://archive.ubuntu.com/ubuntu oracular Release
     404  Not Found [IP: 185.125.190.36 80]
   Err:7 http://archive.ubuntu.com/ubuntu oracular-updates Release
     404  Not Found [IP: 185.125.190.36 80]
   Err:8 http://archive.ubuntu.com/ubuntu oracular-backports Release
     404  Not Found [IP: 185.125.190.36 80]

[1]: https://ubuntu.com/about/release-cycle
[2]: https://github.com/Icinga/icinga2/actions/runs/17671678861/job/50224642536#step:5:25
2025-09-15 09:03:42 +02:00
Yonas Habteab
28aec98aa1 workflows: drop docker.yml 2025-08-28 16:09:47 +02:00
Yonas Habteab
5ffdb7d746 workflows: build and publish container images 2025-08-28 16:09:47 +02:00
Alexander Aleksandrovič Klimov
00295cb64b
GHA: add Debian 13 2025-08-13 12:19:16 +02:00
dependabot[bot]
fdb471a09b
Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [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/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 15:18:20 +00:00
Julian Brost
c28076a45b
Merge pull request #10507 from Icinga/RHEL10
GHA: add Rocky Linux 10 as an approximation of RHEL 10
2025-07-23 10:15:04 +02:00
Alexander A. Klimov
37f8e7ec01 GHA: add RHEL 10 2025-07-22 16:36:37 +02:00
Julian Brost
aeb2550ccb
Merge pull request #10508 from Icinga/SLES15.7
GHA: add SLES 15.7
2025-07-22 13:53:32 +02:00
Julian Brost
91faf28106
Merge pull request #10509 from Icinga/Ubuntu25.04
GHA: add Ubuntu 25.04
2025-07-22 13:52:55 +02:00
Alexander Aleksandrovič Klimov
1197672aad
GHA: add Ubuntu 25.04 2025-07-22 10:59:45 +02:00
Alexander Aleksandrovič Klimov
5c5785acb8
GHA: add SLES 15.7 2025-07-22 10:59:34 +02:00
Alexander Aleksandrovič Klimov
054149fe08
GHA: add Fedora 42 2025-07-22 10:59:19 +02:00
Alexander A. Klimov
3b729e9cd7 GHA: Windows: upgrade to VS 2022 2025-06-16 13:02:33 +02:00
Alvar Penning
1f4b0bdd46
GHA: Fix rockylinux:9 by install compression libs
Since recently, rockylinux:9 failed with linker errors against bz2, lzma
and zstd. Installing the relevant devel packages fixed the builds.

For reasons, cmake has started to add the -lbz2, -llzma, and -lzstd
linker flags. Since Icinga 2 usually does not need those, the relevant
devel packages were not installed. This may be due to some other
transitively linked dependency.

> 2025-06-05T13:12:59.5866282Z : && /usr/lib64/ccache/c++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wsuggest-override -Wrange-loop-construct -g -pthread -Winvalid-pch -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1   -Wl,--export-dynamic -rdynamic third-party/mmatch/CMakeFiles/mmatch.dir/mmatch.c.o third-party/socketpair/CMakeFiles/socketpair.dir/socketpair.c.o lib/base/CMakeFiles/base.dir/application-version.cpp.o lib/base/CMakeFiles/base.dir/journaldlogger.cpp.o lib/base/CMakeFiles/base.dir/base_unity.cpp.o third-party/execvpe/CMakeFiles/execvpe.dir/execvpe.c.o lib/config/CMakeFiles/config.dir/config_lexer.cc.o lib/config/CMakeFiles/config.dir/config_parser.cc.o lib/config/CMakeFiles/config.dir/config_unity.cpp.o lib/remote/CMakeFiles/remote.dir/remote_unity.cpp.o plugins/CMakeFiles/check_nscp_api.dir/check_nscp_api.cpp.o -o Bin/RelWithDebInfo/check_nscp_api  -Wl,-rpath,::::::::::::::::::::::::  -ldl  /usr/lib64/libboost_coroutine.so.1.75.0  /usr/lib64/libboost_context.so.1.75.0  /usr/lib64/libboost_date_time.so.1.75.0  /usr/lib64/libboost_filesystem.so.1.75.0  /usr/lib64/libboost_iostreams.so.1.75.0  /usr/lib64/libboost_thread.so.1.75.0  /usr/lib64/libboost_system.so.1.75.0  /usr/lib64/libboost_program_options.so.1.75.0  /usr/lib64/libboost_regex.so.1.75.0  /usr/lib64/libssl.so  /usr/lib64/libcrypto.so  -lsystemd  /lib64/libedit.so  -ltermcap  /usr/lib64/libboost_chrono.so.1.75.0  -lbz2  -llzma  -lz  -lzstd  -licudata  -licui18n  -licuuc && :
> 2025-06-05T13:12:59.5872347Z /usr/bin/ld: cannot find -lbz2
> 2025-06-05T13:12:59.5872577Z /usr/bin/ld: cannot find -llzma
> 2025-06-05T13:12:59.5872802Z /usr/bin/ld: cannot find -lzstd
> 2025-06-05T13:12:59.5873039Z collect2: error: ld returned 1 exit status

Hopefully, this issue may resolve itself in the near future, but for the
time being this satisfies our CI run on Rocky Linux 9.
2025-06-06 11:04:01 +02:00
Yonas Habteab
dd58fd0cde Drop Ubuntu 20.04
Is EOL by the end of May (31).
2025-06-03 11:18:05 +02:00
Yonas Habteab
98ed1b59ab
Merge pull request #10383 from Icinga/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 1 to 4
2025-05-16 14:23:25 +02:00
Yonas Habteab
ef63f43b3f GHA: Fetch full git history for windows 2025-05-16 11:35:00 +02:00
dependabot[bot]
cf6c2064a0 Bump actions/checkout from 1 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 1 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/v1...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>
2025-05-16 11:33:56 +02:00
dependabot[bot]
946937d6d9
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>
2025-05-16 09:32:58 +00:00
Alexander Aleksandrovič Klimov
018a0c936d
GHA: AUTHORS: use sed(1), not grep(1)
grep(1)'s exit code causes the GHA to fail in contrast to sed(1).
2025-05-16 10:54:24 +02:00
Julian Brost
5a464afdaa GitHub Actions: Show log files in Windows jobs
If CPack fails, it may write the actual errors to a dedicated log file:

    EXEC : CPack error : Problem running WiX. Please check 'D:/a/icinga2/icinga2/Build/_CPack_Packages/win64/WIX/wix.log' for errors. [D:\a\icinga2\icinga2\Build\PACKAGE.vcxproj]

Show all `*.log` files as part of the job output so that it doesn't get lost.
2025-05-14 14:08:20 +02:00