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.
CI 用本次构建的 agent 对最新发布的 hub 跑一遍端到端检查,发版时核对 tag 与版本号。
scripts/e2e.sh(ci: 与已发布 agent 跑端到端检查,安装脚本过 shellcheck,tag 须与版本号一致 monitor#61):建节点、接入 agent,检查上报的字段在 hub 与主题读取的地方都在——17 个实时字段是非负数、系统信息不为空、hub 没有「agent 缺字段」的告警,公开视图不含地址、主机名、备注与 tokenCargo.toml的版本号,不一致即失败,不发布测试:本地 agent 对 hub v1.3.0 发布版通过,CI 上临时指向 monitor-probe/monitor#61 的分支也跑通过;把
os、boot_id、procs分别改名上报,脚本各自报出对应的错误(boot_id不进任何视图,只有 hub 的告警能发现)。