[Speed] Codespeed up and running

Miquel Torres tobami at googlemail.com
Wed Sep 14 21:16:46 CEST 2011


Ok, great!

I can help out by giving you the rough recipe outline:
============================================
include_recipe "apache2::mod_wsgi"

easy_install "codespeed"

web_app "codespeed" do
  server_name node['hostname']
  server_aliases [node['fqdn'], "speed.python.org"]
  template "speed.conf.erb"
  docroot "/home/tobami/speed/"  # though we can change that
end
============================================

As a base for the custom template you can take the current
/etc/apache2/sites-enables/codespeed

Now this is were things get more complicated. The Django project is
under /home/tobami/speed/, with www-data permissions (so you can copy
anything).
The speed/templates/ contains the basic templates for the views. and
the content of sitestatic was created with "./manage.py
collectstatic".

So this last part will need some execute block or similar. For
anything else you need just ask and I'll help!

Miquel


PS: Python logo is up ;-)


2011/9/14 Noah Kantrowitz <noah at coderanger.net>:
> No worries, I'll just take a look at the box and document what you did into recipes as we are doing with the other PSF machines :-) Thanks for getting it up so quickly!
>
> --Noah
>
> On Sep 14, 2011, at 11:21 AM, Miquel Torres wrote:
>
>> Hi Noah,
>>
>> I didn't use any recipes for it, was more of a one-off. Would of
>> course like to have a cookbook and run_list for it all, but I am not
>> there yet.
>>
>> Miquel
>>
>>
>> 2011/9/13 Noah Kantrowitz <noah at coderanger.net>:
>>> Just wanted to poke about this again post-weekend :-)
>>>
>>> --Noah
>>>
>>> On Sep 11, 2011, at 3:39 PM, Noah Kantrowitz wrote:
>>>
>>>> Did the recipes for it get posted somewhere or was this a one-off by hand? I've started building some basic Chef infra for all PSF machines and can easily combine it with some more specific stuffs for codespeed :-)
>>>>
>>>> --Noah
>>>>
>>>> On Sep 11, 2011, at 2:15 AM, Miquel Torres wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> it took longer than expected, but speed.python.org points now to a
>>>>> proper Codespeed instance!
>>>>> The admin media does not yet load properly, need to fix that yet.
>>>>>
>>>>> Anyway, for further configuring, we need to define an environment. I
>>>>> looks like we are going to directly test on that big server, bare
>>>>> metal. Should we call it by a name? or just 24-Core-monster?
>>>>>
>>>>> As to the welcome page, if you prefer we can put it back in, with a
>>>>> link to a subdomain or other URL were we keep Codespeed as long as we
>>>>> are still setting up thing, and only go live when we are finished and
>>>>> want to announce.
>>>>>
>>>>> What do you think?
>>>>> Miquel
>>>>> _______________________________________________
>>>>> Speed mailing list
>>>>> Speed at python.org
>>>>> http://mail.python.org/mailman/listinfo/speed
>>>>
>>>> _______________________________________________
>>>> Speed mailing list
>>>> Speed at python.org
>>>> http://mail.python.org/mailman/listinfo/speed
>>>
>>>
>
>


More information about the Speed mailing list