Skip to content

Commit

Permalink
Azure: Add fuse device for test.py tests
Browse files Browse the repository at this point in the history
The EFI secure boot and capsule test setups need to prepare disk images
for their tests using virt-make-fs, which requires access to the host
fuse device. This is not exposed to the docker container by default and
has to be added explicitly. Add it.

Signed-off-by: Alper Nebi Yasak <[email protected]>
  • Loading branch information
alpernebbi authored and trini committed Jul 5, 2021
1 parent f9abaa5 commit 1aaaf60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ jobs:
# as sandbox testing need create files like spi flash images, etc.
# (TODO: clean up this in the future)
chmod 777 .
docker run -v $PWD:$(work_dir) $(ci_runner_image) /bin/bash $(work_dir)/test.sh
# Some tests using libguestfs-tools need the fuse device to run
docker run --device /dev/fuse:/dev/fuse -v $PWD:$(work_dir) $(ci_runner_image) /bin/bash $(work_dir)/test.sh
- job: build_the_world
displayName: 'Build the World'
Expand Down

0 comments on commit 1aaaf60

Please sign in to comment.