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 b120e78917
)
This commit is contained in:
parent
fde584a3ec
commit
93d67c96a6
|
@ -57,6 +57,30 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: openwrt
|
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
|
- name: Fix permission
|
||||||
run: |
|
run: |
|
||||||
chown -R buildbot:buildbot openwrt
|
chown -R buildbot:buildbot openwrt
|
||||||
|
|
Loading…
Reference in New Issue