From 37c543e2b20657a8f4c120ba6b52e8e605a417bb Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Wed, 12 Mar 2025 13:50:39 +0100 Subject: Remove check_nwstat check_nwstat is a plugin which was used to determine the health of things on Novel machines. Since Novel is quite dead (even more so the product, this can be removed and this commit does just that to reduce ressource usage. --- .github/monitoring-plugins.spec | 14 -------------- 1 file changed, 14 deletions(-) (limited to '.github') diff --git a/.github/monitoring-plugins.spec b/.github/monitoring-plugins.spec index 64ee34f2..10799128 100644 --- a/.github/monitoring-plugins.spec +++ b/.github/monitoring-plugins.spec @@ -191,7 +191,6 @@ Requires: %{name}-nt Requires: %{name}-ntp Requires: %{name}-ntp_peer Requires: %{name}-ntp_time -Requires: %{name}-nwstat Requires: %{name}-oracle Requires: %{name}-pgsql Requires: %{name}-ping @@ -702,19 +701,6 @@ Provides check_ntp_time of the Monitoring Plugins. -# check_nwstat -%package nwstat -Summary: Monitoring Plugins - check_nwstat -Requires: %{name} = %{version}-%{release} - -%description nwstat -Provides check_nwstat of the Monitoring Plugins. - -%files nwstat -%{plugindir}/check_nwstat - - - # check_oracle %package oracle Summary: Monitoring Plugins - check_oracle -- cgit v1.2.3-74-g34f1 From 73b42dd08b11be79bbeb4a09910bbe37699ff3b9 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Mon, 21 Apr 2025 00:44:41 +0200 Subject: CI: Install gawk on fedora > 41 --- .github/os_detect.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.github') diff --git a/.github/os_detect.sh b/.github/os_detect.sh index ee9c145d..47c762d3 100644 --- a/.github/os_detect.sh +++ b/.github/os_detect.sh @@ -1,10 +1,17 @@ #!/bin/sh -e + +. /etc/os-release + # workaround for really bare-bones Archlinux containers: if [ -x "$(command -v pacman)" ]; then pacman --noconfirm -Sy pacman --noconfirm -S grep gawk sed fi +if [ ${ID} == "fedora" -a ${VERSION_ID} -gt 41 ]; then + dnf install -y gawk +fi + os_release_file= if [ -s "/etc/os-release" ]; then os_release_file="/etc/os-release" -- cgit v1.2.3-74-g34f1 From 236188e92fbc81e0d05f79ee1688daedbaf204dc Mon Sep 17 00:00:00 2001 From: Lorenz Kästle Date: Thu, 8 May 2025 08:59:36 +0200 Subject: Do not explicitely disable IPv6 in the CI --- .github/workflows/test-next.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/test-next.yml b/.github/workflows/test-next.yml index 81240759..fd59e85d 100644 --- a/.github/workflows/test-next.yml +++ b/.github/workflows/test-next.yml @@ -38,7 +38,7 @@ jobs: ${{ matrix.distro }} \ /bin/sh -c '${{ matrix.prepare }} && \ tools/setup && \ - ./configure --enable-libtap --with-ipv6=no && \ + ./configure --enable-libtap && \ make && \ make test && \ make dist && \ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 77ca6585..ce0ec547 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,7 @@ jobs: ${{ matrix.distro }} \ /bin/sh -c '${{ matrix.prepare }} && \ tools/setup && \ - ./configure --enable-libtap --with-ipv6=no && \ + ./configure --enable-libtap && \ make && \ make test && \ make dist && \ -- cgit v1.2.3-74-g34f1 From d2bea1d288328d2d387d587b38a0efeba1becc97 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Wed, 23 Jul 2025 15:22:45 +0200 Subject: CI: Adding workflow_dispatch --- .github/workflows/codeql-analysis.yml | 1 + .github/workflows/spellcheck.yml | 1 + .github/workflows/test.yml | 1 + 3 files changed, 3 insertions(+) (limited to '.github') diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c402e0cf..e748d2eb 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,6 +13,7 @@ name: "CodeQL" on: + workflow_dispatch: {} push: branches: [master] pull_request: diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 72f7c7eb..c8714e64 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -2,6 +2,7 @@ name: Spellcheck on: + workflow_dispatch: {} # Run for pushes on any branch push: branches: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ce0ec547..146d91b6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,6 +2,7 @@ name: Tests on: + workflow_dispatch: {} push: branches: - '*' -- cgit v1.2.3-74-g34f1 From 61a68da144b726668196ba5cb01fcce9e99f0fdb Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Thu, 24 Jul 2025 10:28:03 +0200 Subject: Adding tmate optional to manual dispatch --- .github/workflows/test-next.yml | 14 +++++++++++++- .github/workflows/test.yml | 14 +++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/test-next.yml b/.github/workflows/test-next.yml index fd59e85d..7ca255c9 100644 --- a/.github/workflows/test-next.yml +++ b/.github/workflows/test-next.yml @@ -2,7 +2,13 @@ name: Tests Debian:Testing and Fedora:Rawhide on: - workflow_dispatch: {} + workflow_dispatch: + inputs: + debug_enabled: + type: boolean + description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' + required: false + default: false push: branches-ignore: - '*' @@ -25,6 +31,9 @@ jobs: steps: - name: Git clone repository uses: actions/checkout@v4 + - name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate + uses: mxschmitt/action-tmate@v3 + if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} - name: Run the tests on ${{ matrix.distro }} run: | docker volume create --driver local --opt type=tmpfs --opt device=tmpfs --opt o=size=100m,uid=1000 tmp-vol @@ -60,6 +69,9 @@ jobs: steps: - name: Git clone repository uses: actions/checkout@v4 + - name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate + uses: mxschmitt/action-tmate@v3 + if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} - name: Run the tests on ${{ matrix.distro }} run: | docker volume create --driver local --opt type=tmpfs --opt device=tmpfs --opt o=size=100m,uid=1000 tmp-vol diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 146d91b6..f9919b2d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,13 @@ name: Tests on: - workflow_dispatch: {} + workflow_dispatch: + inputs: + debug_enabled: + type: boolean + description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' + required: false + default: false push: branches: - '*' @@ -23,6 +29,9 @@ jobs: steps: - name: Git clone repository uses: actions/checkout@v4 + - name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate + uses: mxschmitt/action-tmate@v3 + if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} - name: Run the tests on ${{ matrix.distro }} run: | docker volume create --driver local --opt type=tmpfs --opt device=tmpfs --opt o=size=100m,uid=1000 tmp-vol @@ -61,6 +70,9 @@ jobs: steps: - name: Git clone repository uses: actions/checkout@v4 + - name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate + uses: mxschmitt/action-tmate@v3 + if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} - name: Run the tests on ${{ matrix.distro }} run: | docker volume create --driver local --opt type=tmpfs --opt device=tmpfs --opt o=size=100m,uid=1000 tmp-vol -- cgit v1.2.3-74-g34f1