-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Alberto Faria <[email protected]>
- Loading branch information
1 parent
2e44524
commit 6b1086d
Showing
4 changed files
with
91 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
provision: | ||
hardware: | ||
virtualization: | ||
is-supported: true | ||
|
||
prepare: &prepare | ||
- name: Install dependencies | ||
how: install | ||
package: | ||
- bash | ||
- cargo | ||
- coreutils | ||
- crun | ||
- crun-krun | ||
- genisoimage | ||
- grep | ||
- libselinux-devel | ||
- libvirt-client | ||
- libvirt-daemon-driver-qemu | ||
- openssh | ||
- openssh-clients | ||
- passt | ||
- qemu-img | ||
- qemu-system-aarch64-core | ||
- qemu-system-x86-core | ||
- sed | ||
- util-linux | ||
- virtiofsd | ||
|
||
execute: | ||
how: tmt | ||
script: | | ||
set -ex | ||
export PATH=$PATH:/root/.cargo/bin LIBGUESTFS_BACKEND=direct | ||
tests/env.sh build | ||
tests/env.sh start | ||
tests/env.sh run "$ENGINE" all | ||
|
||
/docker: | ||
summary: Run all tests under Docker | ||
prepare: | ||
- *prepare | ||
- name: Install Docker | ||
how: install | ||
package: | ||
- docker | ||
environment: | ||
ENGINE: docker | ||
|
||
/podman: | ||
summary: Run all tests under Podman | ||
prepare: | ||
- *prepare | ||
- name: Install Podman | ||
how: install | ||
package: | ||
- podman | ||
environment: | ||
ENGINE: podman | ||
|
||
/rootful-podman: | ||
summary: Run all tests under Rootful Podman | ||
prepare: | ||
- *prepare | ||
- name: Install Podman | ||
how: install | ||
package: | ||
- podman | ||
environment: | ||
ENGINE: rootful-podman |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters