Commit graph

44 commits

Author SHA1 Message Date
Sven Nierlein
ea104fa400 tests: always remove ipv6 entry from hosts file 2024-07-23 21:08:57 +02:00
waja
0c01f2946e
CI specfile (#1894)
* Adding spec file and github pipeline for testing
* Restructure github pipelines for more clarity
* Add build tests for several RPM based distributions


---------

Co-authored-by: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>
2024-02-23 14:25:44 +01:00
RincewindsHat
158555c1a9 Use debian stable for main tests again 2023-12-22 11:41:41 +01:00
dependabot[bot]
574ad29da8
build(deps): bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-14 04:50:41 +00:00
Jan Wagner
6db7d10428 CI: Switch back to testing 2023-11-13 08:26:59 +01:00
Jan Wagner
e6a2c045ec CI: Remove translation checks 2023-10-31 02:17:38 +01:00
Sven Nierlein
01137cd8f6 extend github action tests
add some more steps to the test pipeline:

    - make dist
    - builds from the tarball above

this test should fail until #1943 is fixed.
2023-10-18 11:02:16 +02:00
Jan Wagner
f7417490cc Prevent THANKS.in from beeing codespelled 2023-10-17 17:56:06 +02:00
RincewindsHat
f5074ac7f0 Fix spelling stuff 2023-10-13 01:29:31 +02:00
RincewindsHat
e1e1291b72 Fix some more typos 2023-10-03 22:22:51 +02:00
datamuc
9c1c3fce43
run tests with debian:stable
debian:testing is broken
2023-09-25 21:30:32 +02:00
dependabot[bot]
743d41da0e
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 04:33:25 +00:00
Franz Schwartau
add465800b Use codespell-project/actions-codespell@v2
The current master version seems to introduce an issue, e. g.

codespell
Can't use 'tar -xzf' extract archive file: /home/runner/work/_actions/_temp_301f7ff6-2829-439a-bb1e-e3787b7d0b37/0567173d-ce48-4e72-bccb-2a410baeb2a3.tar.gz. return code: 2.

https://github.com/monitoring-plugins/monitoring-plugins/actions/runs/6074675443
2023-09-04 16:43:03 +02:00
Franz Schwartau
06ebad8399 check_smtp: add tests for --ssl 2023-08-30 15:04:32 +02:00
Franz Schwartau
3a69b8c16a enable NP_HOST_TCP_SMTP_STARTTLS 2023-08-30 15:04:32 +02:00
Franz Schwartau
8fa9370a0c Rename test variables for upcoming new variables with the same name 2023-08-30 15:04:32 +02:00
Lorenz Kästle
70d0457562 Remove dead code from test machine prepare script 2023-08-28 13:05:44 +02:00
RincewindsHat
c57b7157da Try to not delete random MIBs to avoid compiling errors 2023-08-27 23:51:40 +02:00
Jan Wagner
85c8210e58 Try to detect if there are translation updates via CI 2023-06-29 10:46:32 +02:00
Jan Wagner
dee6b03307 Fix too many spaces inside brackets 2023-06-28 15:57:07 +02:00
Jan Wagner
73d79c2982 Add missing document start 2023-06-28 15:57:07 +02:00
Jan Wagner
fbf0c9d208 Fix indentation 2023-06-28 15:57:03 +02:00
Jan Wagner
22779b1b99 Fix CI workflow syntax 2023-06-28 15:51:56 +02:00
RincewindsHat
8cb3480b9b Run tests on PRs again 2023-05-15 20:19:02 +02:00
Jan Wagner
0918a6a30b CI: Fallback on mysql service 2023-05-11 21:45:55 +02:00
Jan Wagner
483ae9fca4 CI: Fallback on software-properties-common 2023-05-11 21:45:55 +02:00
Jan Wagner
41fb615f3d CI: Adding Codespell (and Super Linter) 2023-04-17 08:23:28 +02:00
Jan Wagner
843f179188 Adding non-free source list (Closes: #1837)
(due https://lists.debian.org/debian-devel-announce/2023/02/msg00000.html)
2023-02-06 06:57:01 +01:00
dependabot[bot]
1bc6d81651 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-11 06:28:27 +01:00
dependabot[bot]
de06e5832e
Bump github/codeql-action from 1 to 2 (#1812)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 17:49:31 +01:00
Lorenz
4a5ddd2011
Check curl detect ipv6 (#1809)
* If server_address is an IPv6 address surround it with brackets

* If the message is too short, we should not have an underflow

* Add simple conditional test case available if IPv6 is
2022-11-07 17:48:28 +01:00
waja
8708fd21a6
Adding dependabot config which takes care of updating github actions (#1811) 2022-11-07 17:47:30 +01:00
Lorenz
f7f7309b99
Update GitHub runner (#1810)
* Update action/checkout to v3

* Format debian prepare script
2022-11-06 23:12:41 +01:00
Lorenz
175e43133c
Update CodeQL and update runner before installing (#1775) 2022-07-03 15:57:55 +02:00
RincewindsHat
0e311b77d9
Merge pull request #1682 from phibos/codeql
Add CodeQL checks
2021-11-24 12:03:10 +01:00
Sven Nierlein
a96161c824 actions: map utmp from host to container
this fixes the check_users not having any logged in user to check.
2021-10-25 16:21:59 +02:00
rincewind
f29ba217d7 Use netcat-openbsd for debian explicitely 2021-09-01 10:48:32 +02:00
Sven Nierlein
6344d29143 remove useless comments
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2021-05-20 17:49:46 +02:00
Jacob Hansen
226469f970
Prune container and volumes
Rather than manully removing the tmpfs volume.

Signed-off-by: Jacob Hansen <jhansen@op5.com>
2021-05-19 14:25:30 +02:00
Jacob Hansen
227369bb3b
Disable IPv6 in tests
Docker doesn't seem to have a working IPv6 stack by default. For now
disable IPv6 tests.

Signed-off-by: Jacob Hansen <jhansen@op5.com>
2021-05-19 13:12:29 +02:00
Jacob Hansen
de9f85c916
Use openssl generated cert
The SSL certificate generate using make-ssl-cert seems to not work well
with a our plugins. Causing a "CN could not be found" error to be shown.

Using an OpenSSL generated certifiticate, seems to work better.

Signed-off-by: Jacob Hansen <jhansen@op5.com>
2021-05-18 14:42:58 +02:00
Jacob Hansen
40e171b7cd Attempt to fix check_users
Signed-off-by: Jacob Hansen <jhansen@op5.com>
2021-04-30 09:57:02 +02:00
Sven Nierlein
fc71e3f930 migrate travis ci to github actions 2021-04-30 09:56:52 +02:00
PhiBo
a4308b1913
Add CodeQL checks
Add initial github actions to perform CodeQL securtiy checks
2021-04-28 15:11:23 +02:00