mirror of
				https://github.com/optim-enterprises-bv/openstack-helm.git
				synced 2025-10-30 17:57:54 +00:00 
			
		
		
		
	chore(make): updates Makefile
This patch set updates the Makefile to use a helm variable so it has parity with OpenStack-Helm-Infra repository. Change-Id: I6cdd599320103349d2fd2486670859a6ef970886 Signed-off-by: Tin Lam <tin@irrational.io>
This commit is contained in:
		
							
								
								
									
										7
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								Makefile
									
									
									
									
									
								
							| @@ -12,6 +12,7 @@ | |||||||
|  |  | ||||||
| # It's necessary to set this because some environments don't link sh -> bash. | # It's necessary to set this because some environments don't link sh -> bash. | ||||||
| SHELL := /bin/bash | SHELL := /bin/bash | ||||||
|  | HELM  := helm | ||||||
| TASK  := build | TASK  := build | ||||||
|  |  | ||||||
| EXCLUDES := helm-toolkit doc tests tools logs tmp zuul.d releasenotes | EXCLUDES := helm-toolkit doc tests tools logs tmp zuul.d releasenotes | ||||||
| @@ -30,13 +31,13 @@ $(CHARTS): | |||||||
|  |  | ||||||
| init-%: | init-%: | ||||||
| 	if [ -f $*/Makefile ]; then make -C $*; fi | 	if [ -f $*/Makefile ]; then make -C $*; fi | ||||||
| 	if [ -f $*/requirements.yaml ]; then helm dep up $*; fi | 	if [ -f $*/requirements.yaml ]; then $(HELM) dep up $*; fi | ||||||
|  |  | ||||||
| lint-%: init-% | lint-%: init-% | ||||||
| 	if [ -d $* ]; then helm lint $*; fi | 	if [ -d $* ]; then $(HELM) lint $*; fi | ||||||
|  |  | ||||||
| build-%: lint-% | build-%: lint-% | ||||||
| 	if [ -d $* ]; then helm package $*; fi | 	if [ -d $* ]; then $(HELM) package $*; fi | ||||||
|  |  | ||||||
| # This is used exclusively with helm3 building in the gate to publish | # This is used exclusively with helm3 building in the gate to publish | ||||||
| package-%: init-% | package-%: init-% | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Tin Lam
					Tin Lam