Add ci for helm chart related to #2
This commit is contained in:
		
							parent
							
								
									2530a30d7d
								
							
						
					
					
						commit
						de8524b6eb
					
				
					 1 changed files with 15 additions and 0 deletions
				
			
		
							
								
								
									
										15
									
								
								.gitlab-ci.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								.gitlab-ci.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,15 @@
 | 
			
		|||
image: alpine/helm:3.2.4
 | 
			
		||||
 | 
			
		||||
pages:
 | 
			
		||||
  stage: deploy
 | 
			
		||||
  script:
 | 
			
		||||
    - mkdir public
 | 
			
		||||
    - helm package . --destination public
 | 
			
		||||
    - helm repo index --url https://${CI_PROJECT_NAMESPACE}.gitlab.io/${CI_PROJECT_NAME} .
 | 
			
		||||
    - mv index.yaml ./public
 | 
			
		||||
  artifacts:
 | 
			
		||||
    paths:
 | 
			
		||||
      - public
 | 
			
		||||
  only:
 | 
			
		||||
    - master
 | 
			
		||||
    - tags
 | 
			
		||||
		Reference in a new issue