]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
CI: add missing bind-mount option for /dev
authorDennis Maisenbacher <dennis.maisenbacher@wdc.com>
Tue, 11 Feb 2025 11:09:01 +0000 (12:09 +0100)
committerDaniel Wagner <wagi@monom.org>
Tue, 11 Feb 2025 11:23:46 +0000 (12:23 +0100)
The failing run-nightly-tests GitHub action is caused by a missing
bind-mount option of the /dev directory. Without the 'shared'
bind-propagation the device tree is not reliably updated within the
container. This causes newly created namespaces not to show up.

Signed-off-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
.github/workflows/run-nightly-tests.yml

index 58fc2a7712a5afc498debfd8606eaa8d4fbd9a5a..e8ac232ad6a2416aed3970b826b09d77f74c78c4 100644 (file)
@@ -16,7 +16,7 @@ jobs:
       #BDEV0 is an environment variable of the self-hosted runner instance
       #that contains a valid nvme ctrl name which is capable of the nvm
       #command set.
-      options: '--privileged -e BDEV0'
+      options: '--privileged -v "/dev":"/dev":z -e BDEV0'
     steps:
       - name: Output kernel version
         run: |