Skip to content

Commit

Permalink
Use Job.from_config
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 12, 2022
1 parent 887f474 commit f400098
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions dev/archery/archery/crossbow/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1238,10 +1238,11 @@ def validate(self):
version='1.0.0dev123',
email='[email protected]'
)
job = Job(
target=target,
tasks=self['tasks'],
)
job = Job.from_config(config=self,
target=target,
tasks=self['tasks'],
groups=self['groups'],
params={})

for task_name, task in self['tasks'].items():
task = Task(**task)
Expand Down

0 comments on commit f400098

Please sign in to comment.