aboutsummaryrefslogtreecommitdiffstats
path: root/scenarios/os-odl-nofeature/xci_overrides
blob: 8d1df92b35caa9475e65a795a65d4feacbce33fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

if [[ $DEPLOY_SCENARIO == "os-odl-nofeature" ]] && [[ $XCI_FLAVOR == "ha" ]]; then
    export VM_MEMORY_SIZE=20480
elif [[ $DEPLOY_SCENARIO == "os-odl-nofeature" ]]; then
    export VM_MEMORY_SIZE=16384
fi

# Until this feature is developed, ODL_VERSION must be initialized:
# https://github.com/ansible/ansible/issues/17329
# otherwise the lookup in vars/main returns an empty string when not defined
export ODL_VERSION=${ODL_VERSION:-latest_release}