[codex] automate multi-arch saola-cli releases#1
Merged
Conversation
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获得双架构、可复现、可校验且不可变的发布输入。此前缺少统一的 dev/stable 元数据和跨仓自动通知链路。改动
dev-<commit>snapshot,SemVer tag 映射为 stable。OPENSAOLA_DISPATCH_TOKEN向 OpenSaola 发送不可变 commit、版本、epoch 和 checksum。影响
版本不再通过修改代码文件维护:main 自动产生 dev snapshot,SemVer tag 是 stable 版本边界。OpenSaola 可以按精确 commit 和 checksum 自动消费。
验证
bash hack/release-metadata_test.shbash -n hack/release-metadata.sh hack/release-metadata_test.shmake testmake release-build release-checksumssha256sum -c SHA256SUMSgit diff --check部署前置
合并前后需由仓库管理员配置
OPENSAOLA_DISPATCH_TOKEN。stable 仍以 SemVer tag 作为发布触发器。