haproxy: Use haproxy 2.2.x

For CentOS nfv-extras repository will be used, for Ubuntu - a PPA
maintained by Vincent Bernat (Debian developer and package maintainer)..
Debian Bullseye already uses 2.2.

Change-Id: I7cd753cf66b492c75a185e365cf988cabb9c0142
This commit is contained in:
Michał Nasiadka 2021-08-13 11:44:46 +02:00 committed by Michal Nasiadka
parent 6800d22137
commit 2168224aa3
4 changed files with 21 additions and 0 deletions

View File

@ -155,6 +155,7 @@ RUN rm -f /etc/rpm/macros.image-language-conf \
{% set base_centos_yum_repo_packages = [
'centos-release-advanced-virtualization',
'centos-release-ceph-nautilus',
'centos-release-nfv-extras',
'centos-release-nfv-openvswitch',
'centos-release-opstools',
'centos-release-rabbitmq-38',
@ -173,6 +174,7 @@ RUN rm -f /etc/rpm/macros.image-language-conf \
# https://review.rdoproject.org/r/c/rdo-infra/ansible-role-dlrn/+/33241
{% set base_centos_yum_repos_to_disable = [
'advanced-virtualization',
'centos-nfv-extras',
'centos-nfv-ovs',
'centos-advanced-virtualization',
'centos-ceph-nautilus',
@ -311,6 +313,7 @@ COPY apt_preferences /etc/apt/preferences.d/kolla-custom
{% set base_apt_keys = [
{'name': 'erlang', 'keyid': 'F77F1EDA57EBB1CC'},
{'name': 'rabbitmq', 'keyid': 'F6609E60DC62814E'},
{'name': 'haproxy', 'keyid': 'CFFB779AADC995E4F350A060505D97A41C61B9CD'},
] %}
{# NOTE(hrw): type field defaults to 'asc' which is used for single keys #}

View File

@ -7,6 +7,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% import "macros.j2" as macros with context %}
{{ macros.enable_extra_repos(['haproxy']) }}
{{ macros.configure_user(name='haproxy') }}
{% set haproxy_packages = [

View File

@ -9,6 +9,7 @@ centos:
extras: "extras"
grafana: "grafana"
hacluster: "ha"
haproxy: "centos-nfv-extras"
influxdb: "influxdb"
kibana: "elasticsearch-kibana-logstash-7.x"
libvirt: "centos-advanced-virtualization"
@ -28,6 +29,7 @@ centos-aarch64:
extras: "extras"
grafana: "grafana"
hacluster: "ha"
haproxy: "centos-nfv-extras"
kibana: "elasticsearch-kibana-logstash-7.x"
libvirt: "centos-advanced-virtualization"
logstash: "elasticsearch-kibana-logstash-7.x"
@ -139,6 +141,11 @@ ubuntu:
suite: "stable"
component: "main"
gpg_key: "grafana.asc"
haproxy:
url: "http://ppa.launchpad.net/vbernat/haproxy-2.2/ubuntu"
suite: "focal"
component: "main"
gpg_key: "haproxy.gpg"
influxdb:
url: "https://repos.influxdata.com/ubuntu"
suite: "focal"
@ -186,6 +193,11 @@ ubuntu-aarch64:
suite: "stable"
component: "main"
gpg_key: "grafana.asc"
haproxy:
url: "http://ppa.launchpad.net/vbernat/haproxy-2.2/ubuntu"
suite: "focal"
component: "main"
gpg_key: "haproxy.gpg"
influxdb:
url: "https://repos.influxdata.com/ubuntu"
suite: "focal"

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
``haproxy`` packages have been upgraded to 2.2.