diff options
| author | Marcin Juszkiewicz <marcin.juszkiewicz+kolla@linaro.org> | 2022-04-01 12:46:23 +0200 |
|---|---|---|
| committer | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2022-04-08 11:45:04 +0200 |
| commit | 9b8b22b8d4d5e89820e54e819ef7f7d310f0d040 (patch) | |
| tree | ed976fc682a36976224c877bef35a40bc0758a79 /kolla/tests | |
| parent | d8a7119009f50631045565940921b785e71c0c21 (diff) | |
| download | kolla-9b8b22b8d4d5e89820e54e819ef7f7d310f0d040.tar.gz kolla-9b8b22b8d4d5e89820e54e819ef7f7d310f0d040.zip | |
kolla: drop 'binary' install type
We no longer support binary images. This patch removes a way to build
them.
"--install-type" argument has one available option now. Later in cycle
it will be ignored.
Change-Id: If0e881d253d6a4c89ffe27831a661df321b6d5b6
Diffstat (limited to 'kolla/tests')
| -rw-r--r-- | kolla/tests/test_build.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/kolla/tests/test_build.py b/kolla/tests/test_build.py index 6174d5dd8..0dac5ecb6 100644 --- a/kolla/tests/test_build.py +++ b/kolla/tests/test_build.py @@ -11,7 +11,6 @@ # limitations under the License. import fixtures -import itertools import os import requests import sys @@ -365,16 +364,11 @@ class KollaWorkerTest(base.TestCase): self.addCleanup(patcher.stop) self.mock_client = patcher.start() - def test_supported_base_type(self): + def test_supported_base_distro(self): build_base = ['centos', 'debian', 'ubuntu'] - build_type = ['source', 'binary'] - for base_distro, install_type in itertools.chain( - itertools.product(build_base, build_type)): + for base_distro in build_base: self.conf.set_override('base', base_distro) - if base_distro == 'debian' and install_type == 'binary': - self.conf.set_override('base_arch', 'x86_64') - self.conf.set_override('install_type', install_type) # should no exception raised build.KollaWorker(self.conf) |
