This commit is contained in:
William Mantly 2016-09-30 19:43:18 -04:00
parent f9b14cb38d
commit b1a9be254b

View File

@ -5,13 +5,13 @@ sshURL="$2"
nodePort=`./random_port.py`
eval "$(ssh-agent -s)"
ssh-add /root/.ssh/id_github_rsa
mkdir /var/www/gitwrapper/$name
chmod 777 /var/www/gitwrapper/$name
cd /var/www/gitwrapper/$name
eval "$(ssh-agent -s)"
ssh-add /root/.ssh/id_github_rsa
echo `pwd`
echo '============='
@ -26,7 +26,7 @@ echo "=================="
# change https urls to ssh
perl -pi -e 's/https:\/\/github.com\//ssh:\/\/git\@github.com:/g' .gitmodules
perl -pi -e 's/https:\/\/github.com\//git\@github.com:/g' .gitmodules
git submodule sync
echo "=================="
./scripts/setup.sh
@ -43,7 +43,7 @@ echo "BRANCH = '$name'" >> project/settings/local_settings.py
git checkout $name
# change https urls to ssh
perl -pi -e 's/https:\/\/github.com\//ssh:\/\/git\@github.com:/g' .gitmodules
perl -pi -e 's/https:\/\/github.com\//git\@github.com:/g' .gitmodules
git submodule sync
./scripts/setup.sh
git stash