Mailinglist Archive: opensuse-buildservice (48 mails)

< Previous Next >
[opensuse-buildservice] Re: OBS + GitHub - deprecation of GitHub Services
  • From: Andreas Schwab <schwab@xxxxxxx>
  • Date: Thu, 25 Oct 2018 10:13:40 +0200
  • Message-id: <mvmmur2phor.fsf@suse.de>
On Okt 25 2018, Stephan Kulow <coolo@xxxxxxx> wrote:

Am 25.10.18 um 09:23 schrieb Christian:
Am 24.10.18 um 21:00 schrieb Stephan Kulow:
The URL is https://build.opensuse.org/trigger/webhook?id=$TOKEN_ID

The token_id is listed on osc tokens and you have to put the
token itself as secret
the webhook config on GitHub is split up into two config parts ..
1) Payload URL:
2) secret

did you test it that way ?


coolo@cleopatra#~>osc token --create home:coolo demopac
Create a new token
<status code="ok">
<summary>Ok</summary>
<data name="token">aWup8hf2dzF8c2GPfoKn1BpV</data>
<data name="id">1920</data>
</status>

And then paste aWup... into the secret:
https://pasteboard.co/HK3ry5c.png

Are you sure it's the token id and not the token string that you need to
use? osc token --trigger also uses the token string.

Andreas.

--
Andreas Schwab, SUSE Labs, schwab@xxxxxxx
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups