This change requires hwconfig change adding PDF and IDF for k8-eno-ovs
to be merged first.
https://gerrit.nordix.org/c/infra/hwconfig/+/9887
Change-Id: Ia14d878a7eda0c8006e525a5eb4eb5037aad9055
ENGINE_ROOT_DIR="$WORKSPACE"
fi
+# NOTE (fdegir): the vars PDF and IDF are set in the jjb/job and there is no elegant
+# way to dynamically change them there since the deploy scenario is determined until
+# after the job is triggered and commit message is parsed
+if [[ "$HW_TYPE" == "virtual" && "$DEPLOY_SENARIO" == "k8-eno-ovs" ]]; then
+ export PDF='https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/eno-vpod1-pdf.yml'
+ export IDF='https://gerrit.nordix.org/gitweb?p=infra/hwconfig.git;a=blob_plain;f=pods/eno-vpod1-idf.yml'
+fi
+
# NOTE (fdegir): for bifrost based deployments, we don't need openrc file so we fake it
OPENRC_FILE=${OPENRC_FILE:-/tmp/openrc}