aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/kernel.yml
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2022-08-08 20:26:18 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2022-12-04 17:36:53 +0100
commitc3ed9f36eeea574646667ff2d0898fe5fa7bab46 (patch)
tree0dfb55c30b69dbb17ecdfd03e1f73f757662755d /.github/workflows/kernel.yml
parent0987df4af125336e7575419e6a0a48c9f071c56b (diff)
downloadupstream-c3ed9f36eeea574646667ff2d0898fe5fa7bab46.tar.gz
upstream-c3ed9f36eeea574646667ff2d0898fe5fa7bab46.tar.bz2
upstream-c3ed9f36eeea574646667ff2d0898fe5fa7bab46.zip
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@hauke-m.de> (cherry picked from commit b120e78917099d46a25cc521998b917fdf08e388)
Diffstat (limited to '.github/workflows/kernel.yml')
-rw-r--r--.github/workflows/kernel.yml24
1 files changed, 24 insertions, 0 deletions
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@v2
+ with:
+ repository: openwrt/packages
+ path: openwrt/feeds/packages
+
+ - name: Checkout luci feed
+ uses: actions/checkout@v2
+ with:
+ repository: openwrt/luci
+ path: openwrt/feeds/luci
+
+ - name: Checkout routing feed
+ uses: actions/checkout@v2
+ with:
+ repository: openwrt/routing
+ path: openwrt/feeds/routing
+
+ - name: Checkout telephony feed
+ uses: actions/checkout@v2
+ with:
+ repository: openwrt/telephony
+ path: openwrt/feeds/telephony
+
- name: Fix permission
run: |
chown -R buildbot:buildbot openwrt