build_inf.sh: temp step for CI test
[pti/rtp.git] / scripts / build_inf.sh
index 21a0afb..f878883 100755 (executable)
@@ -80,7 +80,7 @@ run_cmd () {
 # Parse cmd options
 #########################################################################
 
-DRYRUN=""
+DRYRUN="-n"
 YP_ARGS="-s"
 
 while getopts "w:b:e:r:unh" OPTION; do
@@ -180,6 +180,12 @@ build_centos () {
     fi
 }
 
+build_centos_dl () {
+    # Temp for testing the lftools deploy
+    mkdir -p ${WORKSPACE_DEB}/prj_output/
+    wget http://mirror.starlingx.cengn.ca/mirror/starlingx/master/debian/monolithic/latest_build/outputs/iso/starlingx-intel-x86-64-cd.iso -O ${WORKSPACE_DEB}/prj_output/inf-image-debian-all-x86-64.iso
+}
+
 build_debian () {
     if [ -z "${DRYRUN}" ]; then
         msg_step="Debian builds"
@@ -207,7 +213,8 @@ if [ "$CI" = "true" ]; then
     get_debug_info
 fi
 
-#build_yocto
+build_yocto
 #build_centos
-build_debian
+build_centos_dl
+#build_debian