[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: golang-go.crypto 0.36.0 for trixie?



> I am curious, and with my Salsa CI hat on, are you able to share how
> do you build the rev deps on Salsa?

Simple example:

https://salsa.debian.org/jas/sigstore-go/-/blob/debian/latest/debian/salsa-ci.yml?ref_type=heads

The relevant part is including this template:

https://salsa.debian.org/jas/reverse-dependency-ci/-/raw/jas/my-rdep-ci/ci-template.yml

and then adding a job definition for each reverse dependency:

build-rdep-cosign:
  variables:
    REVERSE_DEP: cosign
  extends: .rdep-build-definition

Of course, doing that manually is boring, so the advanced example is
finding out the list of packages semi-automatically by adding the
package to your fork of the reverse-dependency-ci project.  For
example:

https://salsa.debian.org/jas/golang-github-sigstore-sigstore/-/blob/debian/sid/debian/salsa-ci.yml?ref_type=heads

Note how it includes this file:

https://jas.pages.debian.net/reverse-dependency-ci/golang-github-sigstore-sigstore.yml

That file is automatically generated by the pipeline of this project:

https://salsa.debian.org/jas/reverse-dependency-ci/

This has been a useful workflow for me for several years now.  Many
thanks to Bernd Zeimetz who got this ball started.

Wrapping this up for standard inclusion into the Salsa pipeline is work
in progress here - although I haven't had time to push this along.

https://salsa.debian.org/salsa-ci-team/pipeline/-/merge_requests/470

/Simon

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: