Switch to GitLab hosted helm chart repo
Update charts
This commit is contained in:
parent
95f1d26d94
commit
588d44e80c
|
@ -1,22 +1,26 @@
|
|||
image:
|
||||
name: alpine/helm:3.6.3
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
stages:
|
||||
- build
|
||||
- upload
|
||||
|
||||
lint:
|
||||
stage: test
|
||||
build:
|
||||
image:
|
||||
name: alpine/helm
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
stage: build
|
||||
script:
|
||||
- helm lint
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- mkdir public
|
||||
- helm package .
|
||||
- helm repo index --url https://${CI_PROJECT_NAMESPACE}.gitlab.io/${CI_PROJECT_NAME} .
|
||||
- mv index.yaml django-*.tgz ./public
|
||||
- helm package -d chart .
|
||||
- mv chart/django*.tgz chart/django.tgz
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
- chart
|
||||
|
||||
upload:
|
||||
image: curlimages/curl:latest
|
||||
stage: upload
|
||||
dependencies:
|
||||
- build
|
||||
script:
|
||||
- 'curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@chart/django.tgz" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"'
|
||||
only:
|
||||
- master
|
||||
- tags
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
dependencies:
|
||||
- name: postgresql
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 10.4.10
|
||||
version: 11.6.6
|
||||
- name: redis
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 14.3.4
|
||||
digest: sha256:5dede7dce0a8027869f821ccf0b380108875968e0ec62761e4aa967afd8c853a
|
||||
generated: "2021-07-10T14:42:20.489083888-04:00"
|
||||
version: 16.12.2
|
||||
digest: sha256:2d69e862253eac627fc5d2c2f17b3d56b22f605d2dae33cd3719faf414f98b50
|
||||
generated: "2022-06-16T16:23:19.85041101-04:00"
|
||||
|
|
|
@ -22,10 +22,10 @@ appVersion: 1.0.0
|
|||
|
||||
dependencies:
|
||||
- name: postgresql
|
||||
version: ~10.4.8
|
||||
version: ~11.6.6
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
condition: postgresql.enabled
|
||||
- name: redis
|
||||
version: ~14.3.3
|
||||
version: ~16.12.2
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
condition: redis.enabled
|
||||
|
|
Binary file not shown.
BIN
charts/postgresql-11.6.6.tgz
Normal file
BIN
charts/postgresql-11.6.6.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
charts/redis-16.12.2.tgz
Normal file
BIN
charts/redis-16.12.2.tgz
Normal file
Binary file not shown.
Loading…
Reference in a new issue