CI: multi-arch-test-build: add APK package testing#39
Conversation
|
My only complaint about this is the allow untrusted for apk. I would really love to keep verification enabled. |
I just wanted to get this working, no idea what APK requires as far as certificates go? |
Its similar to opkg, public key |
Is APK support in |
|
Well packages needs to be signed with the sdk key so yes
Il Lun 5 Mag 2025, 18:16 Robert Marko ***@***.***> ha scritto:
… *robimarko* left a comment (openwrt/actions-shared-workflows#39)
<#39 (comment)>
no idea what APK requires as far as certificates go?
Its similar to opkg, public key BUILD_KEY_APK_PUB=$(TOPDIR)/public-key.pem
should be copied into /etc/apk/keys/packages-ci.pem
Is APK support in openwrt/gh-action-sdk action required?
—
Reply to this email directly, view it on GitHub
<#39 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE2ZMQSONDFM655JTQDILZ3246FEFAVCNFSM6AAAAAB4OJSOVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQNJRGUZDANBTGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
|
Ok, I see people have submitted PRs to Can I add APK signing later as to not make this PR too big? |
…anager to container Currently, "Check if any packages were built" step only looks for .ipk packages to see if any were built. So, lets extend it to first check for .apk, then .ipk to support both main and 24.10, while at it set what is the package manager being used. We need to know what package manager is being used since 24.10 uses OPKG while main uses APK. Signed-off-by: Robert Marko <robimarko@gmail.com> Link: openwrt#39 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
As the start for APK support, lets refactor the entrypoint.sh script to start checking the PKG_MANAGER variable for OPKG. Signed-off-by: Robert Marko <robimarko@gmail.com> Link: openwrt#39 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Support testing with APK packages as well as main branch uses APK by default and future stable releases will do so as well. Signed-off-by: Robert Marko <robimarko@gmail.com> Link: openwrt#39 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
51d00a9 to
798897a
Compare
Currently, only IPK package testing is supported in multi-arch-test-build, but since we are now defaulting to APK we need to support APK package testing as well.
So, refactor both the workflow and entrypoint script to support both OPKG and APK packages.
Do note that there is no APK signing support yet in this PR.
Fixes: #35