[opensuse-buildservice] Manually trigger publish of package
Hello, I'm writing a publish hook, and want to make sure it works when integrated with my OBS instance. I have already built the package that I want to publish. Is there a way I can make OBS re-run the publish hook without triggering a rebuild? (I don't want to run the publish hook directly.) Kyle -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hello, Afaik "wipe binaries" does it. вт, 14 апр. 2020 г. в 16:13, Kyle Edwards <kyle.edwards@kitware.com>:
Hello,
I'm writing a publish hook, and want to make sure it works when integrated with my OBS instance. I have already built the package that I want to publish. Is there a way I can make OBS re-run the publish hook without triggering a rebuild? (I don't want to run the publish hook directly.)
Kyle -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- Best regards, Dmitriy Perlow -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, Apr 14, 2020 at 9:16 AM Dmitriy Perlow <dap.darkness@gmail.com> wrote:
Hello, Afaik "wipe binaries" does it.
Don't do this. The "wipebinaries" command makes it so you need to rebuild to publish again. -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Dienstag, 14. April 2020, 15:13:32 CEST wrote Kyle Edwards:
Hello,
I'm writing a publish hook, and want to make sure it works when integrated with my OBS instance. I have already built the package that I want to publish. Is there a way I can make OBS re-run the publish hook without triggering a rebuild? (I don't want to run the publish hook directly.)
you can test it using obs_admin --republish-repository .... on you obs server. -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hello Kyle, On Tue, 2020-04-14 at 09:13 -0400, Kyle Edwards wrote:
Hello,
I'm writing a publish hook, and want to make sure it works when integrated with my OBS instance. I have already built the package that I want to publish. Is there a way I can make OBS re-run the publish hook without triggering a rebuild? (I don't want to run the publish hook directly.)
On the backend server, you can run "obs_admin --republish-repository <project> <repository>". Regards, Srinidhi.N�����r��y隊Z)z{.���Wlz��qﮞ˛���m�)z{.��+�:�{Zr�az�'z��j)h���Ǜ�)]���Ǿ� ޮ�^�ˬz��
On Tue, 2020-04-14 at 13:18 +0000, Srinidhi B wrote:
On the backend server, you can run "obs_admin --republish-repository <project> <repository>".
OK, I just ran this command. How long will it take before the hook gets run? Kyle -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, 2020-04-14 at 09:27 -0400, Kyle Edwards wrote:
OK, I just ran this command. How long will it take before the hook gets run?
Never mind, I can see that it's been run. Now time to debug my script. Thanks for the help everyone. Kyle -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, 2020-04-14 at 09:35 -0400, Kyle Edwards wrote:
Never mind, I can see that it's been run. Now time to debug my script. Thanks for the help everyone.
Actually, it looks like the hook is being run but without receiving arguments for the files. Is there a way I can run --republish- repository with the desired binary files? Kyle -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, 2020-04-14 at 09:38 -0400, Kyle Edwards wrote:
Actually, it looks like the hook is being run but without receiving arguments for the files. Is there a way I can run --republish- repository with the desired binary files?
I tried using --unpublish-repository followed by --publish-repository and --republish-repository, but the files are still missing from /srv/obs/repos. How can I get the files back into the repo? Kyle -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi, On Tue, 2020-04-14 at 09:27 -0400, Kyle Edwards wrote:
OK, I just ran this command. How long will it take before the hook gets run?
Check /srv/obs/log/publisher.log - if you configured it correctly, then you should see a line saying: calling published hook /path/to/script Regards, Srinidhi.N�����r��y隊Z)z{.���Wlz��qﮞ˛���m�)z{.��+�:�{Zr�az�'z��j)h���Ǜ�)]���Ǿ� ޮ�^�ˬz��
participants (5)
-
Adrian Schröter
-
Dmitriy Perlow
-
Kyle Edwards
-
Neal Gompa
-
Srinidhi B