summaryrefslogtreecommitdiffstats
path: root/src/build/citest
diff options
context:
space:
mode:
authorIlya Smirnov <ismirno@us.ibm.com>2017-10-17 13:47:43 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-11-30 11:42:48 -0500
commitc4d83bcbb421d786a0d5ff1e08d5bc53c365ba41 (patch)
tree3e986045190a1c3d300684e7d6f577e72cb70cd3 /src/build/citest
parent3a88f18bc7386abaaceedca9b327806d85734f67 (diff)
downloadtalos-hostboot-c4d83bcbb421d786a0d5ff1e08d5bc53c365ba41.tar.gz
talos-hostboot-c4d83bcbb421d786a0d5ff1e08d5bc53c365ba41.zip
Deliver NIMBUS and CUMULUS standalone images to fips for Simics regression
As part of hostboot release process, both nimbus and cumulus pnor images will be checked in to the release CMVC track along with simics.tar for each image. In order to build standalone images, new steps were added to the build functions of the auto-release script. Change-Id: Ifca2bb0b213a0e2a474709a68d6c4cb5cb74c701 RTC:141612 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48513 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build/citest')
-rwxr-xr-xsrc/build/citest/auto-release30
1 files changed, 24 insertions, 6 deletions
diff --git a/src/build/citest/auto-release b/src/build/citest/auto-release
index 158e235e0..14a9499af 100755
--- a/src/build/citest/auto-release
+++ b/src/build/citest/auto-release
@@ -42,20 +42,38 @@ function build {
hbRelease define --level $RELEASE_NAME --released $PREVIOUS_RELEASE --base $BASE --branch $GIT_BRANCH || exit -1
hbRelease release --level $RELEASE_NAME || exit -1
+ export SANDBOXROOT=$WORKSPACE
+ export SANDBOXNAME=$RELEASE_NAME
+ export SANDBOXBASE=$SANDBOXROOT/$SANDBOXNAME
+ mkdir -p $SANDBOXBASE || exit -1
+ mkdir -p $CMVC_DIR/src/hbfw/nimbus || exit -1
+ mkdir -p $CMVC_DIR/src/hbfw/cumulus || exit -1
+
### Compile and provide binaries
setup
if echo $FIPS_RELEASE | grep -q fips9; then
+ # First bulid the standalone
+ BUILD_MINIMAL=1 nice -+20 make -j16 || exit -1
+ # With PNOR env var not set, hb prime will make all of the pnor images
+ unset PNOR
+ # prime will put the files into expected locations
+ hb simsetup || exit -1
+ hb prime || exit -1
+ cp $SANDBOXBASE/obj/ppc/hbfw/img/nimbus.pnor $CMVC_DIR/src/hbfw/nimbus || exit -1
+ cp $SANDBOXBASE/src/hbfw/simics.tar $CMVC_DIR/src/hbfw/nimbus || exit -1
+ cp $SANDBOXBASE/obj/ppc/hbfw/img/cumulus.pnor $CMVC_DIR/src/hbfw/cumulus || exit -1
+ cp $SANDBOXBASE/src/hbfw/simics.tar $CMVC_DIR/src/hbfw/cumulus || exit -1
+
+ make clean
+ # Now build the FSP-based images
export CONFIG_FILE="$HOSTBOOT_WORKSPACE/src/build/configs/fsprelease.config"
+ BUILD_MINIMAL=1 nice -+20 make -j16 || exit -1
+ else
+ BUILD_MINIMAL=1 nice -+20 make -j16 || exit -1
fi
- BUILD_MINIMAL=1 nice -+20 make -j16 || exit -1
# Run hb distribute to put binaries in cmvc checkout directory
- export SANDBOXROOT=$WORKSPACE
- export SANDBOXNAME=$RELEASE_NAME
- export SANDBOXBASE=$SANDBOXROOT/$SANDBOXNAME
- mkdir -p $SANDBOXBASE
hb prime --release $SANDBOXBASE || exit -1
- mkdir -p $CMVC_DIR/src/hbfw || exit -1
cp -rf $SANDBOXBASE/fsp/* $CMVC_DIR/src/hbfw || exit -1
rm -rf $SANDBOXBASE/fsp || exit -1
OpenPOWER on IntegriCloud