<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/.github, branch v22.03.3</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v22.03.3</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v22.03.3'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2022-12-07T17:17:55Z</updated>
<entry>
<title>CI: kernel: don't checkout and install feeds</title>
<updated>2022-12-07T17:17:55Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-12-07T17:12:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=1c174fe0ba5f8d41ad83188aeda33fe342592569'/>
<id>urn:sha1:1c174fe0ba5f8d41ad83188aeda33fe342592569</id>
<content type='text'>
We don't need to checkout feed and install feeds for kernel tests. This
saves up to 2 minutes for each target kernel build test.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit 925e2a155ee4d4cc792fbf68aa9666e32a1f649b)
</content>
</entry>
<entry>
<title>CI: build: skip sdk adapt to external toolchain on cache hit</title>
<updated>2022-12-07T17:17:46Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-12-07T17:09:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=385f78780cbc9f65d0944d4d16b6a9190ae19e0d'/>
<id>urn:sha1:385f78780cbc9f65d0944d4d16b6a9190ae19e0d</id>
<content type='text'>
On cache hit, skip sdk adapt to external toolchain. This is needed because we
cache the already extracted sdk and that is already adapted to be used
as external toolchain.

Rerunning the adap step will result in the test to fail for missing file
as the file are already got wrapped to the external toolchain format.

Fixes: 42f0ab028e2e ("CI: build: fix use of sdk as toolchain")
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit 99eaedfe3966b1ca812e8a962197cf91286247f7)
</content>
</entry>
<entry>
<title>CI: build: fix use of sdk as toolchain</title>
<updated>2022-12-06T22:48:07Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-12-05T22:23:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=8be50c369bbf12763d88e36f9945dce54b432975'/>
<id>urn:sha1:8be50c369bbf12763d88e36f9945dce54b432975</id>
<content type='text'>
The toolchain included in a sdk have a different format than an external
toolchain tar.

Since sdk is a more integrated setup doesn't use and include wrapper bin
that use the external toolchain config and use an alternative and more
standard way to include all the toolchain headers.

External toolchain use wrapper.sh to append the configured include
header when each tool is called.

Fix the sdk toolchain by reverting their own sdk wrapper scripts and to
simulate an external toolchain build copying what is done in the
toolchain target makefile.

This handle compilation error and warning caused by not using fortify
header on building packages.

Fixes: 006e52545d14 ("CI: build: add support to fallback to sdk for external toolchain")
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit 42f0ab028e2eae0d4e7acf9db7fd68b256f23503)
</content>
</entry>
<entry>
<title>CI: trigger check also on build and check-kernel-patches workflow change</title>
<updated>2022-12-04T20:14:21Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-12-04T19:58:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=309a6f22baeff66213822f3cdb92c4b5fbfbe59c'/>
<id>urn:sha1:309a6f22baeff66213822f3cdb92c4b5fbfbe59c</id>
<content type='text'>
Since kernel and packages workflow now use a shared build workflow, they
also need to react on changes on these shared workflow.

Fix this and add these shared workflow to the event paths to check.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit 644175c29ca11e0a008c58c82986045f738f5c6f)
</content>
</entry>
<entry>
<title>CI: build: fix matching for openwrt release branch for toolchain parsing</title>
<updated>2022-12-04T20:14:21Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-12-04T19:36:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=ec9ca325c0ada75301afff6d994e2443ea1f0eae'/>
<id>urn:sha1:ec9ca325c0ada75301afff6d994e2443ea1f0eae</id>
<content type='text'>
The current match logic doesn't handle test for push events related to
stable release (example openwrt-22.03) but only fork with the related
prefix (example openwrt-22.03-fixup)

Fix wrong matching and while at it also add extra checks to other
matching (check if the branch name actually start with the requested
prefix)

Fixes: e24a1e6f6d7f ("CI: build: add support for external toolchains from stable branch")
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit e3cf2b84e5f8708ca17d931ef60746516c8a2fe4)
</content>
</entry>
<entry>
<title>CI: fix matching for openwrt release branch for container selection</title>
<updated>2022-12-04T20:14:20Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-12-04T19:28:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=63a2ea54707d3f8199f5ce9e24e956840e090dca'/>
<id>urn:sha1:63a2ea54707d3f8199f5ce9e24e956840e090dca</id>
<content type='text'>
The current match logic doesn't handle test for push events related to
stable release (example openwrt-22.03) but only fork with the related
prefix (example openwrt-22.03-fixup)

Fix wrong matching and while at it also add extra checks to other
matching (check if the branch name actually start with the requested
prefix)

Fixes: abe8a4824210 ("CI: build: add support for per branch tools container")
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit 65c3d19c4b28ccac0d08d916de0ffa4c0e7b3dc2)
</content>
</entry>
<entry>
<title>CI: build: add support to fallback to sdk for external toolchain</title>
<updated>2022-12-04T16:37:01Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-11-28T15:12:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=9db78a7e8626913c13eb90225556358512ed5ca2'/>
<id>urn:sha1:9db78a7e8626913c13eb90225556358512ed5ca2</id>
<content type='text'>
Add support to use sdk as external toolchain if the packaged external
toolchain tar is not found on openwrt servers for build shared workflow.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit b59ac2a7d0ff427419e86bd38dea3d8910dd7926)
</content>
</entry>
<entry>
<title>CI: build: add support for external toolchains from stable branch</title>
<updated>2022-12-04T16:37:01Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-11-28T11:44:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=47519a574c9c81bbbaf0338f37d47abf872ccab0'/>
<id>urn:sha1:47519a574c9c81bbbaf0338f37d47abf872ccab0</id>
<content type='text'>
Add support to use external toolchains from stable branch if we are
testing commit targeting stable openwrt branch in kernel and packages
workflow.

With pr the target branch is parsed and the right toolchain is used.

To use the stable toolchain for local testing the branch needs to have
the prefix openwrt-[0-9][0-9].[0-9][0-9]- (example openwrt-21.02-fixup)

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit e24a1e6f6d7f08fb766eb11b8008f8fc5b72d072)
</content>
</entry>
<entry>
<title>CI: build: add support for per branch tools container</title>
<updated>2022-12-04T16:37:01Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-11-27T18:53:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=05c3ee608fdef99f54431cfb6eb53ef7936137c5'/>
<id>urn:sha1:05c3ee608fdef99f54431cfb6eb53ef7936137c5</id>
<content type='text'>
Add support in build shared workflow for per branch tools container.

With pr the target branch is parsed and the right container is used.

To use the stable container for local testing the branch needs to have
the prefix openwrt-[0-9][0-9].[0-9][0-9]- (example openwrt-21.02-fixup)

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit abe8a4824210966e0899724bf4561a89216a1e36)
</content>
</entry>
<entry>
<title>CI: tools: support per branch tools container</title>
<updated>2022-12-04T16:37:00Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-11-27T18:45:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=f3cb0cfdf9747ae525b5aec9775416b34d2dffe9'/>
<id>urn:sha1:f3cb0cfdf9747ae525b5aec9775416b34d2dffe9</id>
<content type='text'>
Add support to push per branch container tools.
For anything not official stick to latest tag that correspond to test
run from master.

If we are testing something for one of the openwrt stable branch, parse
the branch name or the tag and push dedicated tools containers.

To use the stable container for local testing the branch needs to have
the prefix openwrt-[0-9][0-9].[0-9][0-9] (example openwrt-21.02-fixup)

Any branch that will match this pattern openwrt-[0-9][0-9].[0-9][0-9]
will refresh the tools container with the matching tag.
(example branch openwrt-22.03 -&gt; tools:openwrt-22.03)
(example branch openwrt-22.03-test -&gt; tools:openwrt-22.03)

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit 75550771ae76fbcab4160e10b73287f918727384)
</content>
</entry>
</feed>
