aboutsummaryrefslogtreecommitdiff
path: root/tests/test_build.py
diff options
context:
space:
mode:
authorPaul Bourke <paul.bourke@oracle.com>2016-03-01 15:33:46 +0000
committerPaul Bourke <paul.bourke@oracle.com>2016-03-01 15:34:34 +0000
commit80f0890c81d3e24b47037a479ee48d7625faea7a (patch)
tree63f8c63d5a3a37ef429eb8275263b68ab77f8436 /tests/test_build.py
parent76c28f96984d864cb05191d24f9d74c165b6d16f (diff)
downloadkolla-80f0890c81d3e24b47037a479ee48d7625faea7a.tar.gz
kolla-80f0890c81d3e24b47037a479ee48d7625faea7a.zip
Add new gates for oraclelinux
Change-Id: Ic5c0e266639c8ed76d0af473d076d9ae6749102a Implements: bp oraclelinux-gate
Diffstat (limited to 'tests/test_build.py')
-rw-r--r--tests/test_build.py35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/test_build.py b/tests/test_build.py
index 7f68c2e11..829f45234 100644
--- a/tests/test_build.py
+++ b/tests/test_build.py
@@ -102,6 +102,29 @@ class BuildTestUbuntuSource(BuildTest, base.BaseTestCase):
"--type", "source"])
+class BuildTestOracleLinuxBinary(BuildTest, base.BaseTestCase):
+ excluded_images = ["gnocchi-base",
+ "murano-base",
+ "ironic-pxe",
+ "ironic-inspector",
+ "mistral-base",
+ "murano-base"]
+
+ def setUp(self):
+ super(BuildTestOracleLinuxBinary, self).setUp()
+ self.build_args.extend(["--base", "oraclelinux",
+ "--type", "binary"])
+
+
+class BuildTestOracleLinuxSource(BuildTest, base.BaseTestCase):
+ excluded_images = []
+
+ def setUp(self):
+ super(BuildTestOracleLinuxSource, self).setUp()
+ self.build_args.extend(["--base", "oraclelinux",
+ "--type", "source"])
+
+
class DeployTestCentosBinary(BuildTestCentosBinary):
def setUp(self):
super(DeployTestCentosBinary, self).setUp()
@@ -114,6 +137,18 @@ class DeployTestCentosSource(BuildTestCentosSource):
self.build_args.extend(["--profile", "gate"])
+class DeployTestOracleLinuxBinary(BuildTestOracleLinuxBinary):
+ def setUp(self):
+ super(DeployTestOracleLinuxBinary, self).setUp()
+ self.build_args.extend(["--profile", "gate"])
+
+
+class DeployTestOracleLinuxSource(BuildTestOracleLinuxSource):
+ def setUp(self):
+ super(DeployTestOracleLinuxSource, self).setUp()
+ self.build_args.extend(["--profile", "gate"])
+
+
class DeployTestUbuntuSource(BuildTestUbuntuSource):
def setUp(self):
super(DeployTestUbuntuSource, self).setUp()