[yt-dev] yt website autodeployment

Matthew Turk matthewturk at gmail.com
Fri Aug 14 10:51:58 PDT 2015


Thanks, Kacper, this is awesome!

On Thu, Aug 13, 2015 at 3:59 PM, Kacper Kowalik <xarthisius.kk at gmail.com> wrote:
> Hi All,
> in order to ease up website deployment after each commit to
> yt_analysis/website I've set up webhook that will do all the magic after
> each merge / push.
>
> If anyone is interested in details, the machinery consists of:
>
>  1) webhook for push that posts to http://hub.yt/webdeploy/ (configurable on
> bb)
>  2) simple webservice[1] that executes ssh to dickenson using custom key
>  3) following entry to .ssh/authorized_keys (at dickenson)
>
> command="sh
> /home/yt_analysis/.bin/deploy",no-port-forwarding,no-X11-forwarding,no-agent-forwarding
> ssh-rsa AAAA...
>
> where 'deploy' == hg pull / update / archive
>
> Let me know if there are any problems with it.
> Cheers,
> Kacper
>
> [1]
> https://bitbucket.org/yt_analysis/fido/src/tip/docker/webdeploy/server.py?at=default
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org



More information about the yt-dev mailing list