зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 1f38938f4e9b (bug 1316749) for flake8 lint error. r=backout
This commit is contained in:
Родитель
446545a6ee
Коммит
422e0d06d2
|
@ -19,18 +19,10 @@ from taskgraph.util.templates import Templates
|
|||
|
||||
logger = logging.getLogger(__name__)
|
||||
GECKO = os.path.realpath(os.path.join(__file__, '..', '..', '..', '..'))
|
||||
|
||||
# if running in a task, prefer to use the taskcluster proxy (http://taskcluster/),
|
||||
# otherwise hit the services directly
|
||||
if os.environ.get('TASK_ID'):
|
||||
ARTIFACT_URL = 'http://taskcluster/queue/v1/task/{}/artifacts/{}'
|
||||
INDEX_URL = 'http://taskcluster/index/v1/task/{}'
|
||||
else:
|
||||
ARTIFACT_URL = 'https://queue.taskcluster.net/v1/task/{}/artifacts/{}'
|
||||
INDEX_URL = 'https://index.taskcluster.net/v1/task/{}'
|
||||
|
||||
|
||||
|
||||
class DockerImageTask(base.Task):
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
|
Загрузка…
Ссылка в новой задаче