Commit 7475f529 authored by Ivan Tyagov's avatar Ivan Tyagov

Supply needed SRs.

parent 1e55ba34
......@@ -12,4 +12,4 @@ md5sum = cbaa8e36097f36caf1a377fa71341a09
[test_beremiz.py]
filename = test_beremiz.py
md5sum = 58bb107c26ff4a888619e5cd041d3d1c
md5sum = 83e48bc1122e66046b012061d9d2c154
......@@ -101,12 +101,19 @@ class BeremizTest(EndToEndTestCase):
def setUpClass(cls):
super().setUpClass()
# supply needed software releases
coupler_release = "https://lab.nexedi.com/nexedi/slapos/raw/master/software/osie-coupler/software-dev.cfg"
runtime_release = "https://lab.nexedi.com/nexedi/slapos/raw/master/software/beremiz-runtime/software.cfg"
# XXX: wait for release? where to keep computer _id ?
cls.supply(coupler_release, "COMP-3523", state="available")
cls.supply(runtime_release, "COMP-3523", state="available")
# supply / request coupler
instance_name = time.strftime('e2e-test-coupler-%Y-%B-%d-%H:%M:%S')
release = "https://lab.nexedi.com/nexedi/slapos/raw/master/software/osie-coupler/software-dev.cfg"
parameter_dict = {"mode":1,
"network_interface": "192.168.0.0"}
cls.request(release,
cls.request(coupler_release,
instance_name,
partition_parameter_kw=parameter_dict)
cls.waitUntilGreen(instance_name)
......@@ -116,9 +123,8 @@ class BeremizTest(EndToEndTestCase):
# supply / request beremiz-runtime
instance_name = time.strftime('e2e-test-beremiz-runtime-%Y-%B-%d-%H:%M:%S')
release = "https://lab.nexedi.com/nexedi/slapos/raw/master/software/beremiz-runtime/software.cfg"
parameter_dict = {"runtime_plc_url": "https://lab.nexedi.com/nexedi/osie/raw/master/Beremiz/beremiz_test_opc_ua/bin/beremiz_test_opc_ua.tgz"}
cls.request(release,
cls.request(runtime_release,
instance_name,
partition_parameter_kw=parameter_dict)
cls.waitUntilGreen(instance_name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment