Merge lp://qastaging/~doanac/uci-engine/restish-db-migrate into lp://qastaging/uci-engine
Proposed by
Andy Doan
Status: | Merged |
---|---|
Approved by: | Andy Doan |
Approved revision: | 575 |
Merged at revision: | 587 |
Proposed branch: | lp://qastaging/~doanac/uci-engine/restish-db-migrate |
Merge into: | lp://qastaging/uci-engine |
Diff against target: |
72 lines (+29/-0) 3 files modified
charms/precise/restish/config.yaml (+4/-0) charms/precise/restish/hooks/hooks.py (+9/-0) charms/precise/restish/unit_tests/test_hooks.py (+16/-0) |
To merge this branch: | bzr merge lp://qastaging/~doanac/uci-engine/restish-db-migrate |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Celso Providelo (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email:
|
Commit message
restish charm: support db migrations
This is a super simplistic way, but should work. You simply add something
like:
db_migration_cmd: ./nf-data-
to your deployer yaml and the script will get run when the pgsql relation
changes or the charm is upgraded
To post a comment you must log in.
FAILED: Continuous integration, rev:574 s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/852/
http://
Executed test runs:
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/852/ rebuild
http://