Merge pull request #28 from theseal/only-update-db-when-needed

Only update the database when needed
This commit is contained in:
Micke Nordin 2023-01-30 11:30:21 +01:00 committed by GitHub
commit 64c12216bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,9 @@ cosmos:
upgrade:
fab upgrade
db:
db: global/overlay/etc/puppet/cosmos-db.yaml
global/overlay/etc/puppet/cosmos-db.yaml: global/overlay/etc/puppet/cosmos-rules.yaml:
@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