Skip to content

Commit 2bb5f07

Browse files
authored
Merge pull request #166 from puppetlabs/P4DEVOPS-7373
(P4DEVOPS-7373) Use artifactory instead of bitnami repos
2 parents c2e0431 + 113ffd9 commit 2bb5f07

File tree

7 files changed

+29
-8
lines changed

7 files changed

+29
-8
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v3
1818

19+
- name: Activate twingate to access artifactory
20+
uses: twingate/github-action@main
21+
with:
22+
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
23+
1924
- name: Get New Chart Version
2025
id: nv
2126
run: |

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
clean: true
1616
fetch-depth: 0
1717

18+
- name: Activate twingate to access artifactory
19+
uses: twingate/github-action@main
20+
with:
21+
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
22+
1823
- uses: azure/setup-helm@v3
1924

2025
- uses: actions/setup-python@v4
@@ -25,4 +30,4 @@ jobs:
2530
uses: helm/chart-testing-action@v2
2631

2732
- name: Run chart-testing (lint)
28-
run: ct lint --chart-dirs helm-charts --all --validate-maintainers=false --chart-repos bitnami=https://charts.bitnami.com/bitnami
33+
run: ct lint --chart-dirs helm-charts --all --validate-maintainers=false --chart-repos artifactory=https://artifactory.delivery.puppetlabs.net/artifactory/helm__local

helm-charts/vmpooler/Chart.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: redis
3-
repository: https://charts.bitnami.com/bitnami
3+
repository: https://artifactory.delivery.puppetlabs.net/artifactory/helm__local
44
version: 16.13.2
5-
digest: sha256:3a3d3cfce254ddfa488e495a3e2e141ee59c0ea4a583ba813093def78ca132cb
6-
generated: "2023-01-24T12:41:13.082268468Z"
5+
digest: sha256:9f085fa04b66dea3610b03474b3eb2e2fd09733c4c6cbbda15a152770a9169b0
6+
generated: "2025-07-31T09:10:07.046655-07:00"

helm-charts/vmpooler/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: vmpooler
33
description: A Helm chart to deploy vmpooler
44
type: application
55
icon: https://github.com/puppetlabs/vmpooler/raw/master/lib/vmpooler/public/img/logo.png
6-
version: 3.9.0
6+
version: 3.9.1
77
appVersion: 5.7.0
88
dependencies:
99
- name: redis
10-
repository: https://charts.bitnami.com/bitnami
10+
repository: https://artifactory.delivery.puppetlabs.net/artifactory/helm__local
1111
version: 16.13.2

helm-charts/vmpooler/values.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,12 @@ affinity: {}
130130
# Redis provided by bitnami/redis
131131
# For a full list of parameters see: https://github.com/bitnami/charts/tree/master/bitnami/redis/
132132
redis:
133+
# Override the Redis image
134+
image:
135+
registry: artifactory.delivery.puppetlabs.net
136+
repository: release-engineering/redis
137+
tag: "6.2.7-debian-11-r11"
138+
pullPolicy: IfNotPresent
133139
fullnameOverride: redis
134140
architecture: standalone
135141
networkPolicy:
@@ -164,6 +170,11 @@ redis:
164170
- -c
165171
- echo "AUTH $REDIS_PASSWORD\nBGREWRITEAOF" | redis-cli
166172
metrics:
173+
image:
174+
registry: artifactory.delivery.puppetlabs.net
175+
repository: release-engineering/redis-exporter
176+
tag: "1.43.0-debian-11-r4"
177+
pullPolicy: IfNotPresent
167178
enabled: true
168179
resources:
169180
requests:

helm-package

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44
set -x
55

6-
helm repo add bitnami https://charts.bitnami.com/bitnami
6+
helm repo add artifactory https://artifactory.delivery.puppetlabs.net/artifactory/helm__local
77
cd /apps/helm-charts/vmpooler
88
helm dependency update
99
cd /apps/docs

update-chart-lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
22

33
docker run --rm -it -v $(pwd):/apps --entrypoint /bin/sh alpine/helm \
4-
-c 'helm repo add bitnami https://charts.bitnami.com/bitnami && cd /apps/helm-charts/vmpooler && helm dependency update'
4+
-c 'helm repo add artifactory https://artifactory.delivery.puppetlabs.net/artifactory/helm__local && cd /apps/helm-charts/vmpooler && helm dependency update'

0 commit comments

Comments
 (0)