Page MenuHomeSoftware Heritage

jobs/dependency-packages: Add python-jose package build
ClosedPublic

Authored by anlambert on Mon, Mar 16, 7:18 PM.

Details

Summary

After having followed those instructions, add Jenkins job to build python-jose,
a required dependency of python-keycloak not packaged in Debian.

Git repository associated to the package has been created: https://forge.softwareheritage.org/source/python3-jose/

Package builds have been tested locally and all reported lintian errors fixed.

Still missing the setup of the post-receive hook for Jenkins to be able to trigger on tag pushes.
It seems that I do not have sufficient rights to perform that operation:

19:17 $ ssh -t tate.internal.softwareheritage.org phabricator-setup-hook /srv/phabricator/repos/216/ post-receive-debian-deps
anlambert@tate.internal.softwareheritage.org: Permission denied (publickey,keyboard-interactive).

Related to T2302

Diff Detail

Repository
rCJSWH Jenkins jobs
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

anlambert created this revision.Mon, Mar 16, 7:18 PM
ardumont accepted this revision.Mon, Mar 16, 9:45 PM
ardumont added a subscriber: ardumont.

ssh -t tate.internal.softwareheritage.org phabricator-setup-hook /srv/phabricator/repos/216/ post-receive-debian-deps
anlambert@tate.internal.softwareheritage.org: Permission denied (publickey,keyboard-interactive).

I did.
I had the same error though.

This revision is now accepted and ready to land.Mon, Mar 16, 9:45 PM
ardumont added a comment.EditedMon, Mar 16, 9:46 PM

I had the same error though.

tate has a different ssh port 2222, so that might be related

(I have another .ssh/config stanza for tate
so i did ssh -t tate ... )

I had the same error though.

tate has a different ssh port 2222, so that might be related

(I have another .ssh/config stanza for tate
so i did ssh -t tate ... )

Thanks !

Indeed, changing the port seems to work. I still do not have sufficient rights though so I will ping you
to do the same operation for the packaging of python-keycloak

ssh -p 2222 -t tate.internal.softwareheritage.org phabricator-setup-hook /srv/phabricator/repos/216/ post-receive-debian-deps

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for anlambert: 
Connection to tate.internal.softwareheritage.org closed.
ardumont added a comment.EditedTue, Mar 17, 12:31 PM

I confirm the link is installed and target the right one (for debian deps):

tate:~$ ls -la /srv/phabricator/repos/216/hooks/
lrwxrwxrwx 1 phabricator phabricator   39 Mar 16 20:43 post-receive -> ../../../hooks/post-receive-debian-deps