Commit Graph

146 Commits

Author SHA1 Message Date
Steve Sakoman
a8b69d3eb3 schedulers: update branchdefaults for walnascar
Signed-off-by: Steve Sakoman <steve@sakoman.com
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-24 21:41:16 +01:00
Richard Purdie
02ac6aee13 schedulers: Fix bug in scheduler started job coverage
Jobs started by the nightly scheduler were failing as sourcestamps are empty for these.
This meant that additional branch specific target triggers were not being handled and
jobs were being missed.

Switch to using the yo_build_branch property which was the original intention and
should always be set, fixing the jobs being started.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-29 12:07:13 +01:00
Martin Jansa
ae16bba725 schedulers: set meta-webosose branch to scarthgap-webos for scarthgap builds
* scarthgap based build was triggered today:
  https://autobuilder.yoctoproject.org/valkyrie/#/builders/51/builds/39

  but it failed, because it uses meta-webosose from master branch not scarthgap-webos, missing the 3 commits from:
  https://github.com/webosose/meta-webosose/compare/master...scarthgap-webos

* adjust branch_meta-webosose
* add entry for meta-qt6 like kirkstone build has (but this
  isn't really necessary as the 6.8.1 is the default)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-19 11:51:05 +01:00
Hieu Van Nguyen
57ce5383cf schedulers: add meta-webosose scheduled build for scarthgap
Support to build meta-webosose for both of kirkstone and scarthgap
branches.

Signed-off-by: Hieu Van Nguyen <hieu2.nguyen@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-14 10:58:32 +01:00
Peter Marko
3e2e8b84e4 schedulers: add walnascar jobs
* add metrics job (which also shifts master job by 15 minutes)
* replace weekly/monthly styhead jobs by walnascar
* add docs job

This should make walnascar to have the same jobs as styhead before this
patch and to scarthgap.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-14 09:37:05 +01:00
Steve Sakoman
6b34ebf0cb schedulers: update branchdefaults for walnascar
Signed-off-by: Steve Sakoman <steve@sakoman.com
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-05-07 15:15:40 +01:00
Mathieu Dubois-Briand
c001d4c8b7 schedulers: Fix meta-webosose scheduler codebases
Make sure to use the correct yocto-autobuilder-helper branch when
building meta-webosose. Kirkstone builds should use kirkstone branch
instead of master.

Prepare for supporting build of other meta-webosose branches.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-28 10:51:11 +01:00
Richard Purdie
93d7a4a9b5 schedulers: Add missing walnascar release selector
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-24 21:02:28 +01:00
Martin Jansa
21b5aa780e config.py: Update meta-qt6 from 6.7.2 to 6.8.1
meta-qt6 is only used for the webosose builder and webosose now uses 6.8.1 after:
f2155a6afc
c9440cb8f0

This update avoids:
WARNING: meta-qt6/recipes-qt/squish/squish_7.2-20240124-0915.bb: squish is currenly not supported, build produces empty packages!

shown on webosose builds on autobuilder, newer squish is included
in meta-qt6 since:
https://codereview.qt-project.org/c/yocto/meta-qt6/+/611845/6
this time without "inherit disable-build" which was showing that
warning while parsing.

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-04-01 21:54:01 +01:00
Richard Purdie
4da09afaac schedulers: Add walnascar
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-26 17:59:17 +00:00
Richard Purdie
37c704b6a8 schedulers: Add daily scheduler for metrics-gitstats
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-03-07 14:48:16 +00:00
Mathieu Dubois-Briand
253d1f5bd7 schedulers: Fix missing parenthesis in field label
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-02-06 11:56:14 +00:00
Antonin Godard
8f6709cf0f schedulers: docs: pass properties to branch schedulers
Unlike the ForceScheduler, the AnyBranchScheduler does not take a list
of parameters but a simple dict. Add a repos_dict_for_scheduler() helper
that returns a dict containing the {repo,branch}_<repo> keys mapping to
the values in config.py. These are used in the factory definition of the
docs build (see the Git steps).

Also add the missing "yab-helper" to the bitbake-docs-changed scheduler.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 15:43:12 +00:00
Antonin Godard
afa838d962 docs build: make it possible to override repo settings
In the current form when forcing a docs build, the different repo
parameters do nothing and are not propagated. The properties from
props_for_builder() are propagated, but weren't used in the factory
definition.

So use FixedParameters in the codebases definition: this removes the
useless entries in the form (we cannot simply remove the codebases arg
or it triggers another error "No sourcestamp found in build for
codebase"). Then in config.py, populate the "docs" entry in
buildertorepos, so that these show up in the form. Finally, in the docs
factory build, use Interpolate to get the property (I had issues using
util.Property directly).

Note: in latest buildbot version I hit a known bug
https://github.com/buildbot/buildbot/issues/8274. It shouldn't affect us
since we use an older version of Buildbot, but leaving this here just in
case.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-10 15:43:12 +00:00
Richard Purdie
7a517815e0 schedulers: Switch to a-full once a day
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-02 23:02:55 +00:00
Mathieu Dubois-Briand
1cc6527125 config.py: Update meta-qt6 from 6.6.0 to 6.7.2
meta-qt6 is only used for the webosose builder and webosose now needs
Qt6.7.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-05 11:29:39 +00:00
Richard Purdie
29a5a12025 schedulers: Fix styhead for meta-ti
meta-ti will never have a styhead branch. Have the scheduler point to a valid branch.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-28 14:38:05 +00:00
Mathieu Dubois-Briand
15f37f7101 schedulers: Add codebase on all forced builds
Adding the code base with no name and a label on sub-builders, so it
adds the missing "yocto-autobuilder-helper" header on the build start
pop-up. This mimic the behaviour we already have for the a-full/a-quick
builds.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-24 10:32:39 +01:00
Mathieu Dubois-Briand
f6a7a67425 builders/config: Use a shorter codebase name for docs
The introduction of codebases for docs builder changed the git clone
steps internal names, as they are now suffixed with the codebase name.
This new name for the yocto-autobuilder-helper seems to be too long for
the database used on our autobuilder and triggers an exception. Use a
shorter codebase name to fix this issue.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-23 15:26:47 +01:00
Mathieu Dubois-Briand
b6a8b1eac1 schedulers: Add branch selector for Mathieu
As Alexandre is no longer using the autobuilder daily, remove his branch
selector and add mine.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-23 11:35:33 +01:00
Mathieu Dubois-Briand
06dfc4e43a builders/config: Fix docs builder with custom branches
While most of the builds on the autobuilder rely on the
shared-repo-unpack helper script and do not use the Buildbot codebases,
the "docs" builder use Buildbot traditional way to setup sources. As a
consequence, we have to use Buildbot codebases, otherwise the same
branch name is used for all cloned repos.

Add the codebase specifications for all three repos used by the docs
builder. Also remove them from the repos list, as these fields are not
used.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-23 11:34:55 +01:00
Richard Purdie
64cbb9b0ef schedulers: Add styhead
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 12:38:35 +01:00
Richard Purdie
3ba986a65a schedulers: Drop nanbield
The nanbield release is out of maintenance now, stop running metrics for it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 10:26:01 +01:00
Richard Purdie
b3eea6d45e Revert "schedulers.py: Set indexing to every few hours to minimise console disruption for now"
This reverts commit 11a1e0a899.
2024-07-15 16:05:09 +01:00
Richard Purdie
11a1e0a899 schedulers.py: Set indexing to every few hours to minimise console disruption for now
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-12 23:42:59 +01:00
Richard Purdie
a3cbeaff08 schedulers: Add missing clang branch targets
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-12 17:18:18 +01:00
Richard Purdie
c7a0d152be config/schedulers: Add indexing target run every 15 mins
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-12 17:16:49 +01:00
Ross Burton
d9dc0d0a52 schedulers.py: add meta-webosose scheduled build
Add a scheduled build (2am on Friday) to run meta-webosose for kirkstone.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-10 13:04:33 +01:00
Richard Purdie
ad6a94fd31 schedulers: Add mappings for meta-security
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-09 12:09:13 +01:00
Alexandre Belloni
7210d227d1 schedulers: switch meta-agl branches
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-27 11:20:46 +01:00
Steve Sakoman
9b1b82f856 schedulers: update branchdefaults for scarthgap
Signed-off-by: Steve Sakoman <steve@sakoman.com
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-15 18:01:17 +01:00
Richard Purdie
ef9002c68e scheedulers: Move from nanbield to scarthgap
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 13:20:28 +01:00
Richard Purdie
2538d651b7 schedulers: Drop mickledore metrics, add scarthgap
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-26 08:54:33 +01:00
Alexandre Belloni
eda13d08fe schedulers: ensure correct branch is used for meta-exein for nanbield
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-28 17:46:56 +00:00
Richard Purdie
b839dfa52c Revert "schedulers: metrics: Start with master for the daily full download"
This reverts commit 839c3cedbf.

There are assumptions in the code that master runs last, not first.
2024-03-15 17:26:20 +00:00
Yoann Congal
839c3cedbf schedulers: metrics: Start with master for the daily full download
Change the order of metrics branches:
* First, master at 5am which may do the full CVE download (might take
  1 hour to finish).
* Then, the other branches starting at 6am to allow them to use the
  fresh download.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-03-13 22:07:12 +00:00
Richard Purdie
265ecf42d8 Add scarthgap release basic config
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-18 12:53:55 +00:00
Richard Purdie
90129562dd config/schedulers: Fix meta-exein branch naming
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 23:08:39 +00:00
Yoann Congal
43b1651530 schedulers: decrease frequency of meta-oe-mirror on stable branches
Since the stable meta-oe branches tend to be updated once a month. Run
meta-oe-mirror twice a month to be sure to catch every update.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-26 16:58:22 +00:00
Alexandre Belloni
84fa26a0aa schedulers: drop meta-oe-mirror and reproducible-meta-oe from SWAT monitoring
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-26 15:42:16 +00:00
Richard Purdie
cbaa040e25 schedulers: Run toaster tests daily
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-23 22:21:41 +00:00
Yoann Congal
70b4f9ae4a schedulers: Run reproducible-meta-oe for master once a week on weekends
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-23 22:19:56 +00:00
Alexandre Belloni
7b98f5ecc5 schedulers: use proper bitbake repo and branch for abelloni-next
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-20 12:01:41 +00:00
Richard Purdie
8e332bf764 schedulers: Drop mickledore for meta-oe/layer-checks
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-01-08 13:34:33 +00:00
Richard Purdie
109e5a9e7e schedulers: Update nanbield branch availability
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-30 11:16:36 +00:00
Richard Purdie
49e24439a4 schedulers: Ensure top level branch set correctrly for metrics
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-03 08:33:39 +00:00
Richard Purdie
18486130eb schedulers: Fix metrics branch names
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-24 08:55:41 +01:00
Richard Purdie
297acacc49 metrics: Schedule metrics runs closer together
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-23 17:21:37 +01:00
Richard Purdie
e90e9ddec0 schedulers: Schedule metrics run per branch
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-23 16:49:47 +01:00
Richard Purdie
60531af778 config/schedulers: Add config for nanbield
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 13:15:55 +01:00