diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2026-06-15 17:49:31 +0200 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2026-07-09 08:49:17 +0200 |
| commit | 77d310a9ff344a09f35b2c0536b0f7b9e8677deb (patch) | |
| tree | 59130fd2f762eb3d62f7e33cfa32d9edcf10265f /tests/playbooks/run.yml | |
| parent | 44b4d81399792f539716618953f2cafa64086a5c (diff) | |
| download | kolla-77d310a9ff344a09f35b2c0536b0f7b9e8677deb.tar.gz kolla-77d310a9ff344a09f35b2c0536b0f7b9e8677deb.zip | |
Add support to override base repos
BaseOS and AppStream for CentOS/Rocky
ubuntu, ubuntu-security for Ubuntu
debian, debian-security for Debian
ubuntu-cloud-archive is not really a base repo - so
removing it from ubuntu.sources
Change-Id: Iab98de963f2e8532389b7563bb572d8aa20c7aa6
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Diffstat (limited to 'tests/playbooks/run.yml')
| -rw-r--r-- | tests/playbooks/run.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/playbooks/run.yml b/tests/playbooks/run.yml index ad3c80075..99791da0f 100644 --- a/tests/playbooks/run.yml +++ b/tests/playbooks/run.yml @@ -62,6 +62,16 @@ when: - not publisher + - name: Set up base repo overrides + vars: + kolla_repos_yaml_config: + DEFAULT: + repos_yaml: /etc/kolla/repos.yaml + ansible.builtin.set_fact: + kolla_build_config: "{{ kolla_build_config | combine(kolla_repos_yaml_config, recursive=True) }}" + kolla_build_repos_yaml_path: "{{ zuul.executor.work_root }}/{{ zuul.projects['opendev.org/openstack/kolla'].src_dir }}/tests/templates/repos.yaml.j2" + when: base_distro in ['debian', 'rocky', 'ubuntu'] + - name: Import kolla-build-config role import_role: name: kolla-build-config |
