Awesome, thanks for all the good suggestions! I've added the tidbits
to the help page.

If you're using the copy-to-shell-and-copy-to-tool-account approach
it's pretty easy to write a shell script that does it all in one go.
Here's my deploy.sh script i use:

#!/bin/bash
rsync --exclude .git --exclude config.php -av --del ../* tools:tools

# Copy files
ssh tools <<'ENDSSH'
cp -rv tools/* /data/project/hay/
ENDSSH

-- Hay

On Tue, Apr 15, 2014 at 3:39 PM, Brad Jorsch (Anomie)
<[email protected]> wrote:
> On Tue, Apr 15, 2014 at 8:34 AM, Pietro De Nicolao <[email protected]>
> wrote:
>>
>> I use some Git repos (on GitHub) for my projects.
>
>
> I have a similar setup, except with a private repo on Tool Labs that I just
> push to. I even have some hooks set up in that private repo to automatically
> do the git pull (and to restart the tool's jobs) for me.
>
> --
> Brad Jorsch (Anomie)
> Software Engineer
> Wikimedia Foundation
>
> _______________________________________________
> Labs-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>

_______________________________________________
Labs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/labs-l

Reply via email to