Repository navigation
fix(release): read the CN bucket settings from repo variables - #11
Merged
Merged
Conversation
ALIYUN_COLA_CN_OSS_{BUCKET,REGION,ENDPOINT} are organization variables, not
secrets. The endpoint meetcola.com with virtual-hosted addressing resolves
to the bucket CNAME meetcola-public-prod02.meetcola.com, so no extra secret
or --addressing-style flag is needed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
背景
#10 合并的是第一版,国内桶配置读的是
secrets.ALIYUN_COLA_CN_OSS_*。这几个 secret 在仓库里不存在,所以现在跑 Release 会在 "Validate OSS secrets" 这一步报错退出(不会只发一个桶)。改为读变量的那个提交是在 #10 合并之后才推的,没进 main。线上两份registry.json都还是旧的,downloadUrl全部指向files.colaos.ai。改动
vars.ALIYUN_COLA_CN_OSS_{BUCKET,REGION,ENDPOINT}。仓库级变量已于 10-26 建好,值与组织变量一致:meetcola-public-prod02/cn-beijing/meetcola.com。meetcola.com按虚拟主机寻址,会拼成桶绑定的 CNAMEmeetcola-public-prod02.meetcola.com,所以去掉--addressing-style cname。合并后
手动跑一次 Release(
workflow_dispatch)。修改 workflow 文件不会触发自动发布:registry.json会重建,downloadUrl改为https://download.meetcola.com/plugins/...;registry.json内容不变,仍给老客户端用。验证
bash -n通过--endpoint meetcola.com --region cn-beijing能stat北京桶的plugins/registry.json🤖 Generated with Claude Code