Alvar Penning
37212a2b64
notifications: Send relative Icinga Web 2 URLs
...
There is no need to let each Icinga Notifications source know the root
URL of Icinga Web 2. Since the latest IGL and IN change, partly URLs
relative to Icinga Web 2 are supported.
2025-11-17 09:20:07 +01:00
Alvar Penning
b6e9b61b15
history: Retry failing callback submissions
...
Do not silently drop failing callback submissions - such as Icinga
Notification during restarts or network disruptions -, but switch the
internal makeCallbackStageFunc stageFunc into a backlog mode.
This resulted in multiple changes, including removing the background
worker for notifications.Client, as otherwise the event submission
status could not be propagated back.
2025-11-17 09:20:07 +01:00
Alvar Penning
3a7e1f4aff
notifications: IGL Changes For Rules
...
The rules and rule version is now part of the Event.
Also rename the Client method receiver variable.
2025-11-17 09:20:07 +01:00
Alvar Penning
697eca139d
Notifications: Address Code Review
...
- Bump IGL to latest changes in Icinga/icinga-go-library#145 .
- Allow specifying which pipeline keys are relevant, ignore others.
- Allow specifying which pipeline key should be parsed in which type.
- Create history.DowntimeHistoryMeta as a chimera combining
history.DowntimeHistory and history.HistoryDowntime to allow access
event_type, distinguishing between downtime_start and downtime_end.
- Trace times for submission steps in the worker. Turns out, the single
threaded worker blocks roughly two seconds for each
Client.ProcessEvent method call. This might sum up to minutes if lots
of events are processed at once. My current theory is that the delay
results in the expensive bcrypt hash comparison on Notifications.
2025-11-17 09:20:07 +01:00
Yonas Habteab
49b7d98084
Drop superfluous rulesMutex
...
There won't be any concurrent access to the rules, so we don't need to
guard it with a mutex.
2025-11-17 09:20:07 +01:00
Yonas Habteab
7e5b8e5385
Retrieve host and service names from Redis
...
Instead of retrieving the host and service names from the used RDBMs,
this commit allows us to query them from Redis. This is done to avoid
the overhead of database queries, especially when the host and service
names are always to be found in Redis. The previous implementation
simply perfomed two database queries with each received entity based on
their IDs, but we can perform this operation more efficiently from Redis
using the same filtering logic as before. Of course, we now have to
maintain more code needed to handle the Redis operations, but this is a
trade-off we should be willing to make for performance reasons.
2025-11-17 09:20:07 +01:00
Yonas Habteab
ca3f7c5c9d
Reevaluate rules immediately after refetching them
...
Otherwise, posting the entity in a `go s.Submit(entity)`
manner in the background will mess up the order of events
as there might be another even in the queue affecting the
same entity.
Apart from that, the log entry "submitted event ..." is also
downgraded to debug level, as it creates too much noise at the
info level without saying anything relevant to an end user.
2025-11-17 09:20:07 +01:00
Yonas Habteab
f170f3763e
Don't limit queries referncing to {host,service}_id & Env ID params
...
Instead allow them to reference any columns of the database entity as
long as that entity provides it. It also removes the retry mechanism
used to execute the queries as this would block the worker
unnecessarily.
2025-11-17 09:20:07 +01:00
Yonas Habteab
95da9ee443
Use the newly introduced notifications event utils from igl
...
Most of the notifications related code from here were outsourced to
Icinga Go Library, thus removes all the now obsolte ones from here.
2025-11-17 09:20:07 +01:00
Alvar Penning
848807d96c
Initial Icinga Notifications Source
...
This is the first version to use Icinga DB as an event source for Icinga
Notifications. If configured accordingly, Icinga DB forwards events
crafted from the Redis pipeline to the Icinga Notifications API.
This required a small refactoring of the history synchronization to
allow hooking into the Redis stream. Afterwards, the newly introduced
notifications package handles the rest.
Note: As part of this architectural change, Icinga Notifications offers
filters to be evaluated by Icinga DB. At the moment, these are SQL
queries being executed on the Icinga DB relational database. Either
consider both Icinga DB and Icinga Notifications to be part of the same
trust domain or consider the security implications.
Furthermore, this change requires a change on Icinga Notifications as
well. This will not work with the current version 0.1.1.
2025-11-17 09:20:07 +01:00
Alvar
1cf339b717
Merge pull request #1038 from Icinga/dependabot/go_modules/github.com/icinga/icinga-go-library-0.8.1
...
Build and Publish Container Image / build-and-publish-container-image (push) Waiting to run
Go / build-test (macos-latest) (push) Waiting to run
Go / build-test (ubuntu-latest) (push) Waiting to run
Go / lint (push) Waiting to run
Go / vet (push) Waiting to run
Go / fmt (push) Waiting to run
Go / modtidy (push) Waiting to run
Go / vendor-diff (push) Waiting to run
Integration Tests / MySQL (push) Waiting to run
Integration Tests / PostgreSQL (push) Waiting to run
SQL / MySQL 5.5 (push) Waiting to run
SQL / MySQL 5.6 (push) Waiting to run
SQL / MariaDB 10.1 (push) Waiting to run
SQL / MariaDB 10.2 (push) Waiting to run
SQL / MariaDB 10.3 (push) Waiting to run
SQL / MariaDB 10.4 (push) Waiting to run
SQL / MariaDB 10.5 (push) Waiting to run
SQL / MariaDB 10.6 (push) Waiting to run
SQL / MariaDB 10.7 (push) Waiting to run
SQL / MariaDB latest (push) Waiting to run
SQL / MySQL 5.7 (push) Waiting to run
SQL / MySQL 8 (push) Waiting to run
SQL / MySQL latest (push) Waiting to run
SQL / PostgreSQL 10 (push) Waiting to run
SQL / PostgreSQL 11 (push) Waiting to run
SQL / PostgreSQL 12 (push) Waiting to run
SQL / PostgreSQL 13 (push) Waiting to run
SQL / PostgreSQL 9.6 (push) Waiting to run
SQL / PostgreSQL latest (push) Waiting to run
Sync For-Container.md to Docker Hub / sync (push) Waiting to run
build(deps): bump github.com/icinga/icinga-go-library from 0.8.0 to 0.8.1
2025-11-17 08:07:57 +00:00
Alvar
de66dfd3a2
Merge pull request #1039 from Icinga/dependabot/go_modules/tests/github.com/icinga/icinga-go-library-0.8.1
...
build(deps): bump github.com/icinga/icinga-go-library from 0.8.0 to 0.8.1 in /tests
2025-11-17 07:57:28 +00:00
dependabot[bot]
776cbad6e1
build(deps): bump github.com/icinga/icinga-go-library in /tests
...
Bumps [github.com/icinga/icinga-go-library](https://github.com/icinga/icinga-go-library ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/icinga/icinga-go-library/releases )
- [Changelog](https://github.com/Icinga/icinga-go-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/icinga/icinga-go-library/compare/v0.8.0...v0.8.1 )
---
updated-dependencies:
- dependency-name: github.com/icinga/icinga-go-library
dependency-version: 0.8.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-17 07:46:12 +00:00
dependabot[bot]
769b82cb40
build(deps): bump github.com/icinga/icinga-go-library
...
Bumps [github.com/icinga/icinga-go-library](https://github.com/icinga/icinga-go-library ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/icinga/icinga-go-library/releases )
- [Changelog](https://github.com/Icinga/icinga-go-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/icinga/icinga-go-library/compare/v0.8.0...v0.8.1 )
---
updated-dependencies:
- dependency-name: github.com/icinga/icinga-go-library
dependency-version: 0.8.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-17 07:46:05 +00:00
Alvar
283f104a06
Merge pull request #1037 from Icinga/dependabot/go_modules/tests/github.com/icinga/icinga-go-library-0.8.0
...
Build and Publish Container Image / build-and-publish-container-image (push) Has been cancelled
Go / build-test (macos-latest) (push) Has been cancelled
Go / build-test (ubuntu-latest) (push) Has been cancelled
Go / lint (push) Has been cancelled
Go / vet (push) Has been cancelled
Go / fmt (push) Has been cancelled
Go / modtidy (push) Has been cancelled
Go / vendor-diff (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / PostgreSQL (push) Has been cancelled
SQL / MySQL 5.5 (push) Has been cancelled
SQL / MySQL 5.6 (push) Has been cancelled
SQL / MariaDB 10.1 (push) Has been cancelled
SQL / MariaDB 10.2 (push) Has been cancelled
SQL / MariaDB 10.3 (push) Has been cancelled
SQL / MariaDB 10.4 (push) Has been cancelled
SQL / MariaDB 10.5 (push) Has been cancelled
SQL / MariaDB 10.6 (push) Has been cancelled
SQL / MariaDB 10.7 (push) Has been cancelled
SQL / MariaDB latest (push) Has been cancelled
SQL / MySQL 5.7 (push) Has been cancelled
SQL / MySQL 8 (push) Has been cancelled
SQL / MySQL latest (push) Has been cancelled
SQL / PostgreSQL 10 (push) Has been cancelled
SQL / PostgreSQL 11 (push) Has been cancelled
SQL / PostgreSQL 12 (push) Has been cancelled
SQL / PostgreSQL 13 (push) Has been cancelled
SQL / PostgreSQL 9.6 (push) Has been cancelled
SQL / PostgreSQL latest (push) Has been cancelled
Sync For-Container.md to Docker Hub / sync (push) Has been cancelled
build(deps): bump github.com/icinga/icinga-go-library from 0.7.2 to 0.8.0 in /tests
2025-11-12 10:36:55 +00:00
Alvar
ec2650208a
Merge pull request #1036 from Icinga/dependabot/go_modules/github.com/icinga/icinga-go-library-0.8.0
...
build(deps): bump github.com/icinga/icinga-go-library from 0.7.2 to 0.8.0
2025-11-12 10:36:12 +00:00
dependabot[bot]
f0760458b6
build(deps): bump github.com/icinga/icinga-go-library in /tests
...
Bumps [github.com/icinga/icinga-go-library](https://github.com/icinga/icinga-go-library ) from 0.7.2 to 0.8.0.
- [Release notes](https://github.com/icinga/icinga-go-library/releases )
- [Changelog](https://github.com/Icinga/icinga-go-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/icinga/icinga-go-library/compare/v0.7.2...v0.8.0 )
---
updated-dependencies:
- dependency-name: github.com/icinga/icinga-go-library
dependency-version: 0.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-12 10:24:30 +00:00
dependabot[bot]
3909c9747f
build(deps): bump github.com/icinga/icinga-go-library
...
Bumps [github.com/icinga/icinga-go-library](https://github.com/icinga/icinga-go-library ) from 0.7.2 to 0.8.0.
- [Release notes](https://github.com/icinga/icinga-go-library/releases )
- [Changelog](https://github.com/Icinga/icinga-go-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/icinga/icinga-go-library/compare/v0.7.2...v0.8.0 )
---
updated-dependencies:
- dependency-name: github.com/icinga/icinga-go-library
dependency-version: 0.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-12 10:24:14 +00:00
Alvar
e0b6a4868c
Merge pull request #1032 from Icinga/dependabot/go_modules/tests/golang.org/x/sync-0.18.0
...
Build and Publish Container Image / build-and-publish-container-image (push) Has been cancelled
Go / build-test (macos-latest) (push) Has been cancelled
Go / build-test (ubuntu-latest) (push) Has been cancelled
Go / lint (push) Has been cancelled
Go / vet (push) Has been cancelled
Go / fmt (push) Has been cancelled
Go / modtidy (push) Has been cancelled
Go / vendor-diff (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / PostgreSQL (push) Has been cancelled
SQL / MySQL 5.5 (push) Has been cancelled
SQL / MySQL 5.6 (push) Has been cancelled
SQL / MariaDB 10.1 (push) Has been cancelled
SQL / MariaDB 10.2 (push) Has been cancelled
SQL / MariaDB 10.3 (push) Has been cancelled
SQL / MariaDB 10.4 (push) Has been cancelled
SQL / MariaDB 10.5 (push) Has been cancelled
SQL / MariaDB 10.6 (push) Has been cancelled
SQL / MariaDB 10.7 (push) Has been cancelled
SQL / MariaDB latest (push) Has been cancelled
SQL / MySQL 5.7 (push) Has been cancelled
SQL / MySQL 8 (push) Has been cancelled
SQL / MySQL latest (push) Has been cancelled
SQL / PostgreSQL 10 (push) Has been cancelled
SQL / PostgreSQL 11 (push) Has been cancelled
SQL / PostgreSQL 12 (push) Has been cancelled
SQL / PostgreSQL 13 (push) Has been cancelled
SQL / PostgreSQL 9.6 (push) Has been cancelled
SQL / PostgreSQL latest (push) Has been cancelled
Sync For-Container.md to Docker Hub / sync (push) Has been cancelled
build(deps): bump golang.org/x/sync from 0.17.0 to 0.18.0 in /tests
2025-11-11 06:59:13 +00:00
Alvar
629366561e
Merge pull request #1031 from Icinga/dependabot/github_actions/golangci/golangci-lint-action-9
...
build(deps): bump golangci/golangci-lint-action from 8 to 9
2025-11-11 06:57:57 +00:00
Alvar
5e8e1799d4
Merge pull request #1030 from Icinga/dependabot/go_modules/golang.org/x/sync-0.18.0
...
build(deps): bump golang.org/x/sync from 0.17.0 to 0.18.0
2025-11-11 06:57:49 +00:00
dependabot[bot]
ebd5a2df35
build(deps): bump golang.org/x/sync from 0.17.0 to 0.18.0 in /tests
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/sync/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-version: 0.18.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 18:33:16 +00:00
dependabot[bot]
63c9531246
build(deps): bump golangci/golangci-lint-action from 8 to 9
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 8 to 9.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v8...v9 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-version: '9'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 18:20:16 +00:00
dependabot[bot]
3b18836cfb
build(deps): bump golang.org/x/sync from 0.17.0 to 0.18.0
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/sync/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-version: 0.18.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 18:01:58 +00:00
Yonas Habteab
4250dae225
Merge pull request #1025 from Icinga/gha-compliance-unify
...
Build and Publish Container Image / build-and-publish-container-image (push) Has been cancelled
Go / build-test (macos-latest) (push) Has been cancelled
Go / build-test (ubuntu-latest) (push) Has been cancelled
Go / lint (push) Has been cancelled
Go / vet (push) Has been cancelled
Go / fmt (push) Has been cancelled
Go / modtidy (push) Has been cancelled
Go / vendor-diff (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / PostgreSQL (push) Has been cancelled
SQL / MySQL 5.5 (push) Has been cancelled
SQL / MySQL 5.6 (push) Has been cancelled
SQL / MariaDB 10.1 (push) Has been cancelled
SQL / MariaDB 10.2 (push) Has been cancelled
SQL / MariaDB 10.3 (push) Has been cancelled
SQL / MariaDB 10.4 (push) Has been cancelled
SQL / MariaDB 10.5 (push) Has been cancelled
SQL / MariaDB 10.6 (push) Has been cancelled
SQL / MariaDB 10.7 (push) Has been cancelled
SQL / MariaDB latest (push) Has been cancelled
SQL / MySQL 5.7 (push) Has been cancelled
SQL / MySQL 8 (push) Has been cancelled
SQL / MySQL latest (push) Has been cancelled
SQL / PostgreSQL 10 (push) Has been cancelled
SQL / PostgreSQL 11 (push) Has been cancelled
SQL / PostgreSQL 12 (push) Has been cancelled
SQL / PostgreSQL 13 (push) Has been cancelled
SQL / PostgreSQL 9.6 (push) Has been cancelled
SQL / PostgreSQL latest (push) Has been cancelled
Sync For-Container.md to Docker Hub / sync (push) Has been cancelled
GHA: Unify License Compliance Workflow
2025-10-31 14:44:58 +01:00
Yonas Habteab
ae3c8d840f
Merge pull request #1026 from Icinga/golangci-lint-fixup-20251014
...
Address golangci-lint issues
2025-10-31 14:39:45 +01:00
Alvar
3b1e9d23a9
Merge pull request #1029 from Icinga/dependabot/github_actions/actions/upload-artifact-5
...
Build and Publish Container Image / build-and-publish-container-image (push) Has been cancelled
Go / build-test (macos-latest) (push) Has been cancelled
Go / build-test (ubuntu-latest) (push) Has been cancelled
Go / lint (push) Has been cancelled
Go / vet (push) Has been cancelled
Go / fmt (push) Has been cancelled
Go / modtidy (push) Has been cancelled
Go / vendor-diff (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / PostgreSQL (push) Has been cancelled
SQL / MySQL 5.5 (push) Has been cancelled
SQL / MySQL 5.6 (push) Has been cancelled
SQL / MariaDB 10.1 (push) Has been cancelled
SQL / MariaDB 10.2 (push) Has been cancelled
SQL / MariaDB 10.3 (push) Has been cancelled
SQL / MariaDB 10.4 (push) Has been cancelled
SQL / MariaDB 10.5 (push) Has been cancelled
SQL / MariaDB 10.6 (push) Has been cancelled
SQL / MariaDB 10.7 (push) Has been cancelled
SQL / MariaDB latest (push) Has been cancelled
SQL / MySQL 5.7 (push) Has been cancelled
SQL / MySQL 8 (push) Has been cancelled
SQL / MySQL latest (push) Has been cancelled
SQL / PostgreSQL 10 (push) Has been cancelled
SQL / PostgreSQL 11 (push) Has been cancelled
SQL / PostgreSQL 12 (push) Has been cancelled
SQL / PostgreSQL 13 (push) Has been cancelled
SQL / PostgreSQL 9.6 (push) Has been cancelled
SQL / PostgreSQL latest (push) Has been cancelled
Sync For-Container.md to Docker Hub / sync (push) Has been cancelled
build(deps): bump actions/upload-artifact from 4 to 5
2025-10-28 07:51:18 +00:00
dependabot[bot]
7d2a236038
build(deps): bump actions/upload-artifact from 4 to 5
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 18:42:26 +00:00
Alvar
3be46f31aa
Merge pull request #1028 from Icinga/dependabot/go_modules/tests/github.com/redis/go-redis/v9-9.16.0
...
Build and Publish Container Image / build-and-publish-container-image (push) Waiting to run
Go / build-test (macos-latest) (push) Waiting to run
Go / build-test (ubuntu-latest) (push) Waiting to run
Go / lint (push) Waiting to run
Go / vet (push) Waiting to run
Go / fmt (push) Waiting to run
Go / modtidy (push) Waiting to run
Go / vendor-diff (push) Waiting to run
Integration Tests / MySQL (push) Waiting to run
Integration Tests / PostgreSQL (push) Waiting to run
SQL / MySQL 5.5 (push) Waiting to run
SQL / MySQL 5.6 (push) Waiting to run
SQL / MariaDB 10.1 (push) Waiting to run
SQL / MariaDB 10.2 (push) Waiting to run
SQL / MariaDB 10.3 (push) Waiting to run
SQL / MariaDB 10.4 (push) Waiting to run
SQL / MariaDB 10.5 (push) Waiting to run
SQL / MariaDB 10.6 (push) Waiting to run
SQL / MariaDB 10.7 (push) Waiting to run
SQL / MariaDB latest (push) Waiting to run
SQL / MySQL 5.7 (push) Waiting to run
SQL / MySQL 8 (push) Waiting to run
SQL / MySQL latest (push) Waiting to run
SQL / PostgreSQL 10 (push) Waiting to run
SQL / PostgreSQL 11 (push) Waiting to run
SQL / PostgreSQL 12 (push) Waiting to run
SQL / PostgreSQL 13 (push) Waiting to run
SQL / PostgreSQL 9.6 (push) Waiting to run
SQL / PostgreSQL latest (push) Waiting to run
Sync For-Container.md to Docker Hub / sync (push) Waiting to run
build(deps): bump github.com/redis/go-redis/v9 from 9.14.1 to 9.16.0 in /tests
2025-10-27 08:08:45 +00:00
dependabot[bot]
50e1aebeb6
build(deps): bump github.com/redis/go-redis/v9 in /tests
...
Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis ) from 9.14.1 to 9.16.0.
- [Release notes](https://github.com/redis/go-redis/releases )
- [Changelog](https://github.com/redis/go-redis/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/redis/go-redis/compare/v9.14.1...v9.16.0 )
---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
dependency-version: 9.16.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-23 18:07:06 +00:00
Alvar
dfda35a107
Merge pull request #1027 from Icinga/dependabot/go_modules/tests/github.com/redis/go-redis/v9-9.14.1
...
Build and Publish Container Image / build-and-publish-container-image (push) Has been cancelled
Go / build-test (macos-latest) (push) Has been cancelled
Go / build-test (ubuntu-latest) (push) Has been cancelled
Go / lint (push) Has been cancelled
Go / vet (push) Has been cancelled
Go / fmt (push) Has been cancelled
Go / modtidy (push) Has been cancelled
Go / vendor-diff (push) Has been cancelled
Integration Tests / MySQL (push) Has been cancelled
Integration Tests / PostgreSQL (push) Has been cancelled
SQL / MySQL 5.5 (push) Has been cancelled
SQL / MySQL 5.6 (push) Has been cancelled
SQL / MariaDB 10.1 (push) Has been cancelled
SQL / MariaDB 10.2 (push) Has been cancelled
SQL / MariaDB 10.3 (push) Has been cancelled
SQL / MariaDB 10.4 (push) Has been cancelled
SQL / MariaDB 10.5 (push) Has been cancelled
SQL / MariaDB 10.6 (push) Has been cancelled
SQL / MariaDB 10.7 (push) Has been cancelled
SQL / MariaDB latest (push) Has been cancelled
SQL / MySQL 5.7 (push) Has been cancelled
SQL / MySQL 8 (push) Has been cancelled
SQL / MySQL latest (push) Has been cancelled
SQL / PostgreSQL 10 (push) Has been cancelled
SQL / PostgreSQL 11 (push) Has been cancelled
SQL / PostgreSQL 12 (push) Has been cancelled
SQL / PostgreSQL 13 (push) Has been cancelled
SQL / PostgreSQL 9.6 (push) Has been cancelled
SQL / PostgreSQL latest (push) Has been cancelled
Sync For-Container.md to Docker Hub / sync (push) Has been cancelled
build(deps): bump github.com/redis/go-redis/v9 from 9.14.0 to 9.14.1 in /tests
2025-10-21 06:31:48 +00:00
dependabot[bot]
fd589d588b
build(deps): bump github.com/redis/go-redis/v9 in /tests
...
Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis ) from 9.14.0 to 9.14.1.
- [Release notes](https://github.com/redis/go-redis/releases )
- [Changelog](https://github.com/redis/go-redis/blob/v9.14.1/RELEASE-NOTES.md )
- [Commits](https://github.com/redis/go-redis/compare/v9.14.0...v9.14.1 )
---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
dependency-version: 9.14.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 18:11:28 +00:00
Alvar Penning
7ba95af7b5
golangci-lint: Address sqlclosecheck
...
The linter cannot handle icingadb-migrate.
2025-10-14 15:12:57 +02:00
Alvar Penning
d6f67074e1
golangci-lint: Address forcetypeassert
...
There were multiple occurrences of forcetypeassert throughout the
codebase. In most cases, an if guard was added to return an error.
Sometimes, a panic was raised as refactoring would be too much. And
once, a nolint annotation was added as the actual check was out of
scope.
2025-10-14 15:12:57 +02:00
Alvar Penning
f1956fd9a1
golangci-lint: Add .golangci.yml configuration
...
Initialize a .golangci.yml configuration file based on the configuration
file from Icinga Notifications[0].
[0]: 272ecf231f/.golangci.yml
2025-10-14 15:12:57 +02:00
Alvar Penning
3b8b1788f4
GHA: Unify License Compliance Workflow
...
Simplify license compliance workflow by replacing the custom Perl
scripts with the go-license utility, already used by Icinga
Notifications and Icinga Kubernetes[0,1].
Afterwards, we will have (almost) identical compliance.yml workflows for
all of our Go repositories, with only the Go module name and allowed
licenses varying.
[0]: 272ecf231f/.github/workflows/compliance.yml
[1]: de88147599/.github/workflows/compliance.yml
2025-10-14 11:03:14 +02:00
Alvar
7aa4cde4ec
Merge pull request #1021 from Icinga/dependabot/go_modules/tests/github.com/redis/go-redis/v9-9.14.0
...
build(deps): bump github.com/redis/go-redis/v9 from 9.13.0 to 9.14.0 in /tests
2025-09-11 06:30:30 +00:00
dependabot[bot]
b1697a5933
build(deps): bump github.com/redis/go-redis/v9 in /tests
...
Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis ) from 9.13.0 to 9.14.0.
- [Release notes](https://github.com/redis/go-redis/releases )
- [Changelog](https://github.com/redis/go-redis/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/redis/go-redis/compare/v9.13.0...v9.14.0 )
---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
dependency-version: 9.14.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 18:07:43 +00:00
Alvar
92d91ccf39
Merge pull request #1019 from Icinga/dependabot/go_modules/golang.org/x/sync-0.17.0
...
build(deps): bump golang.org/x/sync from 0.16.0 to 0.17.0
2025-09-09 07:05:29 +00:00
Alvar
c1ab343cd2
Merge pull request #1020 from Icinga/dependabot/go_modules/tests/golang.org/x/sync-0.17.0
...
build(deps): bump golang.org/x/sync from 0.16.0 to 0.17.0 in /tests
2025-09-09 06:29:57 +00:00
dependabot[bot]
cbf700d879
build(deps): bump golang.org/x/sync from 0.16.0 to 0.17.0 in /tests
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/sync/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-version: 0.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 19:03:53 +00:00
dependabot[bot]
969297df91
build(deps): bump golang.org/x/sync from 0.16.0 to 0.17.0
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/sync/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-version: 0.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 18:29:39 +00:00
Alvar
6e62aa8286
Merge pull request #1018 from Icinga/dependabot/github_actions/actions/setup-go-6
...
build(deps): bump actions/setup-go from 5 to 6
2025-09-05 06:35:14 +00:00
dependabot[bot]
3f4dfe1a2d
build(deps): bump actions/setup-go from 5 to 6
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-04 18:12:00 +00:00
Alvar
fcfee0d5b3
Merge pull request #1017 from Icinga/dependabot/go_modules/tests/github.com/redis/go-redis/v9-9.13.0
...
build(deps): bump github.com/redis/go-redis/v9 from 9.12.1 to 9.13.0 in /tests
2025-09-04 09:14:18 +00:00
dependabot[bot]
c44b3bfe79
build(deps): bump github.com/redis/go-redis/v9 in /tests
...
Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis ) from 9.12.1 to 9.13.0.
- [Release notes](https://github.com/redis/go-redis/releases )
- [Changelog](https://github.com/redis/go-redis/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/redis/go-redis/compare/v9.12.1...v9.13.0 )
---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
dependency-version: 9.13.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-04 05:19:12 +00:00
Alvar
a25e2c2d9c
Merge pull request #1016 from Icinga/dependabot/github_actions/actions/attest-build-provenance-3
...
build(deps): bump actions/attest-build-provenance from 2 to 3
2025-09-01 06:51:49 +00:00
dependabot[bot]
bf3d6dcc50
build(deps): bump actions/attest-build-provenance from 2 to 3
...
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance ) from 2 to 3.
- [Release notes](https://github.com/actions/attest-build-provenance/releases )
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md )
- [Commits](https://github.com/actions/attest-build-provenance/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
dependency-version: '3'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-29 18:09:52 +00:00
Alvar
c4a93e74a4
Merge pull request #1015 from Icinga/dependabot/go_modules/tests/github.com/stretchr/testify-1.11.1
...
build(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1 in /tests
2025-08-28 06:05:02 +00:00
Alvar
20652a9068
Merge pull request #1014 from Icinga/dependabot/go_modules/github.com/stretchr/testify-1.11.1
...
build(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1
2025-08-28 06:04:50 +00:00