Skip to content

Commit 9b5e7b6

Browse files
hrwMarcin Juszkiewicz
authored andcommitted
rabbitmq: use Erlang from PPA on Debian/Ubuntu
PPA from Team RabbitMQ [1] provides newer Erlang for Debian/Ubuntu. This way we have latest Erlang on both distributions and both architectures. 1. https://launchpad.net/~rabbitmq/+archive/ubuntu/rabbitmq-erlang (manual cherry-pick from master commit b40506f) Change-Id: I6b1407cc94ffa1893dac204cf4836a7d0ae0d575
1 parent 420244f commit 9b5e7b6

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

docker/base/Dockerfile.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,9 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
312312
] %}
313313

314314
{% set base_apt_keys = [
315-
{'name': 'erlang', 'keyid': 'E495BB49CC4BBE5B'},
316-
{'name': 'rabbitmq', 'keyid': '9F4587F226208342'},
317-
{'name': 'haproxy', 'keyid': 'CFFB779AADC995E4F350A060505D97A41C61B9CD'},
315+
{'name': 'erlang-ppa', 'keyid': 'F77F1EDA57EBB1CC'},
316+
{'name': 'rabbitmq', 'keyid': '9F4587F226208342'},
317+
{'name': 'haproxy', 'keyid': 'CFFB779AADC995E4F350A060505D97A41C61B9CD'},
318318
] %}
319319

320320
{# NOTE(hrw): type field defaults to 'asc' which is used for single keys #}

docker/base/apt_preferences.debian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Pin: version 3.9.*
33
Pin-Priority: 1000
44

55
Package: erlang*
6-
Pin: version 1:24.*
6+
Pin: version 1:25.*
77
Pin-Priority: 1000
88

99
# NOTE(mgoddard): logstash 7.9.x is the last version that supports

docker/base/apt_preferences.ubuntu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Pin: version 3.9.*
33
Pin-Priority: 1000
44

55
Package: erlang*
6-
Pin: version 1:24.*
6+
Pin: version 1:25.*
77
Pin-Priority: 1000
88

99
# NOTE(mgoddard): logstash 7.9.x is the last version that supports

kolla/template/repos.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ debian:
4747
component: "main"
4848
gpg_key: "elasticsearch.asc"
4949
erlang:
50-
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/debian"
51-
suite: "bullseye"
50+
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu"
51+
suite: "focal"
5252
component: "main"
53-
gpg_key: "erlang.gpg"
53+
gpg_key: "erlang-ppa.gpg"
5454
grafana:
5555
url: "https://packages.grafana.com/oss/deb"
5656
suite: "stable"
@@ -99,10 +99,10 @@ debian-aarch64:
9999
component: "main"
100100
gpg_key: "elasticsearch.asc"
101101
erlang:
102-
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/debian"
103-
suite: "bullseye"
102+
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu"
103+
suite: "focal"
104104
component: "main"
105-
gpg_key: "erlang.gpg"
105+
gpg_key: "erlang-ppa.gpg"
106106
grafana:
107107
url: "https://packages.grafana.com/oss/deb"
108108
suite: "stable"
@@ -151,10 +151,10 @@ ubuntu:
151151
component: "main"
152152
gpg_key: "elasticsearch.asc"
153153
erlang:
154-
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu"
154+
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu"
155155
suite: "focal"
156156
component: "main"
157-
gpg_key: "erlang.gpg"
157+
gpg_key: "erlang-ppa.gpg"
158158
grafana:
159159
url: "https://packages.grafana.com/oss/deb"
160160
suite: "stable"
@@ -208,10 +208,10 @@ ubuntu-aarch64:
208208
component: "main"
209209
gpg_key: "elasticsearch.asc"
210210
erlang:
211-
url: "https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu"
211+
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu"
212212
suite: "focal"
213213
component: "main"
214-
gpg_key: "erlang.gpg"
214+
gpg_key: "erlang-ppa.gpg"
215215
grafana:
216216
url: "https://packages.grafana.com/oss/deb"
217217
suite: "stable"

0 commit comments

Comments
 (0)