You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2018/07/23 00:16:29 UTC

[arrow] branch master updated: ARROW-2845: [Packaging] Upload additional debian artifacts

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

kou 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 0b838f9  ARROW-2845: [Packaging] Upload additional debian artifacts
0b838f9 is described below

commit 0b838f945b5b9c2ff2183d8a07068db4531990f2
Author: Krisztián Szűcs <sz...@gmail.com>
AuthorDate: Mon Jul 23 09:15:59 2018 +0900

    ARROW-2845: [Packaging] Upload additional debian artifacts
    
    Author: Krisztián Szűcs <sz...@gmail.com>
    
    Closes #2301 from kszucs/ARROW-2845 and squashes the following commits:
    
    53e1a22c [Krisztián Szűcs] define additional artifacts for debian builds
    634908d1 [Krisztián Szűcs] upload multiple file extensions in linux package builds
---
 dev/tasks/linux-packages/travis.linux.yml |  5 ++-
 dev/tasks/tasks.yml                       | 51 ++++++++++++++++++++++++++-----
 2 files changed, 48 insertions(+), 8 deletions(-)

diff --git a/dev/tasks/linux-packages/travis.linux.yml b/dev/tasks/linux-packages/travis.linux.yml
index d5b2889..346353c 100644
--- a/dev/tasks/linux-packages/travis.linux.yml
+++ b/dev/tasks/linux-packages/travis.linux.yml
@@ -67,7 +67,10 @@ deploy:
   provider: releases
   api_key: $CROSSBOW_GITHUB_TOKEN
   file_glob: true
-  file: "**/*.{{ package_format }}"
+  file:
+  {% for extension in upload_extensions -%}
+    - "**/*{{ extension }}"
+  {% endfor -%}
   skip_cleanup: true
   on:
     tags: true
diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml
index cef48df..fc55132 100644
--- a/dev/tasks/tasks.yml
+++ b/dev/tasks/tasks.yml
@@ -230,8 +230,15 @@ tasks:
     template: linux-packages/travis.linux.yml
     params:
       build_command: rake apt:build APT_TARGETS=debian-stretch
-      package_format: deb
+      upload_extensions:
+        - .deb
+        - .dsc
+        - .debian.tar.xz
+        - .orig.tar.gz
     artifacts:
+      - apache-arrow_{version}-1.debian.tar.xz
+      - apache-arrow_{version}-1.dsc
+      - apache-arrow_{version}.orig.tar.gz
       - gir1.2-arrow-1.0_{version}-1_amd64.deb
       - gir1.2-arrow-gpu-1.0_{version}-1_amd64.deb
       - libarrow-dev_{version}-1_amd64.deb
@@ -256,8 +263,15 @@ tasks:
     template: linux-packages/travis.linux.yml
     params:
       build_command: rake apt:build APT_TARGETS=ubuntu-trusty
-      package_format: deb
+      upload_extensions:
+        - .deb
+        - .dsc
+        - .debian.tar.xz
+        - .orig.tar.gz
     artifacts:
+      - apache-arrow_{version}-1.debian.tar.xz
+      - apache-arrow_{version}-1.dsc
+      - apache-arrow_{version}.orig.tar.gz
       - gir1.2-arrow-1.0_{version}-1_amd64.deb
       - libarrow-dev_{version}-1_amd64.deb
       - libarrow-glib-dev_{version}-1_amd64.deb
@@ -270,8 +284,15 @@ tasks:
     template: linux-packages/travis.linux.yml
     params:
       build_command: rake apt:build APT_TARGETS=ubuntu-xenial
-      package_format: deb
+      upload_extensions:
+        - .deb
+        - .dsc
+        - .debian.tar.xz
+        - .orig.tar.gz
     artifacts:
+      - apache-arrow_{version}-1.debian.tar.xz
+      - apache-arrow_{version}-1.dsc
+      - apache-arrow_{version}.orig.tar.gz
       - gir1.2-arrow-1.0_{version}-1_amd64.deb
       - gir1.2-arrow-gpu-1.0_{version}-1_amd64.deb
       - libarrow-dev_{version}-1_amd64.deb
@@ -291,8 +312,15 @@ tasks:
     template: linux-packages/travis.linux.yml
     params:
       build_command: rake apt:build APT_TARGETS=ubuntu-artful
-      package_format: deb
+      upload_extensions:
+        - .deb
+        - .dsc
+        - .debian.tar.xz
+        - .orig.tar.gz
     artifacts:
+      - apache-arrow_{version}-1.debian.tar.xz
+      - apache-arrow_{version}-1.dsc
+      - apache-arrow_{version}.orig.tar.gz
       - gir1.2-arrow-1.0_{version}-1_amd64.deb
       - gir1.2-arrow-gpu-1.0_{version}-1_amd64.deb
       - libarrow-dev_{version}-1_amd64.deb
@@ -312,8 +340,15 @@ tasks:
     template: linux-packages/travis.linux.yml
     params:
       build_command: rake apt:build APT_TARGETS=ubuntu-bionic
-      package_format: deb
+      upload_extensions:
+        - .deb
+        - .dsc
+        - .debian.tar.xz
+        - .orig.tar.gz
     artifacts:
+      - apache-arrow_{version}-1.debian.tar.xz
+      - apache-arrow_{version}-1.dsc
+      - apache-arrow_{version}.orig.tar.gz
       - gir1.2-arrow-1.0_{version}-1_amd64.deb
       - gir1.2-arrow-gpu-1.0_{version}-1_amd64.deb
       - libarrow-dev_{version}-1_amd64.deb
@@ -333,7 +368,8 @@ tasks:
     template: linux-packages/travis.linux.yml
     params:
       build_command: rake yum:build CENTOS_VERSIONS=6
-      package_format: rpm
+      upload_extensions:
+        - .rpm
     artifacts:
       - arrow-{version}-1.el6.src.rpm
       - arrow-debuginfo-{version}-1.el6.x86_64.rpm
@@ -347,7 +383,8 @@ tasks:
     template: linux-packages/travis.linux.yml
     params:
       build_command: rake yum:build CENTOS_VERSIONS=7
-      package_format: rpm
+      upload_extensions:
+        - .rpm
     artifacts:
       - arrow-{version}-1.el7.src.rpm
       - arrow-debuginfo-{version}-1.el7.x86_64.rpm