diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2024-02-14 14:02:50 +0100 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2024-02-21 08:26:52 +0000 |
| commit | 750a137815f1ca58c7e65d23e9d63403ea282b1a (patch) | |
| tree | 3011be637b499ead30126f12be82d39a1bc69c5b /kolla/tests | |
| parent | b276a9cdb52502a9abe1b0f3cf866d952f201b5d (diff) | |
| download | kolla-750a137815f1ca58c7e65d23e9d63403ea282b1a.tar.gz kolla-750a137815f1ca58c7e65d23e9d63403ea282b1a.zip | |
Move curl sources to sources.py
Move most curl sources to sources.py, so it can be automatically
updated in future.
This also makes overriding the versions/locations/sha256 easier.
Change-Id: Ib3497fe96162ae190e5c113cacaaa3ef8334f590
Diffstat (limited to 'kolla/tests')
| -rw-r--r-- | kolla/tests/test_build.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/kolla/tests/test_build.py b/kolla/tests/test_build.py index 1aa0b3a9d..7ffa6827a 100644 --- a/kolla/tests/test_build.py +++ b/kolla/tests/test_build.py @@ -293,6 +293,15 @@ class TasksTest(base.TestCase): {'source': 'http://fake/source4', 'type': None, 'name': 'fake-image-base4', 'reference': 'http://fake/reference4', + 'enabled': True}, + {'source': 'http://fake/source${version}', + 'type': 'url', + 'name': 'fake-image-base5', + 'version': '5', + 'enabled': True}, + {'source': 'http://fake/source${debian_arch}', + 'type': 'url', + 'name': 'fake-image-base6', 'enabled': True}]: self.image.source = source push_queue = mock.Mock() @@ -499,7 +508,8 @@ class KollaWorkerTest(base.TestCase): 'reference': 'master', 'source': 'https://opendev.org/x/networking-arista', 'type': 'git', - 'enabled': True + 'enabled': True, + 'sha256': None } found = False |
