Hi All,

I just configured salsa-CI pipeline for 'user-setup', and it seems to
work, so I thought I'd say what was involved so that others can do the
same for other bits of d-i in a similar manner ... if they get to it
before I do (and also so I don't forget things next time I do it :-) ).

The first thing to do is configure the 'Custom CI config path' to be:

  debian/salsa-ci.yml

(which can be found under Settings / CI/CD / General in the web UI)

Then you should ensure that the KGB webhook isn't going to be too
chatty, by unselecting the 'Job Events' setting in the webhook.  We
probably only want to hear about the pipelines when they finish as well,
so adding this to the URL will do that:

  ;pipeline_only_status=failed;pipeline_only_status=success

(these settings are found under Settings / Integrations )

Once that's all correct, you can add the configuration file, thus:

  
https://salsa.debian.org/installer-team/user-setup/blob/f02faef05ecf63cd0817624307839401af81805b/debian/salsa-ci.yml

and you should see it pop into life in IRC.

I'm sure there are ways of scripting the above using the gitlab API, so
once I've discovered how I'll think about applying similar changes to
all our repos -- if you already know how to prod the API, feel free to
tell me.

Cheers, Phil.
-- 
|)|  Philip Hands  [+44 (0)20 8530 9560]  HANDS.COM Ltd.
|-|  http://www.hands.com/    http://ftp.uk.debian.org/
|(|  Hugo-Klemm-Strasse 34,   21075 Hamburg,    GERMANY

Attachment: signature.asc
Description: PGP signature

Reply via email to