Added a few print statements and uncommented copying of awips_install-[DATE].sh to fserv

This commit is contained in:
Tiffany Meyer 2022-03-08 10:58:51 -05:00
parent ab1ad1aec9
commit b49c086ec0

View file

@ -63,7 +63,7 @@ date=$(date +%Y%m%d)
if [[ $(whoami) == "awips" ]]; then # local build
#copy awips_install-YYYYMMDD.sh to robin
cp awips_install.sh awips_install-${date}.sh
sed -i 's/el7.repo/el7-test.repo/' awips_install-${date}.sh
echo "rsync -aP awips_install-${date}.sh tiffanym@fserv:/share/awips2/${AWIPSII_VERSION}/linux/"
rsync -aP awips_install-${date}.sh tiffanym@fserv:/share/awips2/${AWIPSII_VERSION}/linux/
#For testing, copy el7-test.repo to robin with updated path
@ -73,6 +73,7 @@ if [[ $(whoami) == "awips" ]]; then # local build
sudo su - -c "createrepo -g /awips2/repo/awips2/dist/comps.xml /awips2/repo/awips2/dist/${os_version}-dev-${date}/"
sudo chown -R awips:fxalpha dist/${os_version}-dev-${date}
# rsync -aP dist/${os_version}-
echo "rsync -aP dist/${os_version}-dev-${date} tiffanym@fserv:/share/awips2/${AWIPSII_VERSION}/linux/"
rsync -aP dist/${os_version}-dev-${date} tiffanym@fserv:/share/awips2/${AWIPSII_VERSION}/linux/
#rsync -aP dist/${os_version}-dev-${date} awips@hardy:~/
#repomanage -k1 --old dist/${os_version}-dev | xargs rm -f