diff options
author | Bin Yang <bin.yang@windriver.com> | 2019-05-27 02:57:54 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-05-27 02:57:54 +0000 |
commit | 1dcafa15b205b5cd97d9a137d6f171bf4673c66b (patch) | |
tree | 5da3b5cea59ba72c568ee7157cc94f151a4d605b /kud/tests/_functions.sh | |
parent | 574eb961e8651ba4e4f0f92d7984a2716e5e64f7 (diff) | |
parent | bc83f936c1b369fc6291898ec88b6c6c17b2aa5d (diff) |
Merge "Install jq as an dependency for yq"
Diffstat (limited to 'kud/tests/_functions.sh')
-rwxr-xr-x | kud/tests/_functions.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/kud/tests/_functions.sh b/kud/tests/_functions.sh index 5efb56fe..542443d6 100755 --- a/kud/tests/_functions.sh +++ b/kud/tests/_functions.sh @@ -31,29 +31,6 @@ function _get_ovn_central_address { echo "$(echo ${ansible_ifconfig#*>>} | tr '\n' ':')6641" } -# install_ovn_deps() - Install dependencies required for tests that require OVN -function install_ovn_deps { - if ! $(yq --version &>/dev/null); then - sudo -E pip install yq - fi - if ! $(ovn-nbctl --version &>/dev/null); then - source /etc/os-release || source /usr/lib/os-release - case ${ID,,} in - *suse) - ;; - ubuntu|debian) - sudo apt-get install -y apt-transport-https - echo "deb https://packages.wand.net.nz $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/wand.list - sudo curl https://packages.wand.net.nz/keyring.gpg -o /etc/apt/trusted.gpg.d/wand.gpg - sudo apt-get update - sudo apt install -y ovn-common - ;; - rhel|centos|fedora) - ;; - esac - fi -} - # init_network() - This function creates the OVN resouces required by the test function init_network { local fname=$1 |