注意
本文档适用于 Ceph 的开发版本。
测试笔记
build-integration-branch
设置
在 https://github.com/settings/tokens 创建一个 github token 并将其放入
~/.github_token。请注意,只需要选中repo部分下的public_repo。如果您还没有 ceph 仓库标签 wip-yourname-testing,请在 https://github.com/ceph/ceph/labels 创建一个。
创建
ciremotegit remote add ci git@github.com:ceph/ceph-ci
使用方法
用您的标签(通常是 wip-yourname-testing)标记部分 needs-qa 提交。
创建集成(integration)分支
git checkout master git pull ../src/script/build-integration-branch wip-yourname-testing
冒烟测试
./run-make-check.sh
推送到 ceph-ci
git push ci $(git rev-parse --abbrev-ref HEAD)