mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
test: bump version of bundled sample container image
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -16,7 +16,6 @@ def _verify(server):
|
||||
|
||||
with infamy.Test() as test:
|
||||
NAME = "web"
|
||||
IMAGE = "curios-httpd-edge.tar.gz"
|
||||
|
||||
with test.step("Set up topology and attach to target DUT"):
|
||||
env = infamy.Env(infamy.std_topology("1x2"))
|
||||
@@ -29,7 +28,7 @@ with infamy.Test() as test:
|
||||
"container": [
|
||||
{
|
||||
"name": f"{NAME}",
|
||||
"image": f"oci-archive:{IMAGE}",
|
||||
"image": f"oci-archive:{infamy.Container.IMAGE}",
|
||||
"network": {
|
||||
"host": True
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ with infamy.Test() as test:
|
||||
"container": [
|
||||
{
|
||||
"name": f"{NAME}",
|
||||
"image": f"oci-archive:{IMAGE}",
|
||||
"image": f"oci-archive:{infamy.Container.IMAGE}",
|
||||
"mount": [
|
||||
{
|
||||
"name": "index.html",
|
||||
|
||||
@@ -43,7 +43,7 @@ with infamy.Test() as test:
|
||||
"container": [
|
||||
{
|
||||
"name": f"{NAME}",
|
||||
"image": f"oci-archive:{IMAGE}",
|
||||
"image": f"oci-archive:{infamy.Container.IMAGE}",
|
||||
"network": {
|
||||
"interface": [
|
||||
{ "name": f"{ifname}" }
|
||||
|
||||
@@ -67,7 +67,7 @@ with infamy.Test() as test:
|
||||
"container": [
|
||||
{
|
||||
"name": f"{NAME}",
|
||||
"image": f"oci-archive:{IMAGE}",
|
||||
"image": f"oci-archive:{infamy.Container.IMAGE}",
|
||||
"network": {
|
||||
"interface": [
|
||||
{ "name": f"{NAME}" }
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
class Container:
|
||||
"""Helper methods"""
|
||||
IMAGE = "curios-httpd-v24.03.0.tar.gz"
|
||||
|
||||
def __init__(self, target):
|
||||
self.system = target
|
||||
|
||||
Reference in New Issue
Block a user