https://gitcode.net/mirror/openwrt/routing/-/commit/c993ee8a893c04baef602574ca9353ce4c72e11eCI: deprecate $(AUTORELEASE) via comments2023-06-26T11:29:59+02:00Paul Spoorenpaul.spooren@rhebo.com
Autorelease causes some issues like heavy bandwidth usage as well as
non-deterministic package releases whenever someone doesn't use the full
git log.
With this comment all modified packages are checked and if they use
the autorelease feature, kindly comment to the user to change that.
Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:paul.spooren@rhebo.com" title="paul.spooren@rhebo.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg1" style="text-decoration: none">N</a><a href="mailto:paul.spooren@rhebo.com" title="paul.spooren@rhebo.com">Paul Spooren</a> <<a href="mailto:paul.spooren@rhebo.com" title="paul.spooren@rhebo.com">paul.spooren@rhebo.com</a>></span>
[ move check to separate workflow to handle ci limitation ]
Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:ansuelsmth@gmail.com" title="ansuelsmth@gmail.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg2" style="text-decoration: none">N</a><a href="mailto:ansuelsmth@gmail.com" title="ansuelsmth@gmail.com">Christian Marangi</a> <<a href="mailto:ansuelsmth@gmail.com" title="ansuelsmth@gmail.com">ansuelsmth@gmail.com</a>></span>https://gitcode.net/mirror/openwrt/routing/-/commit/b3b01af314ec675b0b2ee0497a7b9c90d2e9e631ci: only comment AUTORELEASE deprecation if exists2023-06-26T11:29:59+02:00Paul Spoorenmail@aparcar.org
If it doesn't exists, don't confuse the contributors.
Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:mail@aparcar.org" title="mail@aparcar.org"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg1" style="text-decoration: none">N</a><a href="mailto:mail@aparcar.org" title="mail@aparcar.org">Paul Spooren</a> <<a href="mailto:mail@aparcar.org" title="mail@aparcar.org">mail@aparcar.org</a>></span>https://gitcode.net/mirror/openwrt/routing/-/commit/7928f7d3990c7bae097224d90c28590a45405686CI: update build architectures2023-06-26T11:29:59+02:00Tianling Shencnsztl@immortalwrt.org
Removed arc_archs - archs38 was marked as source-only [1].
Renamed powerpc_8540 to powerpc_8548 [2].
1. <a href="https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=c01641bcc7236d2e2de3ea65444b0cf2898df351" rel="nofollow noreferrer noopener" target="_blank">https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=c01641bcc7236d2e2de3ea65444b0cf2898df351</a>
2. <a href="https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=2cad88b99fdae9766de84e6c1cb56f111eb53748" rel="nofollow noreferrer noopener" target="_blank">https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=2cad88b99fdae9766de84e6c1cb56f111eb53748</a>Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:cnsztl@immortalwrt.org" title="cnsztl@immortalwrt.org"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg6" style="text-decoration: none">N</a><a href="mailto:cnsztl@immortalwrt.org" title="cnsztl@immortalwrt.org">Tianling Shen</a> <<a href="mailto:cnsztl@immortalwrt.org" title="cnsztl@immortalwrt.org">cnsztl@immortalwrt.org</a>></span>https://gitcode.net/mirror/openwrt/routing/-/commit/53a53b8ee38d79083ff59e656798948f9b0a7e68CI: Add --autoremove, ignore removal errors2023-06-26T11:29:59+02:00Jeffery Tojeffery.to@gmail.com
836b4e1c734f9705bfd8db0da0c04214c2647932 added
--force-removal-of-dependent-packages but it does not do what the commit
message says it does.
When package A depends on package B (package B is a dependency of
package A; package A is a dependent of package B), trying to remove
package B while package A is installed will result in an error. Adding
--force-removal-of-dependent-packages in this case will cause the
removal of package B and package A (package B's dependent).
But in the case of the CI testing step, it is package A that is being
installed and removed. Removing package A with
--force-removal-of-dependent-packages will not cause package B (package
A's dependency) to be removed.
This adds --autoremove to actually remove the package's dependencies.
This also ignores any errors returned by opkg remove as --autoremove can
sometimes falsely return an error[1].
[1]: <a href="https://github.com/openwrt/openwrt/issues/12241" rel="nofollow noreferrer noopener" target="_blank">https://github.com/openwrt/openwrt/issues/12241</a>
Fixes: 836b4e1c734f ("github-ci: add --force-removal-of-dependent-packages")
Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg6" style="text-decoration: none">N</a><a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com">Jeffery To</a> <<a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com">jeffery.to@gmail.com</a>></span>https://gitcode.net/mirror/openwrt/routing/-/commit/f818fe716ea126dd8240c9600f92e5b412d59060CI: Add local feed for CI-built packages2023-06-26T11:29:59+02:00Jeffery Tojeffery.to@gmail.com
To test each package, the CI-built target package (ipk) file is
installed, but currently the target package's dependencies are installed
from the standard opkg feeds.
There are cases when the CI-built target packages should be
installed/tested together:
* If a pull request contains several new packages that depend on each
other, the test step will fail as the new dependencies cannot be found
in the current packages feed.
* If a pull request upgrades a source package that builds several target
packages that depend on each other, the test step may fail due to the
version/ABI mismatch between a newer target package and the older
dependencies installed from the packages feed.
This sets up a local feed for the CI-built packages so that dependencies
are also installed from the same set of packages.
Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg6" style="text-decoration: none">N</a><a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com">Jeffery To</a> <<a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com">jeffery.to@gmail.com</a>></span>https://gitcode.net/mirror/openwrt/routing/-/commit/61997c86b01c83320a2cbb1b490941a8af741253cache-domains: added pre-test.sh CI step2023-06-26T11:29:59+02:00Gerard RyanG.M0N3Y.2503@gmail.com
Some packages variants have conflicting dependencies with the
base packages and the CI test will fail to install before anything
can be done by the packages to setup the system for install.
This change adds a pre-test.sh that runs before the install so things
like the default libustream variant can be swapped out as shown in the
updated cache-domains.
Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:G.M0N3Y.2503@gmail.com" title="G.M0N3Y.2503@gmail.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg6" style="text-decoration: none">N</a><a href="mailto:G.M0N3Y.2503@gmail.com" title="G.M0N3Y.2503@gmail.com">Gerard Ryan</a> <<a href="mailto:G.M0N3Y.2503@gmail.com" title="G.M0N3Y.2503@gmail.com">G.M0N3Y.2503@gmail.com</a>></span>https://gitcode.net/mirror/openwrt/routing/-/commit/28d204148a7cad8f1ee903bf6af4dae234b28119CI: Enable runtime_test for mips_24kc2023-06-26T11:29:59+02:00Van Waholtzbrvphoenix@gmail.comSigned-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:brvphoenix@gmail.com" title="brvphoenix@gmail.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg5" style="text-decoration: none">N</a><a href="mailto:brvphoenix@gmail.com" title="brvphoenix@gmail.com">Van Waholtz</a> <<a href="mailto:brvphoenix@gmail.com" title="brvphoenix@gmail.com">brvphoenix@gmail.com</a>></span>https://gitcode.net/mirror/openwrt/routing/-/commit/89cf0d561977c028b45e5ab6db1b34dab27b9a11CI: Run "apt-get update" before installing signify-openbsd2023-06-26T11:29:59+02:00Jeffery Tojeffery.to@gmail.comSigned-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg5" style="text-decoration: none">N</a><a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com">Jeffery To</a> <<a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com">jeffery.to@gmail.com</a>></span>https://gitcode.net/mirror/openwrt/routing/-/commit/299ee2b1cfd20a7c9d31e8024b4333e8da035af3CI: Do package run-tests only if target packages were built2023-06-26T11:29:59+02:00Jeffery Tojeffery.to@gmail.com
Currently, the package run-test phase will fail for PRs that only
add/update host-only packages, as no target packages (*.ipk) are built.
This checks if any target packages are built before attempting the
run-tests.
Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg3" style="text-decoration: none">N</a><a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com">Jeffery To</a> <<a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com">jeffery.to@gmail.com</a>></span>https://gitcode.net/mirror/openwrt/routing/-/commit/5aa683be13c9b1f4a2bdb09ec0481b7cd546dd77CI: add concurrency rules to skip redundant build2023-06-26T11:29:59+02:00Christian Marangiansuelsmth@gmail.com
Add concurrency rules to skip redundant build to skip extra build test
on force push on pull request.
Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:ansuelsmth@gmail.com" title="ansuelsmth@gmail.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg3" style="text-decoration: none">N</a><a href="mailto:ansuelsmth@gmail.com" title="ansuelsmth@gmail.com">Christian Marangi</a> <<a href="mailto:ansuelsmth@gmail.com" title="ansuelsmth@gmail.com">ansuelsmth@gmail.com</a>></span>https://gitcode.net/mirror/openwrt/routing/-/commit/06b7d9b665d6299571a305b49e1bc159290d16cdCI: Sort build architectures in alphabetical order2023-06-26T11:29:59+02:00Jeffery Tojeffery.to@gmail.comSigned-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg2" style="text-decoration: none">N</a><a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com">Jeffery To</a> <<a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com">jeffery.to@gmail.com</a>></span>https://gitcode.net/mirror/openwrt/routing/-/commit/f165789cedad0b17fcfed4422a82d769159a46f1CI: Add build test for riscv64_riscv642023-06-26T11:29:59+02:00Jeffery Tojeffery.to@gmail.comSigned-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg6" style="text-decoration: none">N</a><a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com">Jeffery To</a> <<a href="mailto:jeffery.to@gmail.com" title="jeffery.to@gmail.com">jeffery.to@gmail.com</a>></span>https://gitcode.net/mirror/openwrt/routing/-/commit/04a287eea05b066fc198836d7ada431887497436CI: update build architectures2023-06-26T11:29:59+02:00Tianling Shencnsztl@immortalwrt.org
- armvirt target has been renamed to armsr (Arm SystemReady) [1].
- armsr-armv8 has been switched to aarch64_generic architecture [2].
1. <a href="https://github.com/openwrt/openwrt/commit/40b02a230167626def69389452f19b7109aaeac1" rel="nofollow noreferrer noopener" target="_blank">https://github.com/openwrt/openwrt/commit/40b02a230167626def69389452f19b7109aaeac1</a>
2. <a href="https://github.com/openwrt/openwrt/commit/e0f06ddc23b2503a1791ae7e97b02e2647e8a70d" rel="nofollow noreferrer noopener" target="_blank">https://github.com/openwrt/openwrt/commit/e0f06ddc23b2503a1791ae7e97b02e2647e8a70d</a>Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:cnsztl@immortalwrt.org" title="cnsztl@immortalwrt.org"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg3" style="text-decoration: none">N</a><a href="mailto:cnsztl@immortalwrt.org" title="cnsztl@immortalwrt.org">Tianling Shen</a> <<a href="mailto:cnsztl@immortalwrt.org" title="cnsztl@immortalwrt.org">cnsztl@immortalwrt.org</a>></span>