gitolite/t/update-gitolite
Sitaram Chamarty 0add3d3de7 finally, open up my secret test scripts...
...after getting rid of most of the hardcoding (though not all!)
2010-06-12 13:24:55 +05:30

15 lines
338 B
Bash
Executable file

#!/bin/bash
export TESTDIR=$PWD
rm -rf ~/junk.ga
mv ~/gitolite-admin ~/junk.ga
# install it
src/gl-easy-install -q gitolite-test localhost tester
# make the rollback.tar files on both sides
cd
tar cf rollback.tar gitolite-admin
ssh gitolite-test@localhost tar cf rollback.tar .ssh .gitolite .gitolite.rc repositories gitolite-install