Hi Otto, On Fri, 2024-12-27 at 09:14 -0800, Otto Kekäläinen wrote: > > 4. Start running Salsa CI on Go team packages manually > > > > The current Go team CI run is incomprehensible to me. It does at least > > *not* test the most important thing a CI in Debian should do, which is > > to tell if a package builds in Debian or not. This can be fixed right > > away by making manual extra Salsa Ci runs easy with > > https://salsa.debian.org/go-team/infra/pkg-go-tools/-/merge_requests/2 > > > > 5. Enable Salsa instance runners in Go team and run Salsa CI automatically > > > > Once 4 is done, we can further tweak the Salsa CI template to best fit > > Go team, and in maybe 3 months follow up by getting a setup that > > automatically runs at least the package build, autopkgtest and Lintian > > jobs from Salsa CI. > > This suggestion 4 was merged in > https://salsa.debian.org/go-team/infra/pkg-go-tools/-/commits/master. > Anyone using this tool should get the new Salsa CI in their project > and can start running Salsa CI manually to get more experience of it.
I'm in full support of these changes, thank you for working on this.
I think it would be a good idea to use the script at [1] to update all
the Go team repos, after it's updated to account for the
"%{project_path}" variable, as well as replacing
"github.com/xanzy/go-gitlab" with its new import path.
It also needs to be updated in dh-make-golang[2] and gophian[3], with
the "%{project_path}" variable again accounted for.
From https://lists.debian.org/debian-go/2024/11/msg00057.html
> Change 'dh-make-golang make' to create a debian/salsa-ci.yml instead
> of debian/gitlab-ci.yml[...]
We could make the config script delete d/gitlab-ci.yml and write to
d/salsa-ci.yml.
--
Maytham Alsudany
Debian Maintainer
maytham @ OFTC
maytha8 @ Libera
[1]:
https://salsa.debian.org/go-team/infra/pkg-go-tools/-/blob/master/config/config.go
[2]: https://github.com/Debian/dh-make-golang/blob/master/template.go#L463
[3]:
https://codeberg.org/Maytha8/gophian/src/branch/main/gophian/cli/make.py#L566
signature.asc
Description: This is a digitally signed message part
