export PGHOST=localhost
# -----------------------------------------------------------------------
# You can override these like so:
- # EVERGREEN_BRANCH='master' ./eg_wheezy_installer.sh
+ # EVERGREEN_BRANCH='master' ./eg_stretch_installer.sh
# -----------------------------------------------------------------------
OPENSRF_REPO='git://git.evergreen-ils.org/OpenSRF.git'
OPENSRF_BRANCH='master'
echo OPENSRF_BRANCH=${OPENSRF_BRANCH}
echo EVERGREEN_REPO=${EVERGREEN_REPO}
echo EVERGREEN_BRANCH=${EVERGREEN_BRANCH}
- OPENSRF_PREREQ_TARGET=debian-wheezy
- EVERGREEN_PREREQ_TARGET=debian-wheezy
- EVERGREEN_DB_PREREQ_TARGET=postgres-server-debian-wheezy
+ OPENSRF_PREREQ_TARGET=debian-stretch
+ EVERGREEN_PREREQ_TARGET=debian-stretch
+ EVERGREEN_DB_PREREQ_TARGET=postgres-server-debian-stretch
echo OPENSRF_PREREQ_TARGET=${OPENSRF_PREREQ_TARGET}
echo EVERGREEN_PREREQ_TARGET=${EVERGREEN_PREREQ_TARGET}
echo EVERGREEN_DB_PREREQ_TARGET=${EVERGREEN_DB_PREREQ_TARGET}
date
OSRF_COMMAND="
cd /home/opensrf;
- git clone --depth 0 --branch $OPENSRF_BRANCH $OPENSRF_REPO OpenSRF;
- git clone --depth 0 --branch $EVERGREEN_BRANCH $EVERGREEN_REPO Evergreen;
+ git clone --depth 1 --branch $OPENSRF_BRANCH $OPENSRF_REPO OpenSRF;
+ git clone --depth 1 --branch $EVERGREEN_BRANCH $EVERGREEN_REPO Evergreen;
"
rm -rf /home/opensrf/Evergreen /home/opensrf/OpenSRF
su - opensrf sh -c "$OSRF_COMMAND";
#!/bin/bash
-echo 'deb http://security.debian.org/ wheezy/updates main contrib' | sudo tee --append /etc/apt/sources.list
+#echo 'deb http://security.debian.org/ wheezy/updates main contrib' | sudo tee --append /etc/apt/sources.list
sudo apt-get update
sudo apt-get -q -y install git-core
git clone git://git.evergreen-ils.org/working/random.git
cd random/
-git checkout -b wheezy origin/collab/phasefx/wheezy_installer
+git checkout -b eg_live_tests origin/collab/phasefx/eg_live_tests
cd installer/wheezy
-time sudo ./eg_wheezy_installer.sh -y -a -s -t
+time sudo ./eg_stretch_installer.sh -y -a -s -t