On 1 April 2016 at 13:48, Sam Ruby <ru...@intertwingly.net> wrote:
> On Fri, Apr 1, 2016 at 8:43 AM, sebb <seb...@gmail.com> wrote:
>> How often does the Whimsy code get updated from git?
>
> Every time puppet runs, i.e. every 30 minutes.

I see.

That's not as frequently as I had hoped.
And it will be affected by any problems that cause puppet to fail.

I think we need to ask Infra if the code can be updated more like svnpubsub.
Or alternatively I suppose we could add a function to update the code
on demand (with suitable auth).

>> And where is the cronjob defined?
>
> I don't know how puppet works, but here is relevant portion of the
> puppet manifest:
>
> https://github.com/apache/infrastructure-puppet/blob/deployment/modules/whimsy_server/manifests/init.pp#L58

Thanks.

>> Or does it use a constantly running daemon, in which case how to check
>> if it is running?
>
> I don't know how to check if puppet is running.

On projects.a.o it writes to the system log.

$ grep puppet /var/log/syslog

will likely show the most recent puppet-agent activity.

>> I have committed a couple of changes recently.
>> The last one was over two hours ago now (Fri Apr 1 10:37:44 2016
>> +0100) but it still has not been applied as far as I can tell.
>>
>> The git code info says:
>>
>> Git code info: 40e810b 2016-04-01 01:01:16 +0100
>>
>> I don't have experience with gitpubsub, but projects.a.o and
>> reporter.a.o SVN code updates are almost instantaneous.
>>
>> It's a bit of a problem if code updates take a long time, especially
>> if a mistake needs to be corrected, tho' that's not the case here.
>
> - Sam Ruby

Reply via email to