Only output length if using it
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			Closes https://git.autonomic.zone/coop-cloud/abra/issues/67.
This commit is contained in:
		| @ -1,5 +1,6 @@ | |||||||
| # abra x.x.x (UNRELEASED) | # abra x.x.x (UNRELEASED) | ||||||
|  |  | ||||||
|  | - Avoid outputting length during secret generation when not in use ([#67](https://git.autonomic.zone/coop-cloud/abra/issues/67)) | ||||||
| - Support graceful failure when missing secret generation commands ([44d3ac3a1cb86edc9b9e91eea1a00e70eae14965](https://git.autonomic.zone/coop-cloud/abra/commit/44d3ac3a1cb86edc9b9e91eea1a00e70eae14965)) | - Support graceful failure when missing secret generation commands ([44d3ac3a1cb86edc9b9e91eea1a00e70eae14965](https://git.autonomic.zone/coop-cloud/abra/commit/44d3ac3a1cb86edc9b9e91eea1a00e70eae14965)) | ||||||
| - Fix secret detection when using new `.env` file format in apps ([55324524ca77141666ffe6cc41b62cc71cf89ace](https://git.autonomic.zone/coop-cloud/abra/commit/55324524ca77141666ffe6cc41b62cc71cf89ace)) | - Fix secret detection when using new `.env` file format in apps ([55324524ca77141666ffe6cc41b62cc71cf89ace](https://git.autonomic.zone/coop-cloud/abra/commit/55324524ca77141666ffe6cc41b62cc71cf89ace)) | ||||||
| - Support choosing an `$EDITOR` when editing configs ([29cc392dff3e93e48e0e2edd3ce11b405c66a95a](https://git.autonomic.zone/coop-cloud/abra/commit/29cc392dff3e93e48e0e2edd3ce11b405c66a95a)) | - Support choosing an `$EDITOR` when editing configs ([29cc392dff3e93e48e0e2edd3ce11b405c66a95a](https://git.autonomic.zone/coop-cloud/abra/commit/29cc392dff3e93e48e0e2edd3ce11b405c66a95a)) | ||||||
|  | |||||||
							
								
								
									
										5
									
								
								abra
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								abra
									
									
									
									
									
								
							| @ -459,7 +459,12 @@ parse_secret() { | |||||||
|  |  | ||||||
|   abra__version_="$(echo "$SECRET" | sed -n 's/.*\(v[0-9]\).*/\1/p')" |   abra__version_="$(echo "$SECRET" | sed -n 's/.*\(v[0-9]\).*/\1/p')" | ||||||
|  |  | ||||||
|  |   if [[ "$SECRET" == *"length"* ]]; then | ||||||
|     echo "Generating $abra__secret_, version: $abra__version_, length: $abra__length_" |     echo "Generating $abra__secret_, version: $abra__version_, length: $abra__length_" | ||||||
|  |   else | ||||||
|  |     echo "Generating $abra__secret_, version: $abra__version_" | ||||||
|  |   fi | ||||||
|  |  | ||||||
|   sub_app_secret_generate |   sub_app_secret_generate | ||||||
| } | } | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user