* teuthology-suite new feature: --newest [n]
@ 2016-06-23 22:52 Dan Mick
2016-06-24 12:22 ` Sage Weil
0 siblings, 1 reply; 2+ messages in thread
From: Dan Mick @ 2016-06-23 22:52 UTC (permalink / raw)
To: sepia@lists.ceph.com, ceph-devel
If you don't use teuthology-suite, you can stop reading now.
I've added a new option to teuthology-suite, --newest, that will modify
how searching for builds works.
Currently, you can specify -c/--ceph to name a Ceph branch or -S/--sha1
to name a specific commit. This chooses the version of Ceph that is
used to search for completed builds for the arch/distro/versions in your
run. The branchname is translated to a sha1 by looking up the branch on
a git server, and then the process is the same for both -c and -S: look
for that sha1 to have successfully built on all gitbuilders; if it
doesn't exist, the run fails.
With --newest, rather than failing, suite will try 'backtracking' along
the commit history of the branch/sha1, and searching for older commits
that have been built, backtracking as many times as you allow (by
default, 10 commits). So, for instance, if you specify "-c master
--newest", suite will search for a build corresponding to the current
HEAD of master, as usual, but, if not found, will then try HEAD^, and
HEAD^^, and so on up to HEAD~10. The newest commit that has a clean
build will be used for the run, and you'll see a log message about which
sha1 was chosen and how many commits older it was.
I expect this to be most-useful for nightly runs, but others may find it
useful as well. Please try it if you wish, and send questions, bugs,
comments etc. to me or to the sepia list.
--
Dan Mick
Red Hat, Inc.
Ceph docs: http://ceph.com/docs
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: teuthology-suite new feature: --newest [n]
2016-06-23 22:52 teuthology-suite new feature: --newest [n] Dan Mick
@ 2016-06-24 12:22 ` Sage Weil
0 siblings, 0 replies; 2+ messages in thread
From: Sage Weil @ 2016-06-24 12:22 UTC (permalink / raw)
To: Dan Mick; +Cc: sepia@lists.ceph.com, ceph-devel
On Thu, 23 Jun 2016, Dan Mick wrote:
> If you don't use teuthology-suite, you can stop reading now.
>
> I've added a new option to teuthology-suite, --newest, that will modify
> how searching for builds works.
>
> Currently, you can specify -c/--ceph to name a Ceph branch or -S/--sha1
> to name a specific commit. This chooses the version of Ceph that is
> used to search for completed builds for the arch/distro/versions in your
> run. The branchname is translated to a sha1 by looking up the branch on
> a git server, and then the process is the same for both -c and -S: look
> for that sha1 to have successfully built on all gitbuilders; if it
> doesn't exist, the run fails.
>
> With --newest, rather than failing, suite will try 'backtracking' along
> the commit history of the branch/sha1, and searching for older commits
> that have been built, backtracking as many times as you allow (by
> default, 10 commits). So, for instance, if you specify "-c master
> --newest", suite will search for a build corresponding to the current
> HEAD of master, as usual, but, if not found, will then try HEAD^, and
> HEAD^^, and so on up to HEAD~10. The newest commit that has a clean
> build will be used for the run, and you'll see a log message about which
> sha1 was chosen and how many commits older it was.
>
> I expect this to be most-useful for nightly runs, but others may find it
> useful as well. Please try it if you wish, and send questions, bugs,
> comments etc. to me or to the sepia list.
This is awesome!!
sage
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-24 12:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-23 22:52 teuthology-suite new feature: --newest [n] Dan Mick
2016-06-24 12:22 ` 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.