Don Marti | 5 May 21:03

Deploying server apps with git hooks?

Is anyone using a git repository with an appropriate
hook script to deploy a server-side application?

You could do something like "git push staging" or
"git push live" on your own repository, and a hook on
the server takes care of checking out and deploying
the software, and running any necessary init scripts.

--

-- 
Don Marti                    
http://zgp.org/~dmarti/
dmarti <at> zgp.org
Jim Thompson | 5 May 21:21
Favicon

Re: Deploying server apps with git hooks?

Don Marti wrote:
> Is anyone using a git repository with an appropriate
> hook script to deploy a server-side application?
>
> You could do something like "git push staging" or
> "git push live" on your own repository, and a hook on
> the server takes care of checking out and deploying
> the software, and running any necessary init scripts.
>
>   
someone seems too-keen on replacing rdist.
Eugen Leitl | 5 May 21:29
Favicon

Re: Deploying server apps with git hooks?

On Mon, May 05, 2008 at 09:21:33AM -1000, Jim Thompson wrote:

> someone seems too-keen on replacing rdist.

git gives versioning, and performance. cfengine is not good
for this?

--

-- 
Eugen* Leitl <a href="http://leitl.org">leitl</a> http://leitl.org
______________________________________________________________
ICBM: 48.07100, 11.36820 http://www.ativel.com http://postbiota.org
8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE
Ben Finney | 6 May 00:57

Re: Deploying server apps with git hooks?

Don Marti <dmarti <at> zgp.org> writes:

> Is anyone using a git repository with an appropriate hook script to
> deploy a server-side application?
> 
> You could do something like "git push staging" or "git push live" on
> your own repository, and a hook on the server takes care of checking
> out and deploying the software, and running any necessary init
> scripts.

It seems like "puppet" <URL:http://puppet.reductivelabs.com/>
addresses this problem, or something close enough to be useful.

--

-- 
 \             "Today, I was -- no, that wasn't me."  -- Steven Wright |
  `\                                                                   |
_o__)                                                                  |
Ben Finney
Graham Hughes | 5 Jun 21:41

Re: Deploying server apps with git hooks?

Don Marti wrote:
> Is anyone using a git repository with an appropriate
> hook script to deploy a server-side application?
> 
> You could do something like "git push staging" or
> "git push live" on your own repository, and a hook on
> the server takes care of checking out and deploying
> the software, and running any necessary init scripts.

It's not a general solution, but ikiwiki does something very much like
this, and you can probably take their hook and modify it for your uses.

Graham

Gmane