Skip to content

Commit 392498d

Browse files
GeorgeSapkinrobimarko
authored andcommitted
multi-arch-test-build: fix opkg-related CI issues
Update gh-action-sdk to v10 that fixes building OPKG package index with no keys being set, otherwise the toolchain always tries to sign packages. Disable checking signature for all opkg feeds, since it doesn't look like it's possible to do it for the local feed only, which has signing removed. This fixes running CI tests. Fixes: 02f3958 ("multi-arch-test-build: don't sign packages") Signed-off-by: George Sapkin <george@sapk.in>
1 parent 892d50f commit 392498d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/dockerfiles_feeds/entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ mkdir -p /var/log/
99

1010
if [ $PKG_MANAGER = "opkg" ]; then
1111
echo "src/gz packages_ci file:///ci" >> /etc/opkg/distfeeds.conf
12+
# Disable checking signature for all opkg feeds, since it doesn't look like
13+
# it's possible to do it for the local feed only, which has signing removed.
14+
# This fixes running CI tests.
15+
sed -i '/check_signature/d' /etc/opkg.conf
1216
opkg update
1317
elif [ $PKG_MANAGER = "apk" ]; then
1418
echo "/ci/packages.adb" >> /etc/apk/repositories.d/distfeeds.list

.github/workflows/multi-arch-test-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
echo "PACKAGES=$PACKAGES" >> $GITHUB_ENV
114114
115115
- name: Build
116-
uses: openwrt/gh-action-sdk@v9
116+
uses: openwrt/gh-action-sdk@v10
117117
env:
118118
ARCH: ${{ matrix.arch }}-${{ env.BRANCH }}
119119
FEEDNAME: packages_ci

0 commit comments

Comments
 (0)