Switch to GitLab hosted helm chart repo
Update charts
This commit is contained in:
		
							parent
							
								
									95f1d26d94
								
							
						
					
					
						commit
						588d44e80c
					
				
					 7 changed files with 25 additions and 21 deletions
				
			
		| 
						 | 
					@ -1,22 +1,26 @@
 | 
				
			||||||
image:
 | 
					stages:
 | 
				
			||||||
  name: alpine/helm:3.6.3
 | 
					  - build
 | 
				
			||||||
  entrypoint: ["/bin/sh", "-c"]
 | 
					  - upload
 | 
				
			||||||
 | 
					
 | 
				
			||||||
lint:
 | 
					build:
 | 
				
			||||||
  stage: test
 | 
					  image:
 | 
				
			||||||
 | 
					    name: alpine/helm
 | 
				
			||||||
 | 
					    entrypoint: ["/bin/sh", "-c"]
 | 
				
			||||||
 | 
					  stage: build
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - helm lint
 | 
					    - helm lint
 | 
				
			||||||
 | 
					    - helm package -d chart .
 | 
				
			||||||
pages:
 | 
					    - mv chart/django*.tgz chart/django.tgz
 | 
				
			||||||
  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
 | 
					 | 
				
			||||||
  artifacts:
 | 
					  artifacts:
 | 
				
			||||||
    paths:
 | 
					    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:
 | 
					  only:
 | 
				
			||||||
    - master
 | 
					 | 
				
			||||||
    - tags
 | 
					    - tags
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,9 +1,9 @@
 | 
				
			||||||
dependencies:
 | 
					dependencies:
 | 
				
			||||||
- name: postgresql
 | 
					- name: postgresql
 | 
				
			||||||
  repository: https://charts.bitnami.com/bitnami
 | 
					  repository: https://charts.bitnami.com/bitnami
 | 
				
			||||||
  version: 10.4.10
 | 
					  version: 11.6.6
 | 
				
			||||||
- name: redis
 | 
					- name: redis
 | 
				
			||||||
  repository: https://charts.bitnami.com/bitnami
 | 
					  repository: https://charts.bitnami.com/bitnami
 | 
				
			||||||
  version: 14.3.4
 | 
					  version: 16.12.2
 | 
				
			||||||
digest: sha256:5dede7dce0a8027869f821ccf0b380108875968e0ec62761e4aa967afd8c853a
 | 
					digest: sha256:2d69e862253eac627fc5d2c2f17b3d56b22f605d2dae33cd3719faf414f98b50
 | 
				
			||||||
generated: "2021-07-10T14:42:20.489083888-04:00"
 | 
					generated: "2022-06-16T16:23:19.85041101-04:00"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,10 +22,10 @@ appVersion: 1.0.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
dependencies:
 | 
					dependencies:
 | 
				
			||||||
  - name: postgresql
 | 
					  - name: postgresql
 | 
				
			||||||
    version: ~10.4.8
 | 
					    version: ~11.6.6
 | 
				
			||||||
    repository: https://charts.bitnami.com/bitnami
 | 
					    repository: https://charts.bitnami.com/bitnami
 | 
				
			||||||
    condition: postgresql.enabled
 | 
					    condition: postgresql.enabled
 | 
				
			||||||
  - name: redis
 | 
					  - name: redis
 | 
				
			||||||
    version: ~14.3.3
 | 
					    version: ~16.12.2
 | 
				
			||||||
    repository: https://charts.bitnami.com/bitnami
 | 
					    repository: https://charts.bitnami.com/bitnami
 | 
				
			||||||
    condition: redis.enabled
 | 
					    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.
										
									
								
							
		Reference in a new issue