All of lore.kernel.org
 help / color / mirror / Atom feed
* how to use teuthology-suite in the new world
@ 2016-12-14 22:22 Sage Weil
  2016-12-14 22:27 ` Sage Weil
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Sage Weil @ 2016-12-14 22:22 UTC (permalink / raw)
  To: ceph-devel, sepia@ceph.com

Please read carefully if you use teuthology:

ceph-qa-suite.git is no more.  All tests are now in qa/tasks, qa/suite, 
and so on.  The directory structure is the same (but now prefixed with 
qa/) and the git history is intact.

If you have any pull requests outstanding against ceph-qa-suite, you'll 
need to redo them as a pull-request against ceph.git.

Jenkins + shaman will build packages for both ceph.git and ceph-ci.git.

You should only push official branches (master, kraken, jewel, etc.) to 
ceph.git.

You should only push a branch to ceph-ci.git if you need packages built.  
I suggest

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

Teuthology now defaults to https://github.com/ceph/ceph-ci.git instead of 
ceph.git.

To schedule a test against something in ceph-ci.git,

  teuthology-suite -s rados -c wip-foo

To schedule against something in ceph.git (e.g., master),

  teuthology-suite -s rados -c master --ceph-repo https://github.com/ceph/ceph.git

In both of these cases, the tests (tasks/ and suite/ yamls) are taken from 
the same repo and branch that we used to resolve your branch name to a 
sha1 (shaman builds are identified by sha1).

To schedule a test against a suite branch that is different from the ceph 
branch you can use --suite-repo and --suite-branch.  For example,

  teuthology-suite -s rados -c wip-mybuild \
	--suite-repo https://github.com/liewegas/ceph.git \
	--suite-branch wip-my-updated-test-case

This is not new, but if you want teuthology-suite to find the most recent 
build for a branch (useful when master is moving quickly but you just need 
a recent build) you can use -n <max # commits to backtrack>:

  teuthology-suite -s rados -c master \
	--ceph-repo https://github.com/ceph/ceph.git \
	-n 10

sage

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-12-22 22:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-14 22:22 how to use teuthology-suite in the new world Sage Weil
2016-12-14 22:27 ` Sage Weil
2016-12-15 14:51 ` [sepia] " Mykola Golub
2016-12-15 15:00   ` Mykola Golub
2016-12-15 15:46     ` John Spray
2016-12-15 15:54       ` Jason Dillaman
2016-12-15 16:04         ` John Spray
2016-12-15 16:11           ` Sage Weil
2016-12-15 16:12           ` Jason Dillaman
     [not found]             ` <CALe9h7fXGBwcWE0hpk5Bvw6RSpKtqRdUQiUOBf-SXGjrc0L+fg@mail.gmail.com>
2016-12-15 22:32               ` Sage Weil
2016-12-15 17:15           ` Vasu Kulkarni
2016-12-22 22:12 ` Nathan Cutler
2016-12-22 22:21   ` Sage Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.