mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 1403342 - use try_job transform for source tests too; r=ahal
Just a minor refactor MozReview-Commit-ID: 2YdOtO2sGEc --HG-- extra : rebase_source : 04aa7cecf9de2e7bac01744f9c8b25805e77a013
This commit is contained in:
parent
301ac65a16
commit
43bb5cba13
@ -5,6 +5,7 @@
|
||||
loader: taskgraph.loader.transform:loader
|
||||
|
||||
transforms:
|
||||
- taskgraph.transforms.try_job:transforms
|
||||
- taskgraph.transforms.source_test:transforms
|
||||
- taskgraph.transforms.job:transforms
|
||||
- taskgraph.transforms.task:transforms
|
||||
|
@ -71,8 +71,6 @@ def validate(config, jobs):
|
||||
@transforms.add
|
||||
def set_job_name(config, jobs):
|
||||
for job in jobs:
|
||||
job.setdefault('attributes', {}).setdefault('job_try_name', job['name'])
|
||||
|
||||
if 'job-from' in job and job['job-from'] != 'kind.yml':
|
||||
from_name = os.path.splitext(job['job-from'])[0]
|
||||
job['name'] = '{}-{}'.format(from_name, job['name'])
|
||||
|
Loading…
Reference in New Issue
Block a user