diff options
Diffstat (limited to 'kolla/template')
| -rw-r--r-- | kolla/template/methods.py | 4 | ||||
| -rw-r--r-- | kolla/template/repos.yaml | 50 |
2 files changed, 31 insertions, 23 deletions
diff --git a/kolla/template/methods.py b/kolla/template/methods.py index f8d4ace22..d5f08c81b 100644 --- a/kolla/template/methods.py +++ b/kolla/template/methods.py @@ -314,11 +314,13 @@ def handle_repos(context, reponames, mode): suite = _repo['suite'].replace( '{openstack_release_codename}', openstack_release_codename.lower()) + # NOTE(mnasiadka): Support multiple urls + url = ' '.join(_repo['url'].splitlines()) commands += APT_REPO.format( component=_repo['component'], signed_by=signed_by, suite=suite, - url=_repo['url'], + url=url, repo=repo, ) if _repo.get('trusted'): diff --git a/kolla/template/repos.yaml b/kolla/template/repos.yaml index a957099ef..cec086d49 100644 --- a/kolla/template/repos.yaml +++ b/kolla/template/repos.yaml @@ -30,10 +30,12 @@ debian: debian-security: distro: True erlang: - url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu" - suite: "noble" + url: | + https://deb1.rabbitmq.com/rabbitmq-erlang/debian/trixie + https://deb2.rabbitmq.com/rabbitmq-erlang/debian/trixie + suite: "trixie" component: "main" - gpg_key: "erlang-ppa.gpg" + gpg_key: "rabbitmq.gpg" docker-ce: url: "https://download.docker.com/linux/debian" suite: "trixie" @@ -56,20 +58,21 @@ debian: component: "" gpg_key: "proxysql.asc" rabbitmq: - url: "https://deb1.rabbitmq.com/rabbitmq-server/debian/trixie/" + url: | + https://deb1.rabbitmq.com/rabbitmq-server/debian/trixie + https://deb2.rabbitmq.com/rabbitmq-server/debian/trixie suite: "trixie" component: "main" gpg_key: "rabbitmq.gpg" debian-aarch64: - rabbitmq: - url: "https://deb1.rabbitmq.com/rabbitmq-server/debian/trixie" - suite: "trixie" + # NOTE(mnasiadka): deb1/deb2.rabbitmq.com do not provide arm64 Erlang + # builds - use the Launchpad PPA instead. + erlang: + url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu" + suite: "noble" component: "main" - # NOTE(mnasiadka): Since rabbitmq is really noarch and community mirror is not - # syncing binary-aarch64 - we're using amd64 here. - arch: "amd64" - gpg_key: "rabbitmq.gpg" + gpg_key: "erlang-ppa.gpg" ubuntu: ubuntu: @@ -87,10 +90,12 @@ ubuntu: component: "main" gpg_key: "ceph.asc" erlang: - url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu" + url: | + https://deb1.rabbitmq.com/rabbitmq-erlang/ubuntu/noble + https://deb2.rabbitmq.com/rabbitmq-erlang/ubuntu/noble suite: "noble" component: "main" - gpg_key: "erlang-ppa.gpg" + gpg_key: "rabbitmq.gpg" docker-ce: url: "https://download.docker.com/linux/ubuntu" suite: "noble" @@ -112,24 +117,25 @@ ubuntu: component: "" gpg_key: "proxysql.asc" rabbitmq: - url: "https://deb1.rabbitmq.com/rabbitmq-server/ubuntu/noble" + url: | + https://deb1.rabbitmq.com/rabbitmq-server/ubuntu/noble + https://deb2.rabbitmq.com/rabbitmq-server/ubuntu/noble suite: "noble" component: "main" gpg_key: "rabbitmq.gpg" ubuntu-aarch64: + # NOTE(mnasiadka): deb1/deb2.rabbitmq.com do not provide arm64 Erlang + # builds - use the Launchpad PPA instead. + erlang: + url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu" + suite: "noble" + component: "main" + gpg_key: "erlang-ppa.gpg" ubuntu: distro: True ubuntu-security: distro: True - rabbitmq: - url: "https://deb1.rabbitmq.com/rabbitmq-server/ubuntu/noble" - suite: "noble" - component: "main" - # NOTE(mnasiadka): Since rabbitmq is really noarch and community mirror is not - # syncing binary-aarch64 - we're using amd64 here. - arch: "amd64" - gpg_key: "rabbitmq.gpg" rpm: ceph: |
