2017-10-21 09:33:34 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-02-06 12:06:00 +00:00
|
|
|
set -eu
|
|
|
|
set -o pipefail
|
2017-10-21 09:33:34 +01:00
|
|
|
|
|
|
|
# Install kayobe and its dependencies in a virtual environment.
|
|
|
|
|
|
|
|
PARENT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
|
2018-02-06 12:06:00 +00:00
|
|
|
source "${PARENT}/functions"
|
2017-10-21 09:33:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
function main {
|
|
|
|
# Don't require kayobe configuration to exist for installation - it is not
|
|
|
|
# required for the legacy manual deployment procedure.
|
|
|
|
KAYOBE_CONFIG_REQUIRED=0
|
|
|
|
config_init
|
|
|
|
install_dependencies
|
2018-09-10 09:36:50 +00:00
|
|
|
install_kayobe_venv
|
2017-10-21 09:33:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
main
|