Commit Graph

13 Commits

Author SHA1 Message Date
Loic Dachary
96ef6ab699 workunit: git-reset --hard does not accept a branch
Uses git clone --branch refspec because it agrees to use either a tag or
a branch.

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-15 16:34:26 +01:00
Loic Dachary
b0a770a3e7 workunit: fetch from --ceph-git-url
The commit from which workunits are fetched must be retrieved
from --ceph-git-url via teuth_config.get_ceph_git_url() instead of
assuming it is available via git://git.ceph.com/ceph.git.

Using git://git.ceph.com/ceph.git is convenient because it supports git
archive. In the general case, some git servers such as github do not
support git archive and a full git clone must be done instead.

Although it would be possible to

    git clone --branch=master --depth=1 --single-branch

to reduce the amount of data being retrieved, it would require a

    git fetch origin SHA1

but git version >= 1.7 do not support fetching a commit.

http://tracker.ceph.com/issues/13624 Fixes: #13624

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-12-06 13:23:14 +01:00
Loic Dachary
28dc5c0c33 workunit: keep the path to the list of tests in a variable
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-12-06 13:07:13 +01:00
Loic Dachary
7de33f082e workunit: allow tag to override sha1
The sha1 for the workunit task is always set by the suite.py task. The
tag must be checked before the sha1 othewise it cannot be used to
override the sha1.

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-12-06 12:34:59 +01:00
Sage Weil
f062b171f4 git.ceph.com
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-16 08:37:56 -07:00
Greg Farnum
0e53f5f38b workunit: include /usr/sbin in the PATH for all commands
Fixes: #10600

Backport: hammer, giant, firefly, dumpling

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-02-23 21:05:04 -08:00
Sage Weil
508270be76 Merge pull request #313 from armaseg/master
teuthology: some suites still use http://ceph.newdream.net
2015-02-23 21:01:45 -08:00
Yuri Weinstein
2df632e54d Fixes #10869, added {role} to the dir name.
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>

Fixed typo

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
2015-02-13 09:09:36 -08:00
Andrew Schoen
a965d6ca14 Add labels to a couple common task failures
The labels will help us quickly determine what the command was trying to
accomplish in log output.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2015-02-04 15:42:40 -06:00
Armando Segnini
9ace238e87 teuthology: some suites still use http://ceph.newdream.net
This probably redirects to http://ceph.com but ceph.newdream.net still appears in some places

http://tracker.ceph.com/issues/9922 Fixes: #9922

Signed-off-by: Armando Segnini  <armando.segnini@telecom-bretagne.eu>
2015-01-23 11:13:11 +01:00
John Spray
1e7bfb842a tasks/workunit: fix log message
Signed-off-by: John Spray <john.spray@redhat.com>
2014-08-21 23:09:00 +01:00
Zack Cerza
4e1e929f75 Update module references
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-07 08:24:59 -06:00
Zack Cerza
0e1df3cc72 Import teuthology tasks (master branch)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-08-07 08:24:58 -06:00