Skip to content

Instantly share code, notes, and snippets.

@yuvalif
Last active February 16, 2023 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuvalif/0cb8cddb53bcd9a948af4e762eedb85d to your computer and use it in GitHub Desktop.
Save yuvalif/0cb8cddb53bcd9a948af4e762eedb85d to your computer and use it in GitHub Desktop.

step 0

  • create a branch off of master branch of https://github.com/ceph/s3-tests.git (e.g. my-test-work)
  • develop the test and test it localy against a vstart cluster
  • push the branch to your local s3test repo. e.g. branch my-test-work in https://github.com/yuvalif/s3-tests.git
  • create a PR to review your work

step 1

  • create a branch off of main branch of https://github.com/ceph/ceph.git (e.g. my-qa-branch)
  • edit the s3test override file: qa/rgw/s3tests-branch.yaml to point to the repo and branch from step 0:
overrides:
  s3tests:
    force-branch: my-test-work
    git_remote: https://github.com/yuvalif/
  • push the branch to your local ceph repo. e.g. branch my-qa-branch in https://github.com/yuvalif/ceph.git

Note: no need to push the branch to the ceph-ci repo, as it does not need to be build via shaman

step 2

run teuthology suite using the ceph branch from step 1:

teuthology-suite --suite-repo https://github.com/yuvalif/ceph --suite-branch my-qa-branch --subset 1/3 -p 75 -s rgw -m smithi

Note that the above uses my-qa-branch only for the override file. ceph will be installed from the default repo (https://github.com/ceph/ceph.git) and branch (main)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment