You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by cp...@apache.org on 2018/07/18 19:57:31 UTC

[arrow] branch master updated: ARROW-2874: [Packaging] Pass job prefix when putting on Queue

This is an automated email from the ASF dual-hosted git repository.

cpcloud pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 401c8df  ARROW-2874: [Packaging] Pass job prefix when putting on Queue
401c8df is described below

commit 401c8df9975de789f97045290738fb7cfb552b3c
Author: Krisztián Szűcs <sz...@gmail.com>
AuthorDate: Wed Jul 18 15:57:24 2018 -0400

    ARROW-2874: [Packaging] Pass job prefix when putting on Queue
    
    To use `nightly` prefix instead of `build` for scheduled builds.
    
    Author: Krisztián Szűcs <sz...@gmail.com>
    
    Closes #2285 from kszucs/crossbow_job_prefix and squashes the following commits:
    
    0e867fd2 <Krisztián Szűcs> pass job prefix
---
 dev/tasks/crossbow.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/tasks/crossbow.py b/dev/tasks/crossbow.py
index 30c272c..b4f8258 100755
--- a/dev/tasks/crossbow.py
+++ b/dev/tasks/crossbow.py
@@ -466,7 +466,7 @@ def submit(ctx, task, group, job_prefix, config_path, dry_run):
                 click.echo(content)
     else:
         queue.fetch()
-        queue.put(job)
+        queue.put(job, prefix=job_prefix)
         queue.push()
         yaml.dump(job, sys.stdout)
         click.echo('Pushed job identifier is: `{}`'.format(job.branch))