2014-04-27 19:19:17 -04:00
|
|
|
#!/bin/bash
|
|
|
|
green='\e[0;32m'
|
|
|
|
close='\e[0m'
|
2014-09-26 20:58:02 -04:00
|
|
|
rm -rf /tmp/tests
|
2014-04-27 19:19:17 -04:00
|
|
|
mkdir -p /tmp/tests
|
|
|
|
echo -e "${green}Making test directories${close}"
|
|
|
|
cd /tmp/tests
|
|
|
|
git init
|
2015-07-22 16:28:39 -04:00
|
|
|
git remote add iHttp http://107.15.82.213/gitlab/stonewareslord/ExampleProject.git
|
|
|
|
git remote add iHttps https://107.15.82.213/gitlab/stonewareslord/ExampleProject.git
|
|
|
|
git remote add iSsh git@107.15.82.213:stonewareslord/ExampleProject.git
|
2015-04-14 22:10:18 -04:00
|
|
|
git remote add dHttp http://austenwares.com/gitlab/stonewareslord/ExampleProject.git
|
|
|
|
git remote add dHttps https://austenwares.com/gitlab/stonewareslord/ExampleProject.git
|
2014-09-23 18:10:30 -04:00
|
|
|
git remote add dSsh git@austenwares.com:stonewareslord/ExampleProject.git
|
2014-04-27 19:19:17 -04:00
|
|
|
git config http.sslVerify false
|
2014-09-23 18:10:30 -04:00
|
|
|
echo -e "${green}IP HTTPS cloning${close}"
|
2015-04-14 22:10:18 -04:00
|
|
|
git pull iHttps master
|
2014-09-23 18:10:30 -04:00
|
|
|
echo -e "${green}DNS HTTPS cloning${close}"
|
2015-04-14 22:10:18 -04:00
|
|
|
git pull dHttps master
|
|
|
|
echo -e "${green}IP HTTP cloning${close}"
|
|
|
|
git pull iHttp master
|
|
|
|
echo -e "${green}DNS HTTP cloning${close}"
|
2014-09-23 18:10:30 -04:00
|
|
|
git pull dHttp master
|
|
|
|
echo -e "${green}IP SSH cloning${close}"
|
|
|
|
git pull iSsh master
|
|
|
|
echo -e "${green}DNS SSH cloning${close}"
|
|
|
|
git pull dSsh master
|
|
|
|
echo -e "${green}IP HTTPS pushing${close}"
|
2015-04-14 22:10:18 -04:00
|
|
|
git commit --allow-empty -m "iHttps"&&git push iHttps master
|
2014-09-23 18:10:30 -04:00
|
|
|
echo -e "${green}DNS HTTPS pushing${close}"
|
2015-04-14 22:10:18 -04:00
|
|
|
git commit --allow-empty -m "dHttps"&&git push dHttps master
|
|
|
|
echo -e "${green}IP HTTP pushing${close}"
|
|
|
|
git commit --allow-empty -m "iHttp"&&git push iHttp master
|
|
|
|
echo -e "${green}DNS HTTP pushing${close}"
|
|
|
|
git commit --allow-empty -m "dHttp"&&git push dHttp master
|
2014-09-23 18:10:30 -04:00
|
|
|
echo -e "${green}IP SSH pushing${close}"
|
2014-09-26 20:58:02 -04:00
|
|
|
git commit --allow-empty -m "iSsh"&&git push iSsh master
|
2014-09-23 18:10:30 -04:00
|
|
|
echo -e "${green}DNS SSH pushing${close}"
|
2014-09-26 20:58:02 -04:00
|
|
|
git commit --allow-empty -m "dSsh"&&git push dSsh master
|
2014-04-27 19:20:35 -04:00
|
|
|
rm -rf /tmp/tests
|