env.sh #6

  • //
  • guest/
  • perforce_software/
  • helix-installer/
  • main/
  • test/
  • env.sh
  • View
  • Commits
  • Open Download .zip Download (1 KB)
# Usage:
# cd /where/you/put/helix-installer/dev/test
# source ./env.sh
#
# Alternately use 'main' rather than 'dev' in path above.

echo "Loading Helix Installer test environment settings."

if [[ "$PWD" != *"/test" ]]; then
   echo "Bad Usage: Run this from </where/you/put/it>/helix-installer/dev/test"
   return 1
fi

# HIT_FULL=1 = Do full test, including P4Perl/P4Python builds.
# HIT_FULL=0 = Skip P4Python/P4Pyton install tests.  Much faster.
export HIT_FULL=1
echo HIT_FULL=$HIT_FULL

# HIT_OS_LIST
# Set to 'ALL' to build all availalbe OS's from the helix_installer_test.json
# file.  Otherwise, specify a single OS, e.g. centos7 or ubuntu18.
export HIT_OS_LIST=ALL
echo HIT_OS_LIST=$HIT_OS_LIST

# HIT_TEST_DIR
# Set to local workspace directory that maps to what will be in
# /tmp/test-files in launched test VMs.
export HIT_TEST_DIR=${PWD}
echo HIT_TEST_DIR=$HIT_TEST_DIR

# HIT_RESET_DIR
# Set to local workspace directory that maps to what will be in /tmp/reset
# in launched test VMs.  This directory is loaded in test VMs as it is
# referenced in the Vagrantfile.
export HIT_RESET_DIR=${HIT_TEST_DIR/test/src}
echo HIT_RESET_DIR=$HIT_RESET_DIR
# Change User Description Committed
#7 27427 C. Thomas Tyler Released SDP 2021.2.27425 (2021/02/09).
Copy Up using 'p4 copy -r -b perforce_software-helix-installer-dev'.
#6 26975 C. Thomas Tyler Released HelixInstaller 2020.2.26973 (2020/12/01).
#5 26831 C. Thomas Tyler Released HelixInstaller/MultiArch/2020.1/26829 (2020/10/07).
#4 26793 C. Thomas Tyler Released HelixInstaller/MultiArch/2020.1/26784 (2020/09/25).
#3 26031 C. Thomas Tyler Released Helix Installer 2019.4.26026 (2019/08/22).
#2 25999 C. Thomas Tyler Released HelixInstaller 2019.4.25995 (2019/08/20).
#1 25725 C. Thomas Tyler Released HelixInstaller/MultiArch/2019.2/25723 (2019/06/19).
//guest/perforce_software/helix-installer/dev/test/env.sh
#2 25676 C. Thomas Tyler COnifgured for full test.
#1 25673 C. Thomas Tyler Added simple test driver and results analysis script.

Calls 'vagrant up' to call the Helix Installer on various OS's,
and then inspects the installed SDP generated VMs.