Refactor k8s scenario implementation
[releng-xci-scenarios.git] / scenarios / os-odl-nofeature / xci_overrides
1 #!/bin/bash
2
3 if [[ $DEPLOY_SCENARIO == "os-odl-nofeature" ]] && [[ $XCI_FLAVOR == "ha" ]]; then
4     export VM_MEMORY_SIZE=20480
5 elif [[ $DEPLOY_SCENARIO == "os-odl-nofeature" ]]; then
6     export VM_MEMORY_SIZE=16384
7 fi
8
9 # Until this feature is developed, ODL_VERSION must be initialized:
10 # https://github.com/ansible/ansible/issues/17329
11 # otherwise the lookup in vars/main returns an empty string when not defined
12 export ODL_VERSION=${ODL_VERSION:-latest_release}