From e7609051f8adc2531a41f287b677caf3c4db2814 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Tue, 30 Jun 2026 12:15:26 +0200 Subject: [PATCH 1/3] build: add SPDX license identifiers and copyright notices Add SPDX license identifiers and copyright notices to the source files to ensure they contain the expected licensing metadata and comply with project conventions. Signed-off-by: Daniel Wagner --- .github/workflows/python-sanity.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/python-sanity.yml b/.github/workflows/python-sanity.yml index 57a9841..36ed1db 100644 --- a/.github/workflows/python-sanity.yml +++ b/.github/workflows/python-sanity.yml @@ -1,3 +1,10 @@ +--- +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (c) 2026 SUSE Software Solutions +# +# Authors: Daniel Wagner + name: Python Sanity on: From 3d0a8da36c146fb78fbe7eecf59eda98f4246fd8 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Tue, 30 Jun 2026 12:30:26 +0200 Subject: [PATCH 2/3] build: add dependabot checker Ensure the workflow action stay updated. Signed-off-by: Daniel Wagner --- .github/dependabot.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..8d84652 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,17 @@ +--- +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (c) 2026 SUSE Software Solutions +# +# Authors: Daniel Wagner + +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + ignore: + - dependency-name: "*" + update-types: + - "version-update:semver-patch" From 60fdccdd5b503d67a32236aef65ccab989f5b078 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Tue, 30 Jun 2026 12:30:53 +0200 Subject: [PATCH 3/3] build: add workflow for running tests suite The project has support for running a test suite. Signed-off-by: Daniel Wagner --- .github/workflows/tests.yml | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..06633e6 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,38 @@ +--- +# SPDX-License-Identifier: Apache-2.0 +# +# Copyright (c) 2026 SUSE Software Solutions +# +# Authors: Daniel Wagner + +name: Tests + +on: + pull_request: + workflow_dispatch: + +jobs: + testsuite: + runs-on: arc-vm-nvmetcli-cph + timeout-minutes: 1200 + steps: + - name: Checkout blktests-ci + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + with: + repository: linux-blktests/blktests-ci + + - name: Run in VM + uses: ./.github/actions/kubevirt-action + with: + container_disk_image: "quay.io/containerdisks/fedora:44" + host_devices: "nvme-wdc-zn540" + run_cmds: | + sudo dnf install -y git make python3-configshell python3-kmod \ + python3-devel python3-nose2 systemd-units + + git clone https://github.com/${{ github.repository }} nvmetcli + cd nvmetcli + git checkout ${{ github.sha }} + + sudo modprobe nvmet + sudo make test