Skip to content

Commit

Permalink
Merge pull request #332 from stackhpc/upstream/2023.1-2024-08-19
Browse files Browse the repository at this point in the history
Synchronise 2023.1 with upstream
  • Loading branch information
markgoddard authored Aug 19, 2024
2 parents 996c396 + 18c1d8b commit c6af9eb
Show file tree
Hide file tree
Showing 25 changed files with 92 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docker/kolla-toolbox/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{{ macros.configure_user(name='ansible') }}
{{ macros.configure_user(name='rabbitmq') }}

{{ macros.enable_extra_repos(['crb', 'erlang', 'openvswitch', 'rabbitmq']) }}
{{ macros.enable_extra_repos(['crb', 'erlang', 'erlang-25', 'openvswitch', 'rabbitmq']) }}

{% block rabbitmq_apt_preferences %}
{% if base_package_type == 'deb' %}
Expand Down
2 changes: 1 addition & 1 deletion docker/kolla-toolbox/apt_preferences_rabbitmq.debian
2 changes: 1 addition & 1 deletion docker/kolla-toolbox/apt_preferences_rabbitmq.ubuntu
1 change: 1 addition & 0 deletions docker/rabbitmq/rabbitmq-3-12/Dockerfile.j2
7 changes: 7 additions & 0 deletions docker/rabbitmq/rabbitmq-3-12/apt_preferences_rabbitmq.debian
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Package: rabbitmq-server
Pin: version 3.12.*
Pin-Priority: 1000

Package: erlang*
Pin: version 1:26.*
Pin-Priority: 1000
7 changes: 7 additions & 0 deletions docker/rabbitmq/rabbitmq-3-12/apt_preferences_rabbitmq.ubuntu
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Package: rabbitmq-server
Pin: version 3.12.*
Pin-Priority: 1000

Package: erlang*
Pin: version 1:26.*
Pin-Priority: 1000
1 change: 1 addition & 0 deletions docker/rabbitmq/rabbitmq-3-12/extend_start.sh
1 change: 1 addition & 0 deletions docker/rabbitmq/rabbitmq-3-12/healthcheck_rabbitmq
4 changes: 4 additions & 0 deletions docker/rabbitmq/rabbitmq-3-12/rabbitmq_packages_rpm.centos
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% set rabbitmq_packages = [
'erlang-26.*',
'rabbitmq-server-3.12.*'
] %}
4 changes: 4 additions & 0 deletions docker/rabbitmq/rabbitmq-3-12/rabbitmq_packages_rpm.rocky
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% set rabbitmq_packages = [
'erlang-26.*',
'rabbitmq-server-3.12.*'
] %}
1 change: 1 addition & 0 deletions docker/rabbitmq/rabbitmq-3-13/Dockerfile.j2
7 changes: 7 additions & 0 deletions docker/rabbitmq/rabbitmq-3-13/apt_preferences_rabbitmq.debian
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Package: rabbitmq-server
Pin: version 3.13.*
Pin-Priority: 1000

Package: erlang*
Pin: version 1:26.2.*
Pin-Priority: 1000
7 changes: 7 additions & 0 deletions docker/rabbitmq/rabbitmq-3-13/apt_preferences_rabbitmq.ubuntu
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Package: rabbitmq-server
Pin: version 3.13.*
Pin-Priority: 1000

Package: erlang*
Pin: version 1:26.2.*
Pin-Priority: 1000
1 change: 1 addition & 0 deletions docker/rabbitmq/rabbitmq-3-13/extend_start.sh
1 change: 1 addition & 0 deletions docker/rabbitmq/rabbitmq-3-13/healthcheck_rabbitmq
4 changes: 4 additions & 0 deletions docker/rabbitmq/rabbitmq-3-13/rabbitmq_packages_rpm.centos
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% set rabbitmq_packages = [
'erlang-26.2.*',
'rabbitmq-server-3.13.*'
] %}
4 changes: 4 additions & 0 deletions docker/rabbitmq/rabbitmq-3-13/rabbitmq_packages_rpm.rocky
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% set rabbitmq_packages = [
'erlang-26.2.*',
'rabbitmq-server-3.13.*'
] %}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build

{{ macros.configure_user(name='rabbitmq') }}

{{ macros.enable_extra_repos(['crb', 'erlang', 'rabbitmq']) }}
{{ macros.enable_extra_repos(['crb', 'erlang', 'erlang-25', 'erlang-26', 'rabbitmq']) }}

{% block rabbitmq_apt_preferences %}
{% if base_package_type == 'deb' %}
Expand All @@ -20,10 +20,8 @@ COPY apt_preferences_rabbitmq.{{ base_distro }} /etc/apt/preferences.d/rabbitmq
{% block rabbitmq_install %}
{% if base_package_type == 'rpm' %}

{% set rabbitmq_packages = [
'erlang-25.*',
'rabbitmq-server-3.11.*'
] %}
{% set filepath = "rabbitmq/" + image_name + "/rabbitmq_packages_rpm." + base_distro %}
{% from filepath import rabbitmq_packages %}

{% elif base_package_type == 'deb' %}
{% set rabbitmq_packages = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ Package: rabbitmq-server
Pin: version 3.11.*
Pin-Priority: 1000

Package: erlang
Pin: version 25.*
Package: erlang*
Pin: version 1:25.*
Pin-Priority: 1000
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ Package: rabbitmq-server
Pin: version 3.11.*
Pin-Priority: 1000

Package: erlang
Pin: version 25.*
Package: erlang*
Pin: version 1:25.*
Pin-Priority: 1000
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions docker/rabbitmq/rabbitmq/rabbitmq_packages_rpm.centos
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% set rabbitmq_packages = [
'erlang-25.*',
'rabbitmq-server-3.11.*'
] %}
4 changes: 4 additions & 0 deletions docker/rabbitmq/rabbitmq/rabbitmq_packages_rpm.rocky
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% set rabbitmq_packages = [
'erlang-25.*',
'rabbitmq-server-3.11.*'
] %}
28 changes: 24 additions & 4 deletions kolla/template/repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,16 @@ centos-aarch64:
td-agent: "treasuredata"

debian:
erlang:
erlang-25:
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang-25/ubuntu"
suite: "focal"
component: "main"
gpg_key: "erlang-ppa.gpg"
erlang-26:
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu"
suite: "focal"
component: "main"
gpg_key: "erlang-ppa.gpg"
grafana:
url: "https://apt.grafana.com"
suite: "stable"
Expand Down Expand Up @@ -83,11 +88,16 @@ debian:
gpg_key: "treasuredata.asc"

debian-aarch64:
erlang:
erlang-25:
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang-25/ubuntu"
suite: "focal"
component: "main"
gpg_key: "erlang-ppa.gpg"
erlang-26:
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu"
suite: "focal"
component: "main"
gpg_key: "erlang-ppa.gpg"
grafana:
url: "https://apt.grafana.com"
suite: "stable"
Expand Down Expand Up @@ -167,11 +177,16 @@ rocky-aarch64:
td-agent: "treasuredata"

ubuntu:
erlang:
erlang-25:
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang-25/ubuntu"
suite: "jammy"
component: "main"
gpg_key: "erlang-ppa.gpg"
erlang-26:
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu"
suite: "jammy"
component: "main"
gpg_key: "erlang-ppa.gpg"
grafana:
url: "https://apt.grafana.com"
suite: "stable"
Expand Down Expand Up @@ -214,11 +229,16 @@ ubuntu:
gpg_key: "treasuredata.asc"

ubuntu-aarch64:
erlang:
erlang-25:
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang-25/ubuntu"
suite: "jammy"
component: "main"
gpg_key: "erlang-ppa.gpg"
erlang-26:
url: "https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu"
suite: "jammy"
component: "main"
gpg_key: "erlang-ppa.gpg"
grafana:
url: "https://apt.grafana.com"
suite: "stable"
Expand Down

0 comments on commit c6af9eb

Please sign in to comment.