[codex] bundle saola-cli with automated updates - #1
Merged
Conversation
CandidXD
marked this pull request as ready for review
July 13, 2026 10:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
OpenSaola 镜像需要内置与目标平台匹配、来源可追溯的
saola-cli,并在 CLI dev/stable 发布后自动更新,而不是依赖人工复制二进制或修改版本号。改动
saola-clilock 及不执行输入内容的校验脚本。影响
dev snapshot 只能进入 dev;SemVer stable 先进入 dev,满足 soak 和检查后才能进入 master。更新和晋级均不直接推送保护分支。
验证
bash hack/saola-cli-lock_test.shbash -n hack/saola-cli-lock.sh hack/saola-cli-lock_test.shmake testgit diff --check部署前置
合并后仍需由仓库管理员配置
OPENSAOLA_AUTOMATION_TOKEN、OPENSAOLA_AUTOMATION_LOGIN、stable label、auto-merge 和 dev/master 分支保护。dispatch/schedule workflow 还需要进入默认分支 master 才会生效。