From: Fatih Degirmenci Date: Tue, 16 Jul 2019 08:42:54 +0000 (+0200) Subject: cloud-infra: Update the distro in temporary sdf X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=6f977ce65b6f8b92f47b8b630a08b53102eaf6d2;p=infra%2Fcicd.git cloud-infra: Update the distro in temporary sdf The distro in temporary SDF is hardcoded so this change changes it to use the distro of Jenkins slave where the job is running on. Change-Id: Ieb7b007cf4984fef5fa63bd3107860af1fbc86a5 --- diff --git a/jjb/cloud-infra/prepare-for-scenario-deploy.sh b/jjb/cloud-infra/prepare-for-scenario-deploy.sh index 5cfc1a50..9729dd85 100644 --- a/jjb/cloud-infra/prepare-for-scenario-deploy.sh +++ b/jjb/cloud-infra/prepare-for-scenario-deploy.sh @@ -37,7 +37,7 @@ scenario: $INSTALLER_TYPE: role: scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO distros: - - ubuntu + - $DISTRO EOF echo "Info: Temporary SDF content" echo "-------------------------------------------------------------------------" diff --git a/jjb/cloud-infra/prepare-for-scenario-test.sh b/jjb/cloud-infra/prepare-for-scenario-test.sh index aefe033a..b1f42f02 100644 --- a/jjb/cloud-infra/prepare-for-scenario-test.sh +++ b/jjb/cloud-infra/prepare-for-scenario-test.sh @@ -37,7 +37,7 @@ scenario: $INSTALLER_TYPE: role: scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO distros: - - ubuntu + - $DISTRO EOF echo "Info: Temporary SDF content" echo "-------------------------------------------------------------------------"