File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ blocks:
1010      jobs :
1111        - name : Execute chart-releaser 
1212          commands :
13-             - checkout 
13+             - git clone $SEMAPHORE_GIT_URL $SEMAPHORE_GIT_DIR 
14+             - cd $SEMAPHORE_GIT_DIR 
1415            - make cr.install 
1516            - make helm.package 
1617            - make helm.upload 
Original file line number Diff line number Diff line change 1- PKG_LOCAL_DIR =.pkg
21GIT_REPO_OWNER =renderedtext
32GIT_REPO =helm-charts
43
54helm.package :
6- 	helm  package charts/*  -d  $( PKG_LOCAL_DIR ) 
5+ 	cr  package charts/* 
76
87helm.lint :
98	helm lint charts/* 
@@ -12,19 +11,17 @@ helm.upload:
1211	cr upload \ 
1312		--owner $(GIT_REPO_OWNER )  \ 
1413		--git-repo $(GIT_REPO )  \ 
15- 		--package-path $(PKG_LOCAL_DIR )  \ 
1614		--token $$ GITHUB_TOKEN \ 
17- 		--packages-with-index \ 
18- 		--skip-existing \ 
19- 		--push
15+ 		--skip-existing
2016
2117helm.index :
18+ 	git config --global user.email " $$ GIT_USER_EMAIL" 
19+ 	git config --global user.name " $$ GIT_USER_NAME" 
20+ 	git remote set-url origin https://github.com/$(GIT_REPO_OWNER ) /$(GIT_REPO ) 
2221	cr index \ 
2322		--owner $(GIT_REPO_OWNER )  \ 
2423		--git-repo $(GIT_REPO )  \ 
25- 		--package-path $(PKG_LOCAL_DIR )  \ 
2624		--token $$ GITHUB_TOKEN \ 
27- 		--packages-with-index \ 
2825		--index-path .  \ 
2926		--push
3027
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments