From df77c5e4b96fa3b36ce4cb06fed21f83f3998a90 Mon Sep 17 00:00:00 2001 From: abregman Date: Fri, 28 Sep 2018 22:53:31 +0300 Subject: [PATCH] Use image from tempest configuration And not fixed cirros version. Also, removed tempest job as it's completely useless at this point. To test Tobiko we'll have to set up upgrade job and not a regular one that runs tempet only once. Change-Id: Iac0c987fff66f3b83f57a3671174c97a8f6c5cda --- tobiko/common/stack.py | 3 --- tobiko/tests/scenario/test_floatingip.py | 2 +- zuul.d/projects.yaml | 4 ---- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/tobiko/common/stack.py b/tobiko/common/stack.py index 997b4f7e2..602cbd577 100644 --- a/tobiko/common/stack.py +++ b/tobiko/common/stack.py @@ -39,7 +39,6 @@ class StackManager(object): template=template, parameters=parameters) - print(stack) return stack def delete_stack(self, sid): @@ -57,8 +56,6 @@ class StackManager(object): complete status or when timeout reached. """ res = self.client.resources.get(stack_id, resource_name) - print(res.resource_status) while (res.resource_status != 'CREATE_COMPLETE'): - print(res.resource_status) time.sleep(5) res = self.client.resources.get(stack_id, resource_name) diff --git a/tobiko/tests/scenario/test_floatingip.py b/tobiko/tests/scenario/test_floatingip.py index feb77d6d8..d89ee4b84 100644 --- a/tobiko/tests/scenario/test_floatingip.py +++ b/tobiko/tests/scenario/test_floatingip.py @@ -23,7 +23,7 @@ class FloatingIPTest(base.ScenarioTestsBase): # Defines parameters required by heat template parameters = {'public_net': self.conf.network.floating_network_name, - 'image': "cirros-0.3.5-x86_64-disk.img", + 'image': self.conf.compute.image_ref, 'flavor': "m1.micro"} # creates stack and stores its ID diff --git a/zuul.d/projects.yaml b/zuul.d/projects.yaml index 544424d3a..faa7b6102 100644 --- a/zuul.d/projects.yaml +++ b/zuul.d/projects.yaml @@ -3,7 +3,3 @@ templates: - check-requirements - tempest-plugin-jobs - gate: - queue: tobiko - jobs: - - tobiko-tempest