feat: add organization workflow templates - #1
Draft
spencercjh wants to merge 7 commits into
Draft
Conversation
Signed-off-by: jiahao.cai <jiahao.cai@dynamia.ai>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Signed-off-by: jiahao.cai <jiahao.cai@dynamia.ai>
Signed-off-by: jiahao.cai <jiahao.cai@dynamia.ai>
Signed-off-by: jiahao.cai <jiahao.cai@dynamia.ai>
Signed-off-by: jiahao.cai <jiahao.cai@dynamia.ai>
Signed-off-by: jiahao.cai <jiahao.cai@dynamia.ai>
Signed-off-by: jiahao.cai <jiahao.cai@dynamia.ai>
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.
当前状态
Draft。六类公开 Workflow Template 与三组可复制的 Makefile example 已完成实现和交叉复审。Protobuf CI 按当前要求暂不纳入本 PR,且没有相关文件改动。
设计合同
dorny/paths-filter@v4,并保留始终出现、失败时关闭的唯一终态检查。make ci、修改型make fmt、非修改型fmt-check、vet、lint、race test、coverage 和 build;同时提供 golangci-lint v2 示例配置,启用gofmt与goimports。verify-helm-chart只包含三类基础行为:重新生成 README/schema 并要求无 Git diff、执行基础helm lint、成功执行一次helm template。依赖准备和打包由 Build/Release Workflow 在调用该入口前后完成。build-image,以及便于本地使用的build-image-amd64、build-image-arm64。Build Image Workflow 调用make build-image,再检查架构与 OCI 标签并导出 tar;不再保留通用verify-image或强制 smoke 合同。.tgz,没有 registry 或 Release 副作用。vX.Y.Ztag,发布linux/amd64与linux/arm64到 GHCR;写入前拒绝 Release/image tag 碰撞,写入后核对 index digest 与两个平台,再创建包含image@digest的 GitHub Release。Chart.yaml路径的 push;触发后比较精确的前后版本,版本未变跳过,首次与严格递增自动发布,同一.tgz用于 GHCR OCI 与非 Latest 的 GitHub Release。工具版本
actions/checkout@v7、actions/upload-artifact@v7、dorny/paths-filter@v4v4、metadatav6、build-pushv7上述 major/tag 均已对照 2026-08-04 的官方最新稳定 Release;没有加入完整 SHA 固定或额外治理框架。
验证
gofmt、goimportsformatter;格式负例按预期由fmt-check拒绝,经make fmt修复后通过。make ci。standard基线可能揭示旧仓库已有 lint 问题,复制后应显式调整规则,而不是静默放宽模板。dependency build → verify → package顺序在 Kantaloupe 真实依赖 Chart 上通过;项目专属 Helm repository 注册仍由目标仓库配置。--load与无--push合同通过展开检查;Build Image 的相关/无关/失败终态矩阵通过。b6780de08828645d526dce42b51b6e0406a4cc9c具有有效 GPG 签名与 DCO sign-off。