Until the merge is done.
Test, disabling unit test for arc
| Lint OK |
| No Unit Test Coverage |
| Buildable 212 | |
| Build 212: arc lint + arc unit |
| Path | Packages | |||
|---|---|---|---|---|
| M | .arcconfig (3 lines) | |||
| M | libtaskotron/runner.py (6 lines) |
| Commit | Tree | Parents | Author | Summary | Date |
|---|---|---|---|---|---|
| 27f0d18897cd | f69040678996 | 3a41d08141a3 | Martin Krizek | Test, disabling unit test for arc | Sep 15 2015, 3:30 PM |
| 3a41d08141a3 | 250a198e43a1 | f0dd2d630341 | Martin Krizek | Use taskotron-disposable copr repo (Show More…) | Sep 11 2015, 6:28 AM |
| 1 | { | 1 | { | ||
|---|---|---|---|---|---|
| 2 | "project_id" : "libtaskotron", | 2 | "project_id" : "libtaskotron", | ||
| 3 | "conduit_uri" : "https://phab.qadevel.cloud.fedoraproject.org", | 3 | "conduit_uri" : "https://phab.qadevel.cloud.fedoraproject.org", | ||
| 4 | "arc.land.onto.default" : "develop", | 4 | "arc.land.onto.default" : "develop", | ||
| 5 | "arc.feature.start.default" : "develop", | 5 | "arc.feature.start.default" : "develop" | ||
| 6 | "unit.engine" : "PytestTestEngine" | | |||
| 7 | } | 6 | } | ||
| Show First 20 Lines • Show All 336 Lines • ▼ Show 20 Line(s) | 332 | def __init__(self, ssh, task_data, arg_data): | |||
|---|---|---|---|---|---|
| 337 | #: int exitcode set by exitcode directive. It is always set to value returned by | 337 | #: int exitcode set by exitcode directive. It is always set to value returned by | ||
| 338 | #: self.ssh.cmd() in the run() method. | 338 | #: self.ssh.cmd() in the run() method. | ||
| 339 | self.exitcode = None | 339 | self.exitcode = None | ||
| 340 | self.arg_data['artifactsdir'] = os.path.join(config.get_config().artifactsdir, | 340 | self.arg_data['artifactsdir'] = os.path.join(config.get_config().artifactsdir, | ||
| 341 | self.arg_data['uuid']) | 341 | self.arg_data['uuid']) | ||
| 342 | 342 | | |||
| 343 | def prepare_task(self): | 343 | def prepare_task(self): | ||
| 344 | # FIXME remove this once the vm code is done | 344 | # FIXME remove this once the vm code is done | ||
| 345 | self.ssh.cmd('curl -o /etc/yum.repos.d/tflink-taskotron-fedora-f21.repo ' | 345 | self.ssh.cmd('curl -o /etc/yum.repos.d/tflink-taskotron-disposable-fedora-f21.repo ' | ||
| 346 | 'http://copr-fe.cloud.fedoraproject.org/coprs/tflink/taskotron/' | 346 | 'https://copr-fe.cloud.fedoraproject.org/coprs/tflink/taskotron-disposable/' | ||
| 347 | 'repo/fedora-21/tflink-taskotron-fedora-21.repo') | 347 | 'repo/fedora-21/tflink-taskotron-disposable-fedora-21.repo') | ||
| 348 | self.ssh.install_pkgs('libtaskotron') | 348 | self.ssh.install_pkgs('libtaskotron') | ||
| 349 | 349 | | |||
| 350 | # configure libtaskotron | 350 | # configure libtaskotron | ||
| 351 | if config.get_config().config_filename: | 351 | if config.get_config().config_filename: | ||
| 352 | self.ssh.put_file(config.get_config().config_filename, '/etc/taskotron/taskotron.yaml') | 352 | self.ssh.put_file(config.get_config().config_filename, '/etc/taskotron/taskotron.yaml') | ||
| 353 | 353 | | |||
| 354 | # create needed dirs | 354 | # create needed dirs | ||
| 355 | self.ssh.mkdir(self.taskdir) | 355 | self.ssh.mkdir(self.taskdir) | ||
| ▲ Show 20 Lines • Show All 180 Lines • Show Last 20 Lines | |||||