Initiate build from git post-receive hook. how?

7 views
Skip to first unread message

Jason Meridth

unread,
May 12, 2009, 1:15:44 PM5/12/09
to Cerberus
how to invoke the build from a git post-receive hook. What is the URL/
ssh call that must occur to initiate the build? is it simply a ssh
into the cerberus server and issuing the "cerberus build APP_NAME"?

Craig Jolicoeur

unread,
May 12, 2009, 1:27:27 PM5/12/09
to cerbe...@googlegroups.com
Jason,

Ceberus isn't aware of continuous activity in your repository. If you
are looking for something with hooks or something that continuously
monitors new commits to your repos you'll have to look into another
continuous builder app.

Cerberus was deliberately designed to be as lightweight as possible
and does not include those features yet.

Most users simply setup a CRON job to run periodically.

Or you could code your own post commit hook that ran the cerberus
command on the server.

- Craig

Jason Meridth

unread,
May 12, 2009, 1:31:46 PM5/12/09
to Cerberus
Craig
Gotcha. Figured as much. A git post-receive hook should pretty easy
to work with ssh.

Thanks.

On May 12, 12:27 pm, Craig Jolicoeur <cpjolico...@gmail.com> wrote:
> Jason,
>
> Ceberus isn't aware of continuous activity in your repository.  If you
> are looking for something with hooks or something that continuously
> monitors new commits to your repos you'll have to look into another
> continuous builder app.
>
> Cerberus was deliberately designed to be as lightweight as possible
> and does not include those features yet.
>
> Most users simply setup a CRON job to run periodically.
>
> Or you could code your own post commit hook that ran the cerberus
> command on the server.
>
> - Craig
>
Reply all
Reply to author
Forward
0 new messages