<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/hauke/.github, branch v21.02.7</title>
<subtitle>Hauke Mehrtens staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/hauke/atom?h=v21.02.7</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/hauke/atom?h=v21.02.7'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/'/>
<updated>2023-01-04T18:35:17Z</updated>
<entry>
<title>CI: build: fix external toolchain use with release tag tests</title>
<updated>2023-01-04T18:35:17Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2023-01-04T18:26:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=e819523f907480985caf62ff885a16f6e669be07'/>
<id>urn:sha1:e819523f907480985caf62ff885a16f6e669be07</id>
<content type='text'>
When a new tag for a release is created, the just checkout repo from
github actions will already have such tag locally created.

This will result in git fetch --tags failing with error rejecting the
remote tag with (would clobber existing tag).

Add -f option to overwrite any local tags and always fetch them from
remote.

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 f655923b362e9f2d70672eee9c1fa82550a145a6)
</content>
</entry>
<entry>
<title>CI: kernel: don't checkout and install feeds</title>
<updated>2022-12-07T17:18:33Z</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/hauke/commit/?id=295c612a4a76e9f0860e2efdb609a38bc74d3e4a'/>
<id>urn:sha1:295c612a4a76e9f0860e2efdb609a38bc74d3e4a</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:18:25Z</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/hauke/commit/?id=50ad1e5619b7c28b6bda96b67d4cc14091e9e4db'/>
<id>urn:sha1:50ad1e5619b7c28b6bda96b67d4cc14091e9e4db</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:41Z</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/hauke/commit/?id=d03c520e75ec0a744483a3f57eea35d01fcd298f'/>
<id>urn:sha1:d03c520e75ec0a744483a3f57eea35d01fcd298f</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:13:47Z</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/hauke/commit/?id=be3b061d7bbf425c95ef9108a37c51747c0025e9'/>
<id>urn:sha1:be3b061d7bbf425c95ef9108a37c51747c0025e9</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:13:47Z</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/hauke/commit/?id=8df40b136a172db2d65745695a60515395339413'/>
<id>urn:sha1:8df40b136a172db2d65745695a60515395339413</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:13:46Z</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/hauke/commit/?id=d48f38c30f7c3d8458d86fec238b5153f78df297'/>
<id>urn:sha1:d48f38c30f7c3d8458d86fec238b5153f78df297</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: labeler: fix wrong label for pr targeting stable branch</title>
<updated>2022-12-04T16:47:12Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-12-01T00:46:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=26f35c40b624600b07292951c0ced58db500ce66'/>
<id>urn:sha1:26f35c40b624600b07292951c0ced58db500ce66</id>
<content type='text'>
The label used for stable branch is in the form of
release/[0-9][0-9].[0-9][0-9]
Currently we apply the name of the target branch as the label, fix this
and correctly use the current label.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit af8bc8e51b6daef65c497522b67a1dd9d0cdab84)
</content>
</entry>
<entry>
<title>CI: add support to tag pr targeting stable branch</title>
<updated>2022-12-04T16:47:01Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-11-29T18:53:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=ee05f20e9717669d979a8666d74b70fd3eb0e7a9'/>
<id>urn:sha1:ee05f20e9717669d979a8666d74b70fd3eb0e7a9</id>
<content type='text'>
Add support to tag pr targeting stable branch matching the simple regex
of openwrt-[0-9][0-9].[0-9][0-9]. The tag that will be added will match
the pr target branch.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit b67d284e93ee052e3ea3abb5d3dae55723ce0353)
</content>
</entry>
<entry>
<title>CI: build: add support to fallback to sdk for external toolchain</title>
<updated>2022-12-04T15:28:31Z</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/hauke/commit/?id=006e52545d1421affba9c993c70996e0f9f6e596'/>
<id>urn:sha1:006e52545d1421affba9c993c70996e0f9f6e596</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>
</feed>
