Skip to content

Commit

Permalink
Code cleanup - removed test-code not required in prod
Browse files Browse the repository at this point in the history
Change-Id: Iaaad4852ad363fa86df78ad8a19a37e171fefa6a
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56411
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
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>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
  • Loading branch information
Sameer Veer authored and wghoffa committed Mar 28, 2018
1 parent 46b6c68 commit 0bd003a
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions src/build/citest/auto-release
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ function buildrel-create-track {
cp $SANDBOXBASE/src/hbfw/simics.tar $CMVC_DIR/src/hbfw/cumulus \
|| exit -1

echo -e "[$(date)]\n#####-> make clean\n"
#make clean
echo -e "[$(date)]\n#####-> make clobber\n"
#
make clobber

#
# Now build the FSP-based images
export CONFIG_FILE="$HOSTBOOT_WORKSPACE/src/build/configs/fsprelease.config"

Expand Down Expand Up @@ -143,22 +143,10 @@ function buildrel-create-track {
echo -e "[$(date)]\n##### -> \
git push ssh://hostboot-us@gerrit-server/hostboot $RELEASE_NAME\n"
git push ssh://hostboot-us@gerrit-server/hostboot $RELEASE_NAME || exit -1

#!--------Remove these lines of codes after merging hostboot commit,
#! this temporary adj is to reinstate the files---!#
cp src/build/citest/auto-release src/build/citest/auto-release.save
cp src/build/tools/hbRelease src/build/tools/hbRelease.save
#!--------------------------------------------------!#

#
echo -e "[$(date)]\n##### -> git checkout gerrit/master || exit -1\n"
git checkout gerrit/master || exit -1

#!--------Remove these lines of codes after merging hostboot commit,
#! this temporary adj is to reinstate the files---!#
cp src/build/citest/auto-release.save src/build/citest/auto-release
cp src/build/tools/hbRelease.save src/build/tools/hbRelease
#!--------------------------------------------------!#

#
echo -e "[$(date)]\n#####-> hbRelease create-track --level $RELEASE_NAME\
--release $FIPS_RELEASE --released $PREVIOUS_RELEASE --track \
$EXISTING_TRACK || exit -1\n"
Expand Down Expand Up @@ -319,8 +307,7 @@ function build {
cp $SANDBOXBASE/src/hbfw/simics.tar $CMVC_DIR/src/hbfw/cumulus || exit -1
cp $SANDBOXBASE/obj/ppc/hbfw/img/cumulus_cdimm.pnor $CMVC_DIR/src/hbfw/cumulus_cdimm || exit -1
cp $SANDBOXBASE/src/hbfw/simics.tar $CMVC_DIR/src/hbfw/cumulus_cdimm || exit -1

#make clean
#
make clobber
# Now build the FSP-based images
export CONFIG_FILE="$HOSTBOOT_WORKSPACE/src/build/configs/fsprelease.config"
Expand Down

0 comments on commit 0bd003a

Please sign in to comment.