mirror of
https://github.com/puppetlabs/vmpooler-deployment.git
synced 2026-01-25 19:18:42 -05:00
(P4DEVOPS-7373) Use artifactory instead of bitnami repos
This commit is contained in:
parent
c2e04310aa
commit
113ffd968d
7 changed files with 29 additions and 8 deletions
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
|
@ -16,6 +16,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Activate twingate to access artifactory
|
||||||
|
uses: twingate/github-action@main
|
||||||
|
with:
|
||||||
|
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
|
||||||
|
|
||||||
- name: Get New Chart Version
|
- name: Get New Chart Version
|
||||||
id: nv
|
id: nv
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
|
@ -15,6 +15,11 @@ jobs:
|
||||||
clean: true
|
clean: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Activate twingate to access artifactory
|
||||||
|
uses: twingate/github-action@main
|
||||||
|
with:
|
||||||
|
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
|
||||||
|
|
||||||
- uses: azure/setup-helm@v3
|
- uses: azure/setup-helm@v3
|
||||||
|
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
|
|
@ -25,4 +30,4 @@ jobs:
|
||||||
uses: helm/chart-testing-action@v2
|
uses: helm/chart-testing-action@v2
|
||||||
|
|
||||||
- name: Run chart-testing (lint)
|
- name: Run chart-testing (lint)
|
||||||
run: ct lint --chart-dirs helm-charts --all --validate-maintainers=false --chart-repos bitnami=https://charts.bitnami.com/bitnami
|
run: ct lint --chart-dirs helm-charts --all --validate-maintainers=false --chart-repos artifactory=https://artifactory.delivery.puppetlabs.net/artifactory/helm__local
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: redis
|
- name: redis
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://artifactory.delivery.puppetlabs.net/artifactory/helm__local
|
||||||
version: 16.13.2
|
version: 16.13.2
|
||||||
digest: sha256:3a3d3cfce254ddfa488e495a3e2e141ee59c0ea4a583ba813093def78ca132cb
|
digest: sha256:9f085fa04b66dea3610b03474b3eb2e2fd09733c4c6cbbda15a152770a9169b0
|
||||||
generated: "2023-01-24T12:41:13.082268468Z"
|
generated: "2025-07-31T09:10:07.046655-07:00"
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ name: vmpooler
|
||||||
description: A Helm chart to deploy vmpooler
|
description: A Helm chart to deploy vmpooler
|
||||||
type: application
|
type: application
|
||||||
icon: https://github.com/puppetlabs/vmpooler/raw/master/lib/vmpooler/public/img/logo.png
|
icon: https://github.com/puppetlabs/vmpooler/raw/master/lib/vmpooler/public/img/logo.png
|
||||||
version: 3.9.0
|
version: 3.9.1
|
||||||
appVersion: 5.7.0
|
appVersion: 5.7.0
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: redis
|
- name: redis
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://artifactory.delivery.puppetlabs.net/artifactory/helm__local
|
||||||
version: 16.13.2
|
version: 16.13.2
|
||||||
|
|
|
||||||
|
|
@ -130,6 +130,12 @@ affinity: {}
|
||||||
# Redis provided by bitnami/redis
|
# Redis provided by bitnami/redis
|
||||||
# For a full list of parameters see: https://github.com/bitnami/charts/tree/master/bitnami/redis/
|
# For a full list of parameters see: https://github.com/bitnami/charts/tree/master/bitnami/redis/
|
||||||
redis:
|
redis:
|
||||||
|
# Override the Redis image
|
||||||
|
image:
|
||||||
|
registry: artifactory.delivery.puppetlabs.net
|
||||||
|
repository: release-engineering/redis
|
||||||
|
tag: "6.2.7-debian-11-r11"
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
fullnameOverride: redis
|
fullnameOverride: redis
|
||||||
architecture: standalone
|
architecture: standalone
|
||||||
networkPolicy:
|
networkPolicy:
|
||||||
|
|
@ -164,6 +170,11 @@ redis:
|
||||||
- -c
|
- -c
|
||||||
- echo "AUTH $REDIS_PASSWORD\nBGREWRITEAOF" | redis-cli
|
- echo "AUTH $REDIS_PASSWORD\nBGREWRITEAOF" | redis-cli
|
||||||
metrics:
|
metrics:
|
||||||
|
image:
|
||||||
|
registry: artifactory.delivery.puppetlabs.net
|
||||||
|
repository: release-engineering/redis-exporter
|
||||||
|
tag: "1.43.0-debian-11-r4"
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
enabled: true
|
enabled: true
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
helm repo add bitnami https://charts.bitnami.com/bitnami
|
helm repo add artifactory https://artifactory.delivery.puppetlabs.net/artifactory/helm__local
|
||||||
cd /apps/helm-charts/vmpooler
|
cd /apps/helm-charts/vmpooler
|
||||||
helm dependency update
|
helm dependency update
|
||||||
cd /apps/docs
|
cd /apps/docs
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
docker run --rm -it -v $(pwd):/apps --entrypoint /bin/sh alpine/helm \
|
docker run --rm -it -v $(pwd):/apps --entrypoint /bin/sh alpine/helm \
|
||||||
-c 'helm repo add bitnami https://charts.bitnami.com/bitnami && cd /apps/helm-charts/vmpooler && helm dependency update'
|
-c 'helm repo add artifactory https://artifactory.delivery.puppetlabs.net/artifactory/helm__local && cd /apps/helm-charts/vmpooler && helm dependency update'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue