Alexander Aleksandrovič Klimov
7e6db393a6
GHA: also test MySQL 8
2024-07-12 16:37:03 +02:00
Julian Brost
5928326f4e
dependabot: enable go mod updates for /tests
...
The tests have their own tests/go.mod file for which we should receive
dependency update PRs as well.
2024-03-14 12:13:34 +01:00
Julian Brost
877eb6602a
dependabot: run daily
...
Running only weekly just adds latency until PRs are created with no apparent
benefit. Multiple releases within a week for the same module happen rarely, so
it doesn't reduce the number of PRs.
2024-03-14 12:10:35 +01:00
Julian Brost
5988288261
dependabot: remove reviewers
...
For me personally, I receive notifications for the creation of the PRs anyways,
so the extra review request provides no benefit to me. I also asked the others
and they don't see a need either. Therefore, there's really no reason to
maintain this list here.
2024-03-14 12:08:08 +01:00
Julian Brost
05c8b7d103
GitHub Actions: remove version check
...
This check turned out to be not very helpful. Typically, you will first
increase the version number in the source, make it a PR, review it, merge it
and only aftewards, tag the version. In this PR, the check is always
complaining if you did not forget to do something.
2023-08-08 15:06:27 +02:00
Julian Brost
74686888f1
GitHub Actions: also run on support branches
2023-08-08 11:59:14 +02:00
Julian Brost
704111a262
GitHub Actions: change master to main
...
The branch was renamed, the same change has to be done in the GitHub Actions
config so that the workflow continue to run.
2023-08-07 15:32:15 +02:00
Julian Brost
ab42fab540
GitHub Actions: use actions/setup-go@v4 and go-version: 1.x
...
There was a mix of diferent action and Go versions specified throughout the
GitHub Actions workflow configs. In general, we want to be compatible with the
latest Go 1.x version, so just specify that instead of bumping versions
everywhere when necessary.
At the same time, bump the actions/setup-go to v4, the latest currently
available version. This prefers versions already cached on the runner and
enables automatic caching for dependencies.
2023-08-04 12:50:31 +02:00
Julian Brost
0baaf74174
GitHub Actions: run Go lint job with at least 1.19
...
The jobs were failing and the output contained: "note: module requires Go 1.19" (e.g. https://github.com/Icinga/icingadb/actions/runs/4233417770/jobs/7354361633 )
2023-02-21 15:08:56 +01:00
Alexander A. Klimov
7bd475b2fe
GHA: handle changed interface of Icinga/docker-icingadb
2023-02-02 10:38:55 +01:00
Julian Brost
6c9b27272e
Fix release issue template
...
Square brackets are a problem and have to be quoted.
2022-11-04 15:29:00 +01:00
Alexander A. Klimov
2f5d5ea931
cmd/ido2icingadb: compute previous progress
2022-10-11 10:17:47 +02:00
Alexander A. Klimov
05c736aa8f
.../compliance/check-licenses.sh: also check UNLICENSE
2022-10-11 10:17:47 +02:00
Julian Brost
5d2c8fc10b
Show diff of dependencies in GitHub Actions
...
dependabot adds a link showing the diff of the dependency but when there are
changes in indirect dependencies, these have to be diffed manually. This commit
vendors the dependencies before and after a PR and outputs the diff.
2022-08-19 16:03:55 +02:00
Eric Lippmann
46d0e2b893
Add issue template for releasing a version
2022-06-29 15:42:04 +02:00
Eric Lippmann
8544878695
CI: Check version
2022-06-29 15:42:04 +02:00
Julian Brost
873eb9cd3e
Integration tests: use separate artifact names for MySQL/PostgreSQL
...
If I remember correctly, some time ago you were able to download artifacts from
the job page, i.e. there was no issues with two jobs using the same artifact
name within one workflow. Now it looks like you can only download the artifacts
from the workflow page, so this commit allows you to download both files from
there.
2022-05-17 15:36:12 +02:00
Julian Brost
5ea82188dc
SLA reporting: tests for the SQL stored function
2022-05-13 12:04:47 +02:00
Eric Lippmann
c8891b7b6a
Update dependabot reviewers
2022-05-04 14:15:10 +02:00
Alexander A. Klimov
55bb574304
Require Go v1.18+
2022-03-30 13:40:24 +02:00
Alexander Aleksandrovič Klimov
d80543992d
Remove obsolete comment
...
That Go version doesn’t differ from the mainly used one.
2022-03-30 13:02:40 +02:00
Julian Brost
02fd728579
Port integration tests to PostgreSQL
2022-03-15 15:17:19 +01:00
Alexander A. Klimov
23d8938251
.github/workflows/compliance/anonymize-license.pl: handle github.com/lib/pq license
...
refs #136
2022-03-09 18:49:45 +01:00
Alexander A. Klimov
eb46325744
GHA: use latest staticcheck version
...
not a hardcoded one.
This action takes care of that.
2022-01-31 18:17:46 +01:00
Alexander A. Klimov
6f54f94e99
GHA: go mod tidy
...
If this changes go.*, complain about the non-perfect file(s).
2022-01-21 11:02:13 +01:00
Julian Brost
8bacc4dd96
Run daily integration tests
...
As those also implicitly test code in the icinga2 repo, it makes sense to run them periodically to notice if we break something over there.
2022-01-11 14:38:10 +01:00
Julian Brost
241b925aeb
Update dependabot reviewers
...
Remove N-o-X due to https://github.com/Icinga/icingadb/pull/429#issuecomment-1008709856
2022-01-10 12:09:47 +01:00
Alexander A. Klimov
777fbe0a3c
.github/workflows/compliance.yml: assert GPLv2 compatibility of all deps' licenses
2021-11-09 15:12:41 +01:00
Alexander A. Klimov
6c02a8f30f
.github/workflows/compliance/anonymize-license.pl: replace redundant info in license text
2021-11-09 15:12:41 +01:00
Alexander A. Klimov
12a6d525e1
.github/workflows/compliance/ls-deps.pl: extract all 3rd-party deps
...
... from `go list -deps` input.
2021-11-09 15:12:41 +01:00
Julian Brost
113c7349fd
Automatically run integration tests using GitHub Actions
2021-09-02 10:15:21 +02:00
Julian Brost
c80cf4e5a2
Add issue template for bug reports
2021-05-28 18:01:35 +02:00
Feu Mourek
0e8ab58b50
Add a blank issue template with a link to the forum ( #276 )
2021-05-28 13:42:00 +02:00
Eric Lippmann
a5e5adba54
Merge branch 'v1.0.0-rc2-rewrite'
2021-05-25 23:31:13 +02:00
Eric Lippmann
738fa1bddb
Remove obsolete code
2021-05-25 23:29:20 +02:00
Alexander A. Klimov
5b3f989f94
gofmt: behave like Goland
2021-05-25 11:09:23 +02:00
Alexander A. Klimov
0c160d2b94
GitHub actions: show what exactly is not well formatted
2021-05-25 11:07:26 +02:00
Alexander A. Klimov
b2b3f2a998
GitHub actions: separate linters
2021-05-25 10:59:10 +02:00
Henrik Triem
decccdda99
Include a Github Actions test
2021-05-25 10:59:10 +02:00
Julian Brost
4a8be8b296
Set an explicit timeout for go test
...
The default value is 10 minutes which is the same as the whole action
has as a timeout. If go test itself aborts before, we should hopefully
get more information on what went wrong.
2021-02-19 10:51:54 +01:00
Alexander Aleksandrovič Klimov
cdd98c4f10
Merge pull request #226 from Icinga/feature/mariadb104
...
Keep testing w/ MariaDB v10.4
2020-10-27 11:42:15 +01:00
Alexander Aleksandrovič Klimov
aa446de8dc
Keep testing w/ MariaDB v10.4
...
... after v10.5 was released.
2020-10-27 11:37:42 +01:00
Alexander Aleksandrovič Klimov
ed2b517fe4
Test also w/ Redis v6+
2020-10-27 11:27:02 +01:00
Alexander Aleksandrovič Klimov
1ff02283d7
Keep testing w/ Go v1.14
...
... after v1.15 was released.
2020-10-27 11:19:48 +01:00
Alexander A. Klimov
f7445be06d
GitHub actions: build Docker images
2020-06-24 11:34:31 +02:00
dependabot-preview[bot]
ddb6833052
Create Dependabot config file
2020-06-17 06:45:45 +00:00
Alexander A. Klimov
12825fb14a
GitHub actions: test Go v1.13
2020-04-30 12:25:49 +02:00
Noah Hilverling
600154657f
Merge pull request #99 from Icinga/feature/ci-mysql-5-6
...
CI: test also with MySQL 5.6 and 5.5
2020-02-10 14:01:40 +01:00
Alexander A. Klimov
e07a5a2f16
CI: test also with MySQL 5.6 and 5.5
2019-12-13 14:57:58 +01:00
Alexander A. Klimov
e123872962
CI: also test with MariaDB 10.1
2019-12-12 16:02:59 +01:00