Small fixes to the deployment scenario framework: 53/6053/3
authorJonas Bjurel <jonas.bjurel@ericsson.com>
Sat, 9 Jan 2016 15:01:50 +0000 (16:01 +0100)
committerJonas Bjurel <jonas.bjurel@ericsson.com>
Mon, 11 Jan 2016 12:09:45 +0000 (13:09 +0100)
commitc6a9f766792032a4cc84bc801e15b05a29f09e8e
tree1f1b6152222dfc706bee5b15b9dc7778de26f6da
parent283bf98d087afd9073632340800e745f5a8d8de2
Small fixes to the deployment scenario framework:

- Added deploy.sh -d option for dryrun. With -d + all the other mandatory
  arguments, deploy.sh produces ci/config/dea.yaml and /ci/config/dha.yaml
  with out actually deploying the stack.
- Bugfix to exit with rc <> 0 if deployment fails.
- Don't delete the programatically constructed dea.yaml or dha.yaml
  under fuel/ci/config after deploy has finished.
  dea.yaml and dha.yaml are needed functest, therefore these files
  must not be deleted after deployment has finished. They will reside
  in fuel/ci/config/.
- Dont merge the dha-override section in deployment scenarios with the final
  dha.yaml unless the deployment is virtual. There is no way you can
  programatically override physicall resources, wireing, ipmi set-up, etc. -
  while you can for virtual environments.

VERIFIED
READY TO MERGE

Change-Id: If4dedc472e07ed60071ee34c73db29f3b9c45252
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
ci/deploy.sh
deploy/deploy-config.py