[lib.sh] Split into multiple files for readability 73/62973/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sat, 22 Sep 2018 16:29:31 +0000 (18:29 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 26 Sep 2018 12:04:08 +0000 (12:04 +0000)
commit5b660398bf5388d24ea8d2bde0f8f1a599739db4
tree840845d47a7867aa1b8eddcb41717262e1d10329
parentd9c1a02693cacd342106437f4f4525c0cdf857cd
[lib.sh] Split into multiple files for readability

lib.sh got pretty big over time, making it hard to maintain.
Since most of the functions defined now in lib.sh are only required
during build/deploy and not in state files, move them to a new file.

While at it, prepare for running build/deploy as non-root and
set a default connection string for virsh instead of using
user specific config in ~/.config/libvirt/libvirt.conf, which
caused end user experience issues in the past.

Change-Id: Id8c2a8139e4bfdb99af2b0fad73b911ffa18ebea
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit e49ffac10dc059b9133586ae4991446f5a5915de)
ci/build.sh
ci/deploy.sh
mcp/scripts/globals.sh
mcp/scripts/lib.sh
mcp/scripts/lib_jump_common.sh [new file with mode: 0644]
mcp/scripts/lib_jump_deploy.sh [new file with mode: 0644]