From: Mark Wielaard <mark@klomp.org>
To: Mark Wielaard via Overseers <overseers@sourceware.org>
Cc: buildbot@sourceware.org, "Arsen Arsenović" <arsen@aarsen.me>,
"Gerald Pfeifer" <gerald@pfeifer.com>,
"Nick Clifton" <nickc@redhat.com>,
"Dodji Seketeli" <dodji@seketeli.org>,
"Jose E. Marchesi" <jemarch@gnu.org>
Subject: Re: Using builder for (documentation) snapshots
Date: Tue, 11 Apr 2023 10:19:57 +0200 [thread overview]
Message-ID: <20230411081957.GE6496@gnu.wildebeest.org> (raw)
In-Reply-To: <20230409113050.GA6496@gnu.wildebeest.org>
Hi,
On Sun, Apr 09, 2023 at 01:30:50PM +0200, Mark Wielaard via Overseers wrote:
> Thanks to OSUOSL we now have an extra buildbot worker with extra
> storage so we can do container builds and publish (documentation)
> snapshots. https://snapshots.sourceware.org/
>
> It acts like a normal buildbot (x86_64) container worker, except that
> whatever is left in the output directory will be available through the
> snapshots server.
>
> Some examples of where this is useful:
>
> - elfutils test coverage reports. Currently they are only produced (by
> hand) once an official release is made. Ideally we have coverage
> reports of current git.
>
> - snapshots of binutils or gnupoke which are either currently done by
> hand (and so need a script to be written to automate) or which have
> a non-trivial boostrap script.
>
> - generating the gcc documentation using the lowest and highest
> supported version of texinfo to make sure it works and looks as
> intended.
>
> - Generating the documentation/website of libabigail which is
> currently done by hand and needs a specific setup to generate from
> the source code with sphynx.
>
> - valgrind the html and pdf manuals are currently only generated by
> hand during a release.
>
> - dwarfstd.org is automatically generated through a git hook from the
> main branch, but people have wanted to show how things look from a
> specific branch.
>
> There is an example of how to do the elfutils coverage report in
> builbot.git:
> https://sourceware.org/cgit/builder/commit/?id=365a64a19b9a4b3cd677ec377dd1574e4dcdf022
> This also contains the setup instructions of the snapshots server plus
> scripts used. The output can be seen here:
> https://snapshots.sourceware.org/elfutils/coverage/
>
> I'll help setup the other examples.
I added two more:
libabigail manual, api docs and website:
https://snapshots.sourceware.org/libabigail/html-doc/
https://sourceware.org/cgit/builder/commit/?id=39641bd063c4bbeab4ce4f38625f1140a84f5b4d
valgrind trunk snapshot, manual and doc (pdf) downloads:
https://snapshots.sourceware.org/valgrind/trunk/
https://sourceware.org/cgit/builder/commit/?id=f338a430db0382d9bd26b447cfe762566c9e7935
The idea is the same:
- Pick or create a new container file (add any build dependencies)
- Add a Periodic for the project (trigger every 15 minutes, checking
for any changes on a specific branch)
- Create a BuildFactory with build steps (ideally existing make
targets or a build script in the repo) which put any artifacts under
the output dir and create a publish file containing the intended
(branch/topic) name.
- Add a BuildConfig using the container file and build factory.
Cheers,
Mark
prev parent reply other threads:[~2023-04-11 8:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-09 11:30 Mark Wielaard
2023-04-11 8:19 ` Mark Wielaard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230411081957.GE6496@gnu.wildebeest.org \
--to=mark@klomp.org \
--cc=arsen@aarsen.me \
--cc=buildbot@sourceware.org \
--cc=dodji@seketeli.org \
--cc=gerald@pfeifer.com \
--cc=jemarch@gnu.org \
--cc=nickc@redhat.com \
--cc=overseers@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).