diff options
author | Leif Johansson <leifj@sunet.se> | 2014-03-12 10:55:01 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2014-03-12 10:55:01 +0100 |
commit | 43e6693322d7253b9212f13a0d77df3ae2fcedda (patch) | |
tree | 9a2c1becf127e91ee2e9c9919482ae75b6e26722 /Makefile | |
parent | 7f8a308beae12dd61c1423a7fd24511d09e31df8 (diff) |
newer makefilesunet-ops-2014-03-12-v01
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -4,9 +4,11 @@ cosmos: upgrade: fab upgrade +DB=global/overlay/etc/puppet/cosmos-db.yaml + db: - @python ./fabfile/db.py > global/overlay/etc/puppet/cosmos-db.yaml - @git add global/overlay/etc/puppet/cosmos-db.yaml && git commit -m "update db" global/overlay/etc/puppet/cosmos-db.yaml + @python ./fabfile/db.py > $(DB) + @git diff --exit-code $(DB) || ( git add $(DB) && git commit -m "update db" $(DB) ) tag: db ./bump-tag |