On Fri, 2010-12-10 at 07:24 -0500, Kamil Paral wrote:
Hi,
just a note for anyone interested. As it was mentioned before, we can use
Bodhi staging server [1] for AutoQA development purposes. The email
notifications should be disabled on that staging server, so we don't have to
be afraid to flood people with messages.
Currently, when you try to use it, you get following error:
# /usr/share/autoqa/post-bodhi-update/watch-bodhi-requests.py --dryrun
Traceback (most recent call last):
...
pycurl.error: (51, "SSL: certificate subject name '*.fedoraproject.org' does
not match target host name 'admin.stg.fedoraproject.org'")
Luke Macken promised to look for someone who can fix that. In the meantime,
it's enough when you put "insecure=True" to the BodhiClient() constructor.
That means you create the object like this:
fedora.client.BodhiClient(username=user, password=pswd,
base_url='https://admin.stg.fedoraproject.org/updates/';, insecure=True)
Ah perfect, that'll do nicely in the meantime.
(The base_url will be configurable from autoqa.conf in a short
time).
And it really works, I have a proof [2] :-)
But please note that the contents of the Bodhi staging instance and of the
Bodhi production instance is not the same. Therefore we can't listed for
production events and send comments to staging instance. We also can't listen
for staging events, because currently nothing happens out there. But it is
still useful for manual testing of Bodhi integration patches.
Regards,
Kamil
[1]
https://admin.stg.fedoraproject.org/updates/
[2]
https://admin.stg.fedoraproject.org/updates/polkit-qt-0.96.1-3.fc14
This is *really* cool to see on the staging server!! What a long
journey it has been developing the tests and infrastructure to get to
this point. Great to see things coming together. Nice job gang!
Thanks,
James