From: Baurzhan Ismagulov <ibr@radix50.net>
To: isar-users <isar-users@googlegroups.com>
Subject: Re: [Discussion]: Metadata to consolidate and rebuild base-apt from distributed CI builds
Date: Fri, 4 Mar 2022 11:03:00 +0100 [thread overview]
Message-ID: <YiHj1KTffbhLxPl5@ilbers.de> (raw)
In-Reply-To: <CALLGG_Loaquf2fOOXmMpUtSSDZ-gTAU8oR2Kcd17OLQtE9wBvw@mail.gmail.com>
On Thu, Mar 03, 2022 at 07:15:40PM +0530, vijai kumar wrote:
> If we are in agreement then we can think about how to achieve this.
> There are changes coming in soon, so the implementation should take
> that into consideration.
>
> I am not sure if the caching part is reworked. If so having an idea on
> the design would definitely help;
Thanks Vijai for the discussion. In short, we've already started further
base-apt improvement due to a number of reasons, e.g.:
* Strict usage of base-apt for debootstrap and build-dep to ensure base-apt
correctness in any build.
* Pluggability of debootstrap, which is necessary for multistrapping, sudo
removal, and maintainability.
* We need to know which PN-PV is satisfiable from which location (base-apt,
isar-apt, bitbake) in order to use Debian Build-Depends in bitbake.
python-apt provides the necessary functionality. After we have the above, more
necessary use cases become possible. E.g., storing and reusing built packages
in per-layer apt repos.
We also want to have parallel building. For us, it comes more from the CI side,
as we have 3 h for fast and 10 h for full testsuite on the latest inexpensive
hardware. The first step would be to parallelize the testcases with storing of
intermediate results in a shared location. The second step would be extending
that to individual bitbake tasks. Maybe icecc would be good enough to cover
either or both, we have to test.
Regarding your implementation proposal, I think that could be done. However,
I'd like to better understand the motivation first. Is it e.g. creating a
canonical repo for a given project? That would be easier to implement on top of
the above.
Regarding downloading time -- we had tested full local Debian mirrors and
didn't see any performance improvement of CI jobs. We haven't dug deeper, maybe
we have some parallelization killers in Isar.
Regarding the central repo for remote building sites -- in my experience, it is
very slow, our customers end up installing local replication servers.
We aim at full Debian support, be it packages, repos, or images. Debian, being
a binary server / desktop distribution and not a source-based development kit,
has a number of inflexibilities such as sudo, versioning, rules, etc.; we would
like to work towards more developer friendliness here. Bitbake and Yocto
contribute much here, and we would like to find a good working solution.
That is why we welcome this use case and would like to work on that after
understanding the details. Jan told me you already had some implementations for
this. You also mention time and costs. Could you please share the concept
behind the work so far, and which time and costs you mean? Then we could
proceed step by step while having the big picture in mind.
With kind regards,
Baurzhan.
next prev parent reply other threads:[~2022-03-04 10:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-22 10:34 vijai kumar
2022-02-22 14:31 ` Henning Schild
2022-02-24 13:20 ` vijai kumar
2022-02-24 15:42 ` Henning Schild
2022-02-25 17:27 ` Jan Kiszka
2022-03-03 13:45 ` vijai kumar
2022-03-04 10:03 ` Baurzhan Ismagulov [this message]
2022-03-07 7:23 ` vijai kumar
2022-03-15 11:45 ` Baurzhan Ismagulov
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=YiHj1KTffbhLxPl5@ilbers.de \
--to=ibr@radix50.net \
--cc=isar-users@googlegroups.com \
/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