RadxaOS-SDK / rsdk

Managed Development Environment for RadxaOS
https://radxaos-sdk.github.io/rsdk/
GNU General Public License v3.0
16 stars 16 forks source link

添加CI/CD脚本 #1

Closed RadxaYuntian closed 7 months ago

RadxaYuntian commented 9 months ago
RadxaYuntian commented 9 months ago

模板内容先用https://github.com/radxa-build/radxa-zero-2pro

CodeChenL commented 9 months ago

rsdk目前能构建出镜像吗,我进入开发容器后试了一下:

vscode ➜ /workspaces/rsdk (main) $ rsdk build
/workspaces/rsdk/bin/sub/rsdk-build: line 62: 1: unbound variable
vscode ➜ /workspaces/rsdk (main) $ 
CodeChenL commented 9 months ago

rsdk目前能构建出镜像吗,我进入开发容器后试了一下:

vscode ➜ /workspaces/rsdk (main) $ rsdk build
/workspaces/rsdk/bin/sub/rsdk-build: line 62: 1: unbound variable
vscode ➜ /workspaces/rsdk (main) $ 

vscode ➜ /workspaces/rsdk (main) $ rsdk build zero2pro bullseye cli
APT keyrings are ready.
RUNTIME ERROR: Index 0 out of bounds, not within [0, 0)
/workspaces/rsdk/templates/lib/product_soc.libjsonnet:(4:5)-(5:32)
/workspaces/rsdk/templates/mod/additional_repos.libjsonnet:3:48-68      thunk from <function <product_soc_family>>
/workspaces/rsdk/templates/lib/soc_family.libjsonnet:4:51-54
/workspaces/rsdk/templates/lib/soc_family.libjsonnet:4:28-55
/workspaces/rsdk/templates/lib/soc_family.libjsonnet:(4:5)-(5:25)
/workspaces/rsdk/templates/mod/additional_repos.libjsonnet:3:37-69      function <product_soc_family>
/workspaces/rsdk/templates/mod/additional_repos.libjsonnet:41:41-68     object <anonymous>
<std>:773:15-21 thunk <val> from <function <format_codes_obj>>
<std>:780:27-30 thunk from <thunk <s> from <function <format_codes_obj>>>
<std>:604:22-25 thunk from <function <format_code>>
...
<std>:785:15-35 thunk <s_padded> from <function <format_codes_obj>>
<std>:786:51-59 thunk from <function <format_codes_obj>>
<std>:786:11-60 function <format_codes_obj>
<std>:791:7-43  function <anonymous>
<std>:249:7-23  function <anonymous>
/workspaces/rsdk/templates/mod/additional_repos.libjsonnet:(37:13)-(42:18)
Array element 5
Field "setup-hooks"
Field "mmdebstrap"
During manifestation
RadxaYuntian commented 7 months ago

issue中提出的rsdk-infra-rebuild现在算是有替代物了