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/

Change-Id: I425ae2fab78e80ff56f21fd1b24708906ec32342
This commit is contained in:
Marcin Juszkiewicz 2022-10-17 17:24:06 +02:00
parent 2daf4331a6
commit e104ef7fdc
4 changed files with 14 additions and 14 deletions

View File

@ -98,11 +98,8 @@ SHA1 keys are not supported in RHEL9: https://github.com/rpm-software-management
# 'crmsh.repo',
{% elif base_arch == 'aarch64' %}
{#
Repo files not available for CentOS Stream 9:
'erlang-solutions.repo',
#}
{% set base_yum_repo_files = base_yum_repo_files + [
'hrw-copr-erlang-for-rabbitmq.repo',
] %}
{#
@ -159,7 +156,6 @@ RUN rm -f /etc/rpm/macros.image-language-conf \
'centos-release-ceph-quincy',
'centos-release-nfv-openvswitch',
'centos-release-opstools',
'centos-release-rabbitmq-38',
'epel-release',
] %}
@ -177,7 +173,6 @@ RUN rm -f /etc/rpm/macros.image-language-conf \
'centos-ceph-quincy',
'centos-nfv-openvswitch',
'centos-opstools',
'centos-rabbitmq-38',
'centos9-nfv-ovs',
'centos9-opstools',
'centos9-rabbitmq',

View File

@ -1,6 +0,0 @@
[erlang-solutions]
name=erlang-solutions
baseurl=https://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch
gpgcheck=1
gpgkey=https://packages.erlang-solutions.com/rpm/erlang_solutions.asc
enabled=0

View File

@ -0,0 +1,11 @@
# NOTE(hrw): this repository contains rebuild of Erlang package from RabbitMQ team
# from https://github.com/rabbitmq/erlang-rpm/
# Thanks to COPR we have aarch64 packages for CentOS Stream 8/9
[copr-hrw-erlang-for-rabbitmq]
name=Hrw's COPR with Erlang build for RabbitMQ
baseurl=https://download.copr.fedorainfracloud.org/results/hrw/erlang-for-rabbitmq/centos-stream-$releasever-$basearch/
gpgcheck=1
enabled=0
gpgkey=https://download.copr.fedorainfracloud.org/results/hrw/erlang-for-rabbitmq/pubkey.gpg
repo_gpgcheck=0

View File

@ -23,7 +23,7 @@ centos-aarch64:
crb: "crb"
elasticsearch: "elasticsearch-kibana-logstash-7.x"
epel: "epel"
erlang: "centos-rabbitmq-38"
erlang: "copr-hrw-erlang-for-rabbitmq"
extras: "extras"
grafana: "grafana"
hacluster: "highavailability"
@ -160,7 +160,7 @@ rocky-aarch64:
crb: "crb"
elasticsearch: "elasticsearch-kibana-logstash-7.x"
epel: "epel"
erlang: "centos-rabbitmq-38"
erlang: "copr-hrw-erlang-for-rabbitmq"
extras: "extras"
grafana: "grafana"
influxdb: "influxdb"