Skip to content

Commit b7c886a

Browse files
Marcin Juszkiewiczkeuko
authored andcommitted
rabbitmq/aarch64: use COPR for Erlang
RabbitMQ team maintains RPM package in Github repo [1]. Hrw then use it to build package using COPR service [2]. This way we have latest Erlang on both distributions and both architectures. 1. https://github.com/rabbitmq/erlang-rpm/ 2. https://copr.fedorainfracloud.org/coprs/hrw/erlang-for-rabbitmq/ (manual cherry-pick from master commit e104ef7) Change-Id: I6a6a9c3d5ffff884fc61baeafcc46ad82afc3db3
1 parent aa92e60 commit b7c886a

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

docker/base/Dockerfile.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ COPY dnf.conf /etc/dnf/dnf.conf
9999
] %}
100100
{% elif base_arch == 'aarch64' %}
101101
{% set base_yum_repo_files = base_yum_repo_files + [
102-
'erlang-solutions.repo',
102+
'hrw-copr-erlang-for-rabbitmq.repo',
103103
'mariadb-aarch64.repo',
104104
] %}
105105

docker/base/erlang-solutions.repo

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# NOTE(hrw): this repository contains rebuild of Erlang package from RabbitMQ team
2+
# from https://github.com/rabbitmq/erlang-rpm/
3+
# Thanks to COPR we have aarch64 packages for CentOS Stream 8/9
4+
5+
[copr-hrw-erlang-for-rabbitmq]
6+
name=Hrw's COPR with Erlang build for RabbitMQ
7+
baseurl=https://download.copr.fedorainfracloud.org/results/hrw/erlang-for-rabbitmq/centos-stream-$releasever-$basearch/
8+
gpgcheck=1
9+
enabled=0
10+
gpgkey=https://download.copr.fedorainfracloud.org/results/hrw/erlang-for-rabbitmq/pubkey.gpg
11+
repo_gpgcheck=0

kolla/template/repos.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ centos-aarch64:
2525
elasticsearch: "elasticsearch-kibana-logstash-7.x"
2626
epel: "epel"
2727
epel-modular: "epel-modular"
28-
erlang: "erlang-solutions"
28+
erlang: "copr-hrw-erlang-for-rabbitmq"
2929
extras: "extras"
3030
grafana: "grafana"
3131
hacluster: "ha"

0 commit comments

Comments
 (0)