[openwrt/openwrt] CI: kernel: Checkout feeds from github
LEDE Commits
lede-commits at lists.infradead.org
Wed Aug 10 12:30:18 PDT 2022
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b120e78917099d46a25cc521998b917fdf08e388
commit b120e78917099d46a25cc521998b917fdf08e388
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Mon Aug 8 20:26:18 2022 +0200
CI: kernel: Checkout feeds from github
Instead of cloning the feeds from the default location at
git.openwrt.org use the github action to clone them directly from
github. We saw some error messages when cloning from git.openwrt.org,
probably related to some rate limiting applied. Cloning from github
within a github action should work more stable.
The "./scripts/feeds update -a" script will use the already checked out
feed repositories and not clone them again from git.openwrt.org, but it
will also not change the branch name.
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
.github/workflows/kernel.yml | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml
index 37fba2f4ec..addedb91fe 100644
--- a/.github/workflows/kernel.yml
+++ b/.github/workflows/kernel.yml
@@ -57,6 +57,30 @@ jobs:
with:
path: openwrt
+ - name: Checkout packages feed
+ uses: actions/checkout at v2
+ with:
+ repository: openwrt/packages
+ path: openwrt/feeds/packages
+
+ - name: Checkout luci feed
+ uses: actions/checkout at v2
+ with:
+ repository: openwrt/luci
+ path: openwrt/feeds/luci
+
+ - name: Checkout routing feed
+ uses: actions/checkout at v2
+ with:
+ repository: openwrt/routing
+ path: openwrt/feeds/routing
+
+ - name: Checkout telephony feed
+ uses: actions/checkout at v2
+ with:
+ repository: openwrt/telephony
+ path: openwrt/feeds/telephony
+
- name: Fix permission
run: |
chown -R buildbot:buildbot openwrt
More information about the lede-commits
mailing list