New csbuild run
Martin Schwenke
martin at meltin.net
Wed May 22 06:31:04 UTC 2019
Hi Noel,
On Tue, 21 May 2019 10:47:18 +0100, Noel Power <nopower at suse.com> wrote:
> On 21/05/2019 02:36, Martin Schwenke via samba-technical wrote:
> > Hi Andreas, On Fri, 17 May 2019 16:34:42 +0200, Andreas Schneider via
> > samba-technical <samba-technical at lists.samba.org> wrote:
> >> I've started a new csbuild run with ctdb included:
> >> https://gitlab.com/samba-team/devel/samba/-/jobs/214444970 csbuild
> >> normally checks a commit range for added errors. With a force push it
> >> will check the last 20 commits. This means it will go back 20
> >> commits, compile everything, then checkout what you pushed and
> >> compare the diff of the output. If there are newly added errors, it
> >> will fail. However it reports a huge amount of problems so that the
> >> log exceeds the allowed size of 8MB. However we should try to address
> >> the issues it finds to get to a smaller size. I normally try to fix a
> >> few of those issues form time to time because it finds a lot of valid
> >> once. It will lead to a much better and cleaner codebase in the end!
> >> Please help fixing those bugs.
> > How can I run this locally on my laptop? peace & happiness, martin
>
> The way I used it last was to run it in docker, that way at least as
> well you are sure you are on the same page as Andreas with respect to
> any error messages etc. (and you know you don't need to set up anything
> extra :-)) you can find the details of the docker image you need in the
> job output above (there probably is a way to see what images are
> available from the gitlab/samba project registry but I don't know how)
>
> docker pull
> registry.gitlab.com/samba-team/devel/samba/samba-ci-fedora29:b4dc3f0b446dbdc20779ae2090de0f5c0da9caef
>
> docker images # which should show something like
>
> REPOSITORY TAG IMAGE ID CREATED SIZE
> registry.gitlab.com/samba-team/devel/samba/samba-ci-fedora29
> b4dc3f0b446dbdc20779ae2090de0f5c0da9caef 85af60d25c85 4 days ago 1.32GB
>
>
> you can then use the image id with to attach to it
>
> docker run -it 85af60d25c85
>
> inside the container you can clone samba git repo and csbuild is
> available for you
Nice idea! Thanks...
I've built a csbuild image on top of samba-ci-fedora29 (with the
csbuild package installed) and have a script to run a container with a
git worktree directory from my home directory inside the container.
I'll bundle it up and put it somewhere when it is reasonably
stable. :-)
It'd sure be nice if the latest samba-ci-fedora29 image had a "latest"
tag... that'd make life much easier! Does anyone know if that can be
done?
Thanks...
peace & happiness,
martin
More information about the samba-technical
mailing list