Skip to content

Commit

Permalink
Fix rabbitmq builds after move to Cloudsmith mirror (#1301)
Browse files Browse the repository at this point in the history
* Add sed for multiline baseurl in yum repos

* use new Rabbitmq Cloudsmith repos

* use rabbitmq built from Cloudsmith repo
  • Loading branch information
bbezak committed Sep 26, 2024
1 parent 986657d commit a529737
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions etc/kayobe/kolla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ kolla_build_blocks:
{% for repo in base_centos_repo_overrides_post_yum_list %}
sed -i -e '/\[{{ repo.tag }}\]/,/^\[/ s/^\(mirrorlist *=.*\)/#\1/g' \
-e '/\[{{ repo.tag }}\]/,/^\[/ s/^[# ]*\(baseurl *=.*\)/#\1/g' \
-e '/\[{{ repo.tag }}\]/,/^\[/ s/^[ \t]*\(https.*\)/#\1/g' \
-e '/\[{{ repo.tag }}\]/,/^\[/ s/^[# ]*\(metalink *=.*\)/#\1/g' \
-e '/\[{{ repo.tag }}\]/,/^\[/ s|^\(name.*\)|\1\nbaseurl={{ repo.url }}|' /etc/yum.repos.d/{{ repo.file }}{% if not loop.last %} &&{% endif %} \
{% endfor %}
Expand Down
4 changes: 2 additions & 2 deletions etc/kayobe/pulp-repo-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ stackhpc_pulp_repo_epel_9_version: 20240902T080424
stackhpc_pulp_repo_grafana_version: 20240902T080424
stackhpc_pulp_repo_opensearch_2_x_version: 20240807T235120
stackhpc_pulp_repo_opensearch_dashboards_2_x_version: 20240807T235120
stackhpc_pulp_repo_rhel9_rabbitmq_erlang_version: 20240711T091318
stackhpc_pulp_repo_rhel9_rabbitmq_server_version: 20240829T093746
stackhpc_pulp_repo_rhel9_rabbitmq_erlang_version: 20240925T093206
stackhpc_pulp_repo_rhel9_rabbitmq_server_version: 20240925T111913
stackhpc_pulp_repo_rhel_9_influxdb_version: 20240817T001913
stackhpc_pulp_repo_rhel_9_mariadb_10_11_version: 20240810T001640
stackhpc_pulp_repo_rhel_9_rabbitmq_erlang_version: 20240711T091318
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/stackhpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ stackhpc_repo_rhel9_rabbitmq_erlang_url: "{{ stackhpc_repo_mirror_url }}/pulp/co
stackhpc_repo_rhel9_rabbitmq_erlang_version: "{{ stackhpc_repo_distribution }}"

# RabbitMQ for RHEL 9
stackhpc_repo_rhel9_rabbitmq_server_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/rabbitmq/rabbitmq-server/el/9/x86_64/{{ stackhpc_repo_rhel9_rabbitmq_server_version }}"
stackhpc_repo_rhel9_rabbitmq_server_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/rabbitmq/rabbitmq-server/el/9/noarch/{{ stackhpc_repo_rhel9_rabbitmq_server_version }}"
stackhpc_repo_rhel9_rabbitmq_server_version: "{{ stackhpc_repo_distribution }}"

# CentOS Stream 9 - NFV OpenvSwitch
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
upgrade:
- |
RabbitMQ and Erlang packages are now all installed from the Cloudsmith
``rabbitmq.com`` mirrors since the RabbitMQ ``packagecloud.io`` is getting
shut down August 18st, 2024:
https://www.rabbitmq.com/blog/2024/08/11/package-repository-updates#packagecloud-will-be-discontinued-on-aug-18th-2024

0 comments on commit a529737

Please sign in to comment.