注意

本文档适用于 Ceph 的开发版本。

测试笔记

build-integration-branch

设置

  1. https://github.com/settings/tokens 创建一个 github token 并将其放入 ~/.github_token。请注意,只需要选中 repo 部分下的 public_repo

  2. 如果您还没有 ceph 仓库标签 wip-yourname-testing,请在 https://github.com/ceph/ceph/labels 创建一个。

  3. 创建 ci remote

    git remote add ci git@github.com:ceph/ceph-ci
    

使用方法

  1. 用您的标签(通常是 wip-yourname-testing)标记部分 needs-qa 提交。

  2. 创建集成(integration)分支

    git checkout master
    git pull
    ../src/script/build-integration-branch wip-yourname-testing
    
  3. 冒烟测试

    ./run-make-check.sh
    
  4. 推送到 ceph-ci

    git push ci $(git rev-parse --abbrev-ref HEAD)
    

由 Ceph 基金会为您呈现

Ceph 文档是由非营利性 Ceph 基金会 资助和托管的社区资源。如果您希望支持这项工作和我们的其他努力,请考虑 立即加入