Skip to content

Commit 02ee389

Browse files
committed
replace bitnami with bitnamilegacy
1 parent c730afe commit 02ee389

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

Makefile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
.PHONY: setup_helm_repos
22
setup_helm_repos:
3-
helm repo add bitnami-pre-2022 https://raw.githubusercontent.com/bitnami/charts/defb094c658024e4aa8245622dab202874880cbc/bitnami # Github tag before bitnami truncated the index. Old link didn't work anymore
3+
# Add legacy Bitnami snapshot repo used by requirements.yaml (apiVersion v1)
44
helm repo add stable https://charts.helm.sh/stable
55
helm repo add codacy-stable https://charts.codacy.com/stable
66
helm repo add codacy-unstable https://charts.codacy.com/unstable
77
helm repo add codacy-incubator https://charts.codacy.com/incubator
88
helm repo add codacy-external https://charts.codacy.com/external
99
helm repo update
10+
# Upgrade/install with RabbitMQ legacy image override
11+
helm upgrade --install codacy codacy/ \
12+
-f codacy/values-production.yaml \
13+
--set rabbitmq-ha.image.registry=docker.io \
14+
--set rabbitmq-ha.image.repository=bitnamilegacy/rabbitmq \
15+
--set rabbitmq-ha.image.tag=3.8.5
1016

1117
.PHONY: create_version_file
1218
create_version_file:
@@ -53,3 +59,6 @@ get_release_notes:
5359
git fetch --all --tags --force
5460
# Generate release notes and create pull request on codacy/docs
5561
release-notes-tools/run.sh selfhosted ${VERSION_NEW} ${VERSION_OLD} --push
62+
63+
64+

codacy/requirements.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ dependencies:
55
condition: global.minio.create
66
alias: minio
77

8-
# Github tag before bitnami truncated the index. Old link didn't work anymore
8+
# Use legacy Bitnami charts index snapshot (HTTP repo) for Helm v1 chart
99
- name: rabbitmq
10-
version: 7.5.7
10+
version: 7.8.0
1111
repository: https://raw.githubusercontent.com/bitnami/charts/defb094c658024e4aa8245622dab202874880cbc/bitnami
1212
condition: global.rabbitmq.create
1313
alias: rabbitmq-ha

codacy/values-microk8s.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ crow:
5555

5656
rabbitmq-ha:
5757
replicaCount: 1
58+
image:
59+
registry: docker.io
60+
repository: bitnamilegacy/rabbitmq
61+
tag: 3.8.5
5862
resources:
5963
limits:
6064
cpu: 0.5

codacy/values-production.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,10 @@ codacy-spa:
313313

314314
rabbitmq-ha:
315315
replicaCount: 1
316+
image:
317+
registry: docker.io
318+
repository: bitnamilegacy/rabbitmq
319+
tag: 3.8.5
316320
rabbitmqErlangCookie: <--- erlang-cookie ---> # Generate one with `openssl rand -base64 32 | tr -dc 'a-zA-Z0-9'`
317321
persistentVolume:
318322
enabled: true

0 commit comments

Comments
 (0)