parent
49226f1640
commit
7e31184bd6
@ -8,6 +8,7 @@
|
|||||||
- Allow to debug the SSH connection details on swarm init ([#109](https://git.autonomic.zone/coop-cloud/abra/issues/109))
|
- Allow to debug the SSH connection details on swarm init ([#109](https://git.autonomic.zone/coop-cloud/abra/issues/109))
|
||||||
- Show correct status for apps deployed on servers with missing context ([#99](https://git.autonomic.zone/coop-cloud/abra/issues/99))
|
- Show correct status for apps deployed on servers with missing context ([#99](https://git.autonomic.zone/coop-cloud/abra/issues/99))
|
||||||
- Search for subcommands in descending order of how many components there are ([#108](https://git.autonomic.zone/coop-cloud/abra/issues/108))
|
- Search for subcommands in descending order of how many components there are ([#108](https://git.autonomic.zone/coop-cloud/abra/issues/108))
|
||||||
|
- Add specific app version checking command (`abra app <app> version`) ([#108](https://git.autonomic.zone/coop-cloud/abra/issues/108))
|
||||||
|
|
||||||
# abra 0.6.0 (2021-03-17)
|
# abra 0.6.0 (2021-03-17)
|
||||||
|
|
||||||
|
19
abra
19
abra
@ -561,6 +561,11 @@ output_version_summary() {
|
|||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [[ -n "$IS_VERSION_CHECK" ]] && [[ "$IS_VERSION_CHECK" == "true" ]]; then
|
||||||
|
debug "Detected version check (without deploy), bailing out..."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $IS_AN_UPDATE == "true" ]] && [[ $FORCE_DEPLOY != "true" ]]; then
|
if [[ $IS_AN_UPDATE == "true" ]] && [[ $FORCE_DEPLOY != "true" ]]; then
|
||||||
require_consent_for_update
|
require_consent_for_update
|
||||||
else
|
else
|
||||||
@ -1142,9 +1147,19 @@ sub_app_config (){
|
|||||||
}
|
}
|
||||||
|
|
||||||
###### .. app version
|
###### .. app version
|
||||||
|
help_app_version (){
|
||||||
|
echo "abra [options] app <app> version
|
||||||
|
|
||||||
|
Show versions of the app that are currently deployed"
|
||||||
|
}
|
||||||
|
|
||||||
sub_app_version (){
|
sub_app_version (){
|
||||||
# shellcheck disable=SC2016
|
require_yq
|
||||||
echo '`abra app <app> version` command working correctly!'
|
|
||||||
|
IS_VERSION_CHECK="true"
|
||||||
|
|
||||||
|
echo "Version overview:"
|
||||||
|
output_version_summary
|
||||||
}
|
}
|
||||||
|
|
||||||
###### .. app check
|
###### .. app check
|
||||||
|
Loading…
Reference in New Issue
Block a user