Revert "Merge pull request #1605 from coreos-inc/kubernetes-builder"
This reverts commita69266c282
, reversing changes made to3143da6392
.
This commit is contained in:
parent
30fa1b5906
commit
bef55f9f6d
10 changed files with 230 additions and 519 deletions
|
@ -25,10 +25,6 @@ class BuildJob(object):
|
|||
'Could not parse build queue item config with ID %s' % self.job_details['build_uuid']
|
||||
)
|
||||
|
||||
@property
|
||||
def retries_remaining(self):
|
||||
return self.job_item.retries_remaining
|
||||
|
||||
def has_retries_remaining(self):
|
||||
return self.job_item.retries_remaining > 0
|
||||
|
||||
|
@ -62,11 +58,6 @@ class BuildJob(object):
|
|||
raise BuildJobLoadException(
|
||||
'Could not load repository build with ID %s' % self.job_details['build_uuid'])
|
||||
|
||||
@property
|
||||
def namespace(self):
|
||||
""" Returns the namespace under which this build is running. """
|
||||
return self.repo_build.repository.namespace_user.username
|
||||
|
||||
@property
|
||||
def repo_build(self):
|
||||
return self._load_repo_build()
|
||||
|
|
Reference in a new issue