From 3344b4460abe9fa8ea949308dbcb03f4d94ddf63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Thu, 16 Jan 2025 13:47:27 +0100 Subject: [PATCH 1/3] Don't trigger boreas and openvas-scanner repos for now Both triggers fail since a while and therefore deactivate them. --- .github/workflows/push.yml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 0966a460..3f18c0c4 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -76,23 +76,3 @@ jobs: repository: ${{ matrix.repository }} workflow: container.yml ref: main - - trigger-related-projects: - needs: build-push-debian-stable-container - if: github.event_name != 'pull_request' - name: Trigger update container images in related projects - strategy: - fail-fast: false - matrix: - repository: - - "greenbone/openvas-scanner" - - "greenbone/boreas" - runs-on: ubuntu-latest - steps: - - name: Trigger main ${{ matrix.repository }} container image build - uses: greenbone/actions/trigger-workflow@v3 - with: - token: ${{ secrets.GREENBONE_BOT_TOKEN }} - repository: ${{ matrix.repository }} - workflow: ${{ matrix.repository == 'greenbone/openvas-scanner' && 'control.yml' || 'container.yml' }} - ref: main From 869024f55d3202e013dd82c6a6ab86739b2eafd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Thu, 16 Jan 2025 13:48:03 +0100 Subject: [PATCH 2/3] Use correct base images labels for the container builds --- .github/workflows/push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 3f18c0c4..cddea826 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -33,7 +33,7 @@ jobs: image-url: community/gvm-libs image-labels: | org.opencontainers.image.vendor=Greenbone - org.opencontainers.image.base.name=debian:stable-slim + org.opencontainers.image.base.name=debian:oldstable-slim base-image-label: "oldstable" ref-name: ${{ inputs.ref-name }} secrets: inherit @@ -46,7 +46,7 @@ jobs: image-url: community/gvm-libs image-labels: | org.opencontainers.image.vendor=Greenbone - org.opencontainers.image.base.name=debian:stable-slim + org.opencontainers.image.base.name=debian:testing-slim base-image-label: "testing" ref-name: ${{ inputs.ref-name }} secrets: inherit From adc89a0f3de541e51518d2b9525efb2875340a0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Thu, 16 Jan 2025 13:48:51 +0100 Subject: [PATCH 3/3] Use renamed action parameter for coverage v5 The input got renamed from file to files. --- .github/workflows/ci-c.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-c.yml b/.github/workflows/ci-c.yml index b94ae211..64649884 100644 --- a/.github/workflows/ci-c.yml +++ b/.github/workflows/ci-c.yml @@ -46,7 +46,7 @@ jobs: - name: Upload test coverage to Codecov uses: codecov/codecov-action@v5 with: - file: build/coverage/coverage.xml + files: build/coverage/coverage.xml token: ${{ secrets.CODECOV_TOKEN }} flags: unittests