Update build config for new pear server.

Point to the new dokku based pear server. Put the files in the new
location and rebuild the dokku app.
This commit is contained in:
mark_story 2016-11-10 19:41:05 -05:00
parent 86b5401778
commit 23009ae3cc
2 changed files with 4 additions and 4 deletions

View file

@ -9,4 +9,4 @@ build.dir = build
dist.dir = dist dist.dir = dist
# Server # Server
pirum.dir = /home/cakephp/www-live/pear.cakephp.org pirum.dir = /var/lib/dokku/data/storage/pear

View file

@ -213,10 +213,10 @@
--> -->
<target name="distribute" depends="prepare" description="Upload pear packages to pear.cakephp.org"> <target name="distribute" depends="prepare" description="Upload pear packages to pear.cakephp.org">
<echo msg="Uploading tgz file to cakephp.org" /> <echo msg="Uploading tgz file to cakephp.org" />
<exec command="scp ${dist.dir}/${pear.package}.tgz cakephp@pear.cakephp.org:${pirum.dir}" dir="." checkreturn="true" /> <exec command="scp ${dist.dir}/${pear.package}.tgz root@cakephp.org:${pirum.dir}" dir="." checkreturn="true" />
<echo msg="Adding new release to pirum" /> <echo msg="Rebuilding pear.cakephp.org container" />
<exec command="ssh cakephp@pear.cakephp.org pirum add ${pirum.dir} ${pirum.dir}/${pear.package}.tgz" checkreturn="true" /> <exec command="ssh root@cakephp.org dokku ps:rebuild pear" checkreturn="true" />
</target> </target>
<target name="codestyle" description="Check codestyle (human readable format)"> <target name="codestyle" description="Check codestyle (human readable format)">