Skip to content

Commit

Permalink
Add more job
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 12, 2022
1 parent c54def6 commit 887f474
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dev/archery/archery/crossbow/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,7 @@ def put(self, job, prefix='build', increment_job_id=True):
params = {
**job.params,
"arrow": job.target,
"job": job,
"queue_remote_url": self.remote_url
}
files = task.render_files(job.template_searchpath, params=params)
Expand Down Expand Up @@ -1237,13 +1238,18 @@ def validate(self):
version='1.0.0dev123',
email='[email protected]'
)
job = Job(
target=target,
tasks=self['tasks'],
)

for task_name, task in self['tasks'].items():
task = Task(**task)
files = task.render_files(
self.template_searchpath,
params=dict(
arrow=target,
job=job,
queue_remote_url='https://github.com/org/crossbow'
)
)
Expand Down

0 comments on commit 887f474

Please sign in to comment.