<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildbot/phase1, branch v21</title>
<subtitle>LEDE buildbot configuration</subtitle>
<id>https://git-03.infra.openwrt.org/buildbot/atom?h=v21</id>
<link rel='self' href='https://git-03.infra.openwrt.org/buildbot/atom?h=v21'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/'/>
<updated>2024-10-12T08:03:30Z</updated>
<entry>
<title>phase1,phase2: GitPoller: fix deprecated API warning for pollinterval</title>
<updated>2024-10-12T08:03:30Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-10-12T08:03:30Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=3915bd80cec149897f37530eeaba366aa87e2784'/>
<id>urn:sha1:3915bd80cec149897f37530eeaba366aa87e2784</id>
<content type='text'>
Fixes following warning:

 gitpoller.py:103: buildbot.warnings.DeprecatedApiWarning: [3.11.3 and later] pollinterval has been deprecated: please use pollInterval

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>add APK signing logic</title>
<updated>2024-08-10T11:19:10Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-08-06T16:03:21Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=a94d4e15fdc1e9715d7d0cfdcc62227186d0fc45'/>
<id>urn:sha1:a94d4e15fdc1e9715d7d0cfdcc62227186d0fc45</id>
<content type='text'>
With this commit it's possible to sign APK package indexes
(packages.adb) via the `signall.sh` script, which is run on the
buildmaster. As a consequence `apk` must be available on the
buildmaster. This is the final step to replace OPKG with APK.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>phase1: make IsNoMasterBuild function more flexible</title>
<updated>2024-08-07T08:04:04Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-06-13T07:56:38Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=c1aedf4cea4379e4b547668983bdcefac70714a1'/>
<id>urn:sha1:c1aedf4cea4379e4b547668983bdcefac70714a1</id>
<content type='text'>
Work with both master/main

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>phase1: kmodprepare: add apk compat</title>
<updated>2024-08-07T08:03:22Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-06-13T13:52:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=b8c8540edc233b3f58dc3fef8a5fa31016d5124e'/>
<id>urn:sha1:b8c8540edc233b3f58dc3fef8a5fa31016d5124e</id>
<content type='text'>
Ansuel reported, that with `USE_APK=y` there are no kmods available in
the build artifacts, so lets fix it by extending the rsync's include
pattern with the `apk` suffix to make it future proof.

Reported-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1: AnyBranchScheduler: make treeStableTimer configurable</title>
<updated>2024-08-07T08:03:06Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-06-12T18:43:29Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=f558acbc0b3611de70af638110c8faacded3a8cd'/>
<id>urn:sha1:f558acbc0b3611de70af638110c8faacded3a8cd</id>
<content type='text'>
The AnyBranchScheduler will currently wait for 15 minutes before
starting a build.  If new changes are made on the same branch during
this interval, the timer will be restarted.

For staging repository we want faster feedback loop, so we're going to
use much lower value, thus lets make this configurable and handled via
Ansible.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1: make list of builders configurable</title>
<updated>2024-06-01T12:16:36Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-06-01T11:57:11Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=d7c977e0fd5693a6faa930daf1db09bfb40373c0'/>
<id>urn:sha1:d7c977e0fd5693a6faa930daf1db09bfb40373c0</id>
<content type='text'>
Currently we always populate builders (build targets) from the Git tree,
but for staging environment this is usually overkill as we might need
just a bunch of targets, so lets make this configurable.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1: factor out populateTargetsForBranch</title>
<updated>2024-06-01T11:21:23Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2024-06-01T11:21:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=867356244ac2ed9abb4be3e7ccda55c96b10b71a'/>
<id>urn:sha1:867356244ac2ed9abb4be3e7ccda55c96b10b71a</id>
<content type='text'>
Going to make builders (build targets) configurable, so lets factor
current populateTargets into separate function populateTargetsForBranch
which takes a branch as argument. No functional changes.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>phase1,phase2: s/master/main for phase{1,2}</title>
<updated>2024-04-13T04:52:44Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2023-05-23T21:02:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=c8d1bd1f4bec5919ad0f65ba069b14fcaadffcbc'/>
<id>urn:sha1:c8d1bd1f4bec5919ad0f65ba069b14fcaadffcbc</id>
<content type='text'>
More and more projects are switching their repositories to use the
'main' branch instead of the 'master' branch. This also includes many
Linux upstream trees as well. Some trees are even removing their
'master' branches already.

I think this is becoming more and more mainstream and expected of
projects, so we should do the same.

References: https://openwrt.org/voting/2023-02-27
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt; [commit facelift]
</content>
</entry>
<entry>
<title>requirements-dev: use black 23.12.1 and ruff 0.1.9</title>
<updated>2024-04-13T04:17:49Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-12-23T06:43:02Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=e74dce3085f299c2d8b1a94b09687ae88876ef7c'/>
<id>urn:sha1:e74dce3085f299c2d8b1a94b09687ae88876ef7c</id>
<content type='text'>
Fix ruff's recommendation:

 phase2/master.cfg:328:16: E721 Do not compare types, use `isinstance()`

 "Unlike a direct type comparison, isinstance will also check if an
  object is an instance of a class or a subclass thereof."

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>Add linting with flake8 tool</title>
<updated>2024-04-13T04:17:49Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-12-23T06:13:02Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/buildbot/commit/?id=815fc1af29a293c0095b7e6e0e6cba068fe081b9'/>
<id>urn:sha1:815fc1af29a293c0095b7e6e0e6cba068fe081b9</id>
<content type='text'>
flake8 is a Python tool that glues together pycodestyle, pyflakes,
mccabe, and third-party plugins to check the style and quality of some
Python code.

Currently we've issue in phase2 in checksum step:

 /bin/sh: 2: Syntax error: ")" unexpected

And it seems, that flake8 is able to spot places which might lead to
such issues during runtime:

 phase2/master.cfg:733:151: W605 invalid escape sequence '\('
 phase2/master.cfg:733:155: W605 invalid escape sequence '\)'
 phase2/master.cfg:733:158: W605 invalid escape sequence '\('
 phase2/master.cfg:733:162: W605 invalid escape sequence '\)'

So lets enable flake8 checking on the CI so we can spot similar places
in the future and address them before deployment.

We dont want to make current ongoing work on phase2 code harder, thus we
don't touch that part yet, so we whitelist most of the checks for now.

References: f0faed2970dd ("phase2: compute checksums")
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
</feed>
