X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fcloud-infra%2Fscripts%2Fdeploy.sh;h=99bedc3a820bfabe7a38895cacbf8122d3543144;hb=3b5d5d8f359a4207872edf32773fdb72c3193eb7;hp=2c160489917cc78d3dd1e4b891fbed47f2820165;hpb=fe2f9926fb077e9c66a943c7ee4b51e6ac622dfe;p=infra%2Fcicd.git diff --git a/jjb/cloud-infra/scripts/deploy.sh b/jjb/cloud-infra/scripts/deploy.sh index 2c160489..99bedc3a 100755 --- a/jjb/cloud-infra/scripts/deploy.sh +++ b/jjb/cloud-infra/scripts/deploy.sh @@ -44,6 +44,14 @@ else 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_SCENARIO" == "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}