15 lines
		
	
	
		
			772 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			772 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
| fetch_forl_local_chart_input_dir="${cases_dir}/fetch-forl-local-chart/input"
 | |
| 
 | |
| fetch_forl_local_chart_tmp=$(mktemp -d)
 | |
| 
 | |
| case_title="fetch for local chart"
 | |
| 
 | |
| test_start "$case_title"
 | |
| 
 | |
| info "Comparing fetch-forl-local-chart diff log #$i"
 | |
| ${helmfile} -f ${fetch_forl_local_chart_input_dir}/helmfile.yaml.gotmpl fetch --output-dir ${fetch_forl_local_chart_tmp} || fail "\"helmfile fetch\" shouldn't fail"
 | |
| cat ${fetch_forl_local_chart_tmp}/helmfile-tests/local-chart/raw/latest/Chart.yaml || fail "Chart.yaml should exist in the fetched local chart directory"
 | |
| cat ${fetch_forl_local_chart_tmp}/helmfile-tests/local-chart/raw/latest/templates/resources.yaml || fail "templates/resources.yaml should exist in the fetched local chart directory"
 | |
| echo code=$?
 | |
| 
 | |
| test_pass "$case_title" |