ministryofjustice / cotton

Project independent shared fabric extensions to bootstrap first VM and manage configuration within team
3 stars 2 forks source link

silent shaker update #23

Open munhitsu opened 10 years ago

munhitsu commented 10 years ago

shaker is silently updating formulas versions when git repo is up to date but all is needed is to checkout a different baseline

See sense formula below:

(pvb-deploy)Mateuszs-MacBook-Pro:pvb-deploy mlmalawski$ fab check
[localhost] local: for d in vendor/formula-repos/*; do (export GIT_DIR=$d/.git; git fetch --tags -q 2>/dev/null; echo -n "$d: "; latest_tag=$(git describe --tags $(git rev-list --tags --max-count=1 2>/dev/null) 2>/dev/null || echo "no tags"); current=$(git describe --tags 2>/dev/null || echo "no tags"); echo "latest: $latest_tag; current: $current"); done
-n vendor/formula-repos/admins-formula: 
latest: v1.0.1; current: v1.0.1
-n vendor/formula-repos/bootstrap-formula: 
latest: v1.0.1; current: v1.0.1
-n vendor/formula-repos/elasticsearch-formula: 
latest: v1.0.2; current: v1.0.2
-n vendor/formula-repos/firewall-formula: 
latest: v1.1.0; current: v1.1.0
-n vendor/formula-repos/hardening-formula: 
latest: v1.0.3; current: v1.0.3
-n vendor/formula-repos/hosts-formula: 
latest: v2.0.0; current: v2.0.0
-n vendor/formula-repos/java-formula: 
latest: v1.0.0; current: v1.0.0
-n vendor/formula-repos/jenkins-formula: 
latest: v1.0.3; current: v1.0.3
-n vendor/formula-repos/logstash-formula: 
latest: v1.0.6; current: v1.0.6
-n vendor/formula-repos/metrics-formula: 
latest: v1.0.7; current: v1.0.7
-n vendor/formula-repos/monitoring-formula: 
latest: v1.0.1; current: v1.0.1
-n vendor/formula-repos/nginx-formula: 
latest: v1.1.0; current: v1.1.0
-n vendor/formula-repos/ntp-formula: 
latest: v1.0.0; current: v1.0.0
-n vendor/formula-repos/postfix-formula: 
latest: v1.0.0; current: v1.0.0
-n vendor/formula-repos/python-formula: 
latest: v1.0.2; current: v1.0.2
-n vendor/formula-repos/rabbitmq-formula: 
latest: v1.0.2; current: v1.0.2
-n vendor/formula-repos/redis-formula: 
latest: v1.0.0; current: v1.0.0
-n vendor/formula-repos/repos-formula: 
latest: v1.0.01; current: v1.0.01
-n vendor/formula-repos/ruby-formula: 
latest: v1.0.0; current: v1.0.0
-n vendor/formula-repos/sensu-formula: 
latest: v2.1.3; current: v2.1.2
-n vendor/formula-repos/sslloadbalancer-formula: 
latest: v1.0.0; current: v1.0.0
-n vendor/formula-repos/supervisor-formula: 
latest: v1.0.0; current: v1.0.0
-n vendor/formula-repos/utils-formula: 
latest: v1.0.0; current: v1.0.0

Done.
(pvb-deploy)Mateuszs-MacBook-Pro:pvb-deploy mlmalawski$ fab shaker

Done.
(pvb-deploy)Mateuszs-MacBook-Pro:pvb-deploy mlmalawski$ fab shaker

Done.
(pvb-deploy)Mateuszs-MacBook-Pro:pvb-deploy mlmalawski$ fab check
[localhost] local: for d in vendor/formula-repos/*; do (export GIT_DIR=$d/.git; git fetch --tags -q 2>/dev/null; echo -n "$d: "; latest_tag=$(git describe --tags $(git rev-list --tags --max-count=1 2>/dev/null) 2>/dev/null || echo "no tags"); current=$(git describe --tags 2>/dev/null || echo "no tags"); echo "latest: $latest_tag; current: $current"); done
-n vendor/formula-repos/admins-formula: 
latest: v1.0.1; current: v1.0.1
-n vendor/formula-repos/bootstrap-formula: 
latest: v1.0.1; current: v1.0.1
-n vendor/formula-repos/elasticsearch-formula: 
latest: v1.0.2; current: v1.0.2
-n vendor/formula-repos/firewall-formula: 
latest: v1.1.0; current: v1.1.0
-n vendor/formula-repos/hardening-formula: 
latest: v1.0.3; current: v1.0.3
-n vendor/formula-repos/hosts-formula: 
latest: v2.0.0; current: v2.0.0
-n vendor/formula-repos/java-formula: 
latest: v1.0.0; current: v1.0.0
-n vendor/formula-repos/jenkins-formula: 
latest: v1.0.3; current: v1.0.3
-n vendor/formula-repos/logstash-formula: 
latest: v1.0.6; current: v1.0.6
-n vendor/formula-repos/metrics-formula: 
latest: v1.0.7; current: v1.0.7
-n vendor/formula-repos/monitoring-formula: 
latest: v1.0.1; current: v1.0.1
-n vendor/formula-repos/nginx-formula: 
latest: v1.1.0; current: v1.1.0
-n vendor/formula-repos/ntp-formula: 
latest: v1.0.0; current: v1.0.0
-n vendor/formula-repos/postfix-formula: 
latest: v1.0.0; current: v1.0.0
-n vendor/formula-repos/python-formula: 
latest: v1.0.2; current: v1.0.2
-n vendor/formula-repos/rabbitmq-formula: 
latest: v1.0.2; current: v1.0.2
-n vendor/formula-repos/redis-formula: 
latest: v1.0.0; current: v1.0.0
-n vendor/formula-repos/repos-formula: 
latest: v1.0.01; current: v1.0.01
-n vendor/formula-repos/ruby-formula: 
latest: v1.0.0; current: v1.0.0
-n vendor/formula-repos/sensu-formula: 
latest: v2.1.3; current: v2.1.3
-n vendor/formula-repos/sslloadbalancer-formula: 
latest: v1.0.0; current: v1.0.0
-n vendor/formula-repos/supervisor-formula: 
latest: v1.0.0; current: v1.0.0
-n vendor/formula-repos/utils-formula: 
latest: v1.0.0; current: v1.0.0