summaryrefslogtreecommitdiffstats
path: root/src/build/citest/setup-env
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2019-01-17 16:55:22 -0600
committerNicholas E. Bofferding <bofferdn@us.ibm.com>2019-02-06 08:16:43 -0600
commit94fe5da0c6b4b298b92c5b9dddaa5e90bbab8bf0 (patch)
tree737b10448b1da86a1f063bb651cc4411ce943177 /src/build/citest/setup-env
parentd9535e0964076972f2d868ccd6e5121c02f27196 (diff)
downloadtalos-hostboot-94fe5da0c6b4b298b92c5b9dddaa5e90bbab8bf0.tar.gz
talos-hostboot-94fe5da0c6b4b298b92c5b9dddaa5e90bbab8bf0.zip
Add FSPBUILD to CI scripts
Added logic to the autoci scripts for a new FSPBUILD mode. This mode will perform the following actions: - Build hostboot with the fsprelease.config file - Build the errlparser code - Not run simics Also added support for a new env var (LOCAL_CI_USER) that can be used to let you execute 'build-script' locally rather than trying to use the 'hostboot' user id for some of the operations. Change-Id: Ifc9d7875e00713cd46a27765aef5d24f88122a50 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70617 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Camvan T. Nguyen <ctnguyen@us.ibm.com> Reviewed-by: Sameer R. Veer <sveer@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Diffstat (limited to 'src/build/citest/setup-env')
-rwxr-xr-xsrc/build/citest/setup-env10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/build/citest/setup-env b/src/build/citest/setup-env
index 48e7c0ff4..8eda7b8ed 100755
--- a/src/build/citest/setup-env
+++ b/src/build/citest/setup-env
@@ -6,7 +6,7 @@
#
# OpenPOWER HostBoot Project
#
-# Contributors Listed Below - COPYRIGHT 2014,2018
+# Contributors Listed Below - COPYRIGHT 2014,2019
# [+] International Business Machines Corp.
#
#
@@ -37,12 +37,20 @@ echo "MACHINE IS $MACHINE"
if [ "$CHIP" == "NIMBUS" ];
then
export PNOR=nimbus.pnor
+ export CONFIG_FILE=
elif [ "$CHIP" == "CUMULUS" ];
then
export PNOR=cumulus.pnor
+ export CONFIG_FILE=
elif [ "$CHIP" == "CUMULUS_CDIMM" ];
then
export PNOR=cumulus_cdimm.pnor
+ export CONFIG_FILE=
+elif [ "$CHIP" == "FSPBUILD" ];
+then
+ export PNOR=ZZ.pnor
+ export CONFIG_FILE=src/build/configs/fsprelease.config
+ export MACHINE=NIMBUS
fi
# If we are running under Jenkins we need to pick a random-ish sandbox name
OpenPOWER on IntegriCloud