-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from rancher/e2e
Add initial E2E structure for validating SELinux policies
- Loading branch information
Showing
12 changed files
with
257 additions
and
297 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
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
This file was deleted.
Oops, something went wrong.
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,33 @@ | ||
# Originally from: https://github.com/lima-vm/lima/blob/7ce6a7a5d1497753c27c30f8aad8f5861c008da0/templates/rocky-8.yaml | ||
|
||
# This template requires Lima v0.8.3 or later. | ||
|
||
# NOTE: EL8-based distros are known not to work on M1 chips: https://github.com/lima-vm/lima/issues/841 | ||
# EL9-based distros are known to work. | ||
|
||
images: | ||
- location: "https://dl.rockylinux.org/pub/rocky/8.10/images/x86_64/Rocky-8-GenericCloud-Base-8.10-20240528.0.x86_64.qcow2" | ||
arch: "x86_64" | ||
digest: "sha256:e56066c58606191e96184de9a9183a3af33c59bcbd8740d8b10ca054a7a89c14" | ||
- location: "https://dl.rockylinux.org/pub/rocky/8.10/images/aarch64/Rocky-8-GenericCloud-Base-8.10-20240528.0.aarch64.qcow2" | ||
arch: "aarch64" | ||
digest: "sha256:946b5b9845aa5e3ed98f1bc6ee9873201712a2aef01b87731aed16857e0ca13f" | ||
# Fallback to the latest release image. | ||
# Hint: run `limactl prune` to invalidate the cache | ||
- location: "https://dl.rockylinux.org/pub/rocky/8/images/x86_64/Rocky-8-GenericCloud.latest.x86_64.qcow2" | ||
arch: "x86_64" | ||
- location: "https://dl.rockylinux.org/pub/rocky/8/images/aarch64/Rocky-8-GenericCloud.latest.aarch64.qcow2" | ||
arch: "aarch64" | ||
mountTypesUnsupported: ["9p"] | ||
mounts: [] | ||
cpuType: | ||
# Workaround for "vmx_write_mem: mmu_gva_to_gpa XXXXXXXXXXXXXXXX failed" on Intel Mac | ||
# https://bugs.launchpad.net/qemu/+bug/1838390 | ||
x86_64: "Haswell-v4" | ||
|
||
provision: | ||
- mode: system | ||
script: | | ||
#!/bin/sh | ||
yum in -y git container-selinux |
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,27 @@ | ||
# Originally from: https://github.com/lima-vm/lima/blob/7ce6a7a5d1497753c27c30f8aad8f5861c008da0/templates/rocky-9.yaml | ||
|
||
# This template requires Lima v0.11.1 or later. | ||
|
||
images: | ||
- location: "https://dl.rockylinux.org/pub/rocky/9.5/images/x86_64/Rocky-9-GenericCloud-Base-9.5-20241118.0.x86_64.qcow2" | ||
arch: "x86_64" | ||
digest: "sha256:069493fdc807300a22176540e9171fcff2227a92b40a7985a0c1c9e21aeebf57" | ||
# No 20240609.1 for aarch64 | ||
- location: "https://dl.rockylinux.org/pub/rocky/9.5/images/aarch64/Rocky-9-GenericCloud-Base-9.5-20241118.0.aarch64.qcow2" | ||
arch: "aarch64" | ||
digest: "sha256:5443bcc0507fadc3d7bd3e8d266135ab8db6966c703216933f824164fd3252f1" | ||
# Fallback to the latest release image. | ||
# Hint: run `limactl prune` to invalidate the cache | ||
- location: "https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2" | ||
arch: "x86_64" | ||
- location: "https://dl.rockylinux.org/pub/rocky/9/images/aarch64/Rocky-9-GenericCloud.latest.aarch64.qcow2" | ||
arch: "aarch64" | ||
mountTypesUnsupported: ["9p"] | ||
mounts: [] | ||
|
||
provision: | ||
- mode: system | ||
script: | | ||
#!/bin/sh | ||
yum in -y git container-selinux |
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,17 @@ | ||
# Originally from: https://github.com/lima-vm/lima/blob/7ce6a7a5d1497753c27c30f8aad8f5861c008da0/templates/opensuse-leap.yaml | ||
|
||
# This template requires Lima v0.7.0 or later | ||
images: | ||
# Hint: run `limactl prune` to invalidate the "Current" cache | ||
- location: "https://download.opensuse.org/distribution/leap/15.6/appliances/openSUSE-Leap-15.6-Minimal-VM.x86_64-Cloud.qcow2" | ||
arch: "x86_64" | ||
- location: "https://download.opensuse.org/distribution/leap/15.6/appliances/openSUSE-Leap-15.6-Minimal-VM.aarch64-Cloud.qcow2" | ||
arch: "aarch64" | ||
# Hint: to allow 9p and virtiofs, replace the `kernel-default-base` package with `kernel-default` and reboot the VM. | ||
# https://github.com/lima-vm/lima/issues/3055 | ||
mountType: "reverse-sshfs" | ||
mountTypesUnsupported: ["9p", "virtiofs"] | ||
mounts: | ||
- location: "~" | ||
- location: "/tmp/lima" | ||
writable: true |
Oops, something went wrong.