[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Sign code from Hudson

They build on hudson and use the hudson user to sign things afaik.

We just use a maven plugin to do all that as the hudson user on the
build servers for jetty, other groups for your case I guess I don't
really know...

cheers,
jesse

--
jesse mcconnell
jesse.mcconnell@xxxxxxxxx



On Wed, May 4, 2011 at 13:51, Mark Russell <mrrussell@xxxxxxxxxx> wrote:
> The process is running a the Hudson user. ÂI don't think that the Hudson
> user should have signingÂauthorityÂthen anyone that ran build
> codeÂcouldÂsign the code. ÂHow do groups that build their code on external
> servers sign the code?
>
> On Wed, May 4, 2011 at 2:40 PM, Jesse McConnell <jesse.mcconnell@xxxxxxxxx>
> wrote:
>>
>> if the build process is doing it it should have the rights to do it,
>> if your running it as any other user you need to open a bug with
>> webmaster to get added onto the special signer group list
>>
>> cheers,
>> jesse
>>
>> --
>> jesse mcconnell
>> jesse.mcconnell@xxxxxxxxx
>>
>>
>>
>> On Wed, May 4, 2011 at 13:36, Mark Russell <mrrussell@xxxxxxxxxx> wrote:
>> > I'm not sure if this is the correct group for this. ÂIf not please let
>> > me
>> > know which group I should post this on.
>> > The Window Builder project is currently build on Google servers (I'm in
>> > the
>> > process of moving it to Eclipse Servers). ÂUntil I get the code on the
>> > Eclipse Servers I wrote a Python script toÂoptimize,Âsign, and deploy
>> > the
>> > code once it is on build.eclipse.org. I tried to run it from Hudson and
>> > got
>> > an error that it could not execute the sign code because the user was
>> > not in
>> > the correct group.
>> >
>> > F1 2011-05-04 14:26:51,636 DEBUG
>> > signFiles(/home/data/httpd/download-staging.priv/tools/windowbuilder)
>> > Traceback (most recent call last):
>> > Â File "StageDrop.py", line 320, in <module>
>> > Â Â main()
>> > Â File "StageDrop.py", line 54, in main
>> > Â Â signedDir = signZipFiles(signDir)
>> > Â File "StageDrop.py", line 223, in signZipFiles
>> > Â Â subprocess.check_call(['/usr/local/bin/sign', zipPath, 'nomail',
>> > 'signed'])
>> > Â File "/usr/lib64/python2.6/subprocess.py", line 457, in check_call
>> > Â Â retcode = call(*popenargs, **kwargs)
>> > Â File "/usr/lib64/python2.6/subprocess.py", line 444, in call
>> > Â Â return Popen(*popenargs, **kwargs).wait()
>> > Â File "/usr/lib64/python2.6/subprocess.py", line 595, in __init__
>> > Â Â errread, errwrite)
>> > Â File "/usr/lib64/python2.6/subprocess.py", line 1106, in
>> > _execute_child
>> > Â Â raise child_exception
>> > OSError: [Errno 2] No such file or directory
>> > Sending e-mails to: mrrussell@xxxxxxxxxx clayberg@xxxxxxxxxx
>> >
>> > How do I get the code to sign the zip files from Hudson?
>> > --
>> > Mark R Russell
>> > (724) 473-3140
>> > Release Engineer
>> > Google Pittsburgh
>> >
>> >
>> > _______________________________________________
>> > cross-project-issues-dev mailing list
>> > cross-project-issues-dev@xxxxxxxxxxx
>> > https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
>> >
>> >
>> _______________________________________________
>> cross-project-issues-dev mailing list
>> cross-project-issues-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
>
>
>
> --
> Mark R Russell
> (724) 473-3140
> Release Engineer
> Google Pittsburgh
>
>
> _______________________________________________
> cross-project-issues-dev mailing list
> cross-project-issues-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
>
>