#9460 unknown script to sync pagure repo to github
Closed: Invalid 3 years ago by pingou. Opened 3 years ago by pingou.

Describe what you would like us to do:


Yesterday a ticket was opened about a failure to sync a pagure project to github:
https://pagure.io/pagure/issue/5028

The relevant section being:

remote: Pushing to github...        
remote: fatal: cannot run /opt/git-ssh-key.sh: No such file or directory        
remote: fatal: cannot run /opt/git-ssh-key.sh: No such file or directory        
remote: fatal: unable to fork       

This is coming from a old-style git hooks that was specifically written for the freeipa project on pagure.io.

The script can be seen at: /srv/git/repositories/freeipa.git/hooks/post-receive.ghpush and references a script /opt/git-ssh-key.sh which does not exist on pagure02 and I've no idea where it comes from or what it contained.

If we still have the old disk image from pagure01 could we retrieve that script (and put it in ansible) ?

Otherwise, I think we'll have to drop this git hook (the pagure mirroring hook should be sufficient to achieve this, I'll double check with the freeipa folks).

When do you need this to be done by? (YYYY/MM/DD)


ASAP


Alright we've confirmed that the old hook is no longer needed, so I've removed it and this ticket can be closed.

I'll open another one to add nagios monitoring on some of the pagure services as this was the underlying issue...

Metadata Update from @pingou:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata