removing buildstep submodule and replacing it with the buildstep script that dokku actually uses. the buildstep project is otherwise completely separate other than the artifact it builds (the progrium/buildstep container)

This commit is contained in:
Jeff Lindsay
2013-06-30 01:17:32 -05:00
parent dc2c4825d8
commit 70be1daec4
6 changed files with 18 additions and 22 deletions

View File

@@ -7,15 +7,11 @@ install: submodule gitreceive sshcommand
cp dokku /usr/local/bin/dokku
cp receiver /home/git/receiver
cp deploystep /home/git/deploystep
cp buildstep/buildstep /home/git/buildstep
cp buildstep /home/git/buildstep
cp nginx-app-conf /home/git/nginx-app-conf
cp nginx-reloader.conf /etc/init/nginx-reloader.conf
echo "include /home/git/*/nginx.conf;" > /etc/nginx/conf.d/dokku.conf
submodule:
git submodule init
git submodule update
gitreceive:
wget -qO /usr/local/bin/gitreceive ${GITRECEIVE_URL}
chmod +x /usr/local/bin/gitreceive
@@ -27,4 +23,4 @@ sshcommand:
sshcommand create dokku /usr/local/bin/dokku
count:
cat receiver deploystep bootstrap.sh nginx-app-conf nginx-reloader.conf | wc -l
cat receiver deploystep buildstep bootstrap.sh nginx-app-conf nginx-reloader.conf | wc -l