You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ks...@apache.org on 2018/10/27 11:08:18 UTC

[arrow] branch master updated: ARROW-3600: [CI/Packaging] Add Ubuntu 18.10

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

kszucs 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 f8f43f6  ARROW-3600: [CI/Packaging] Add Ubuntu 18.10
f8f43f6 is described below

commit f8f43f623a221e629b783e4e37b40b38bf263cbe
Author: Yasuo Honda <ya...@gmail.com>
AuthorDate: Sat Oct 27 13:07:54 2018 +0200

    ARROW-3600: [CI/Packaging] Add Ubuntu 18.10
    
    This pull request provides Ubuntu 18.10 support. Originally opened at https://github.com/apache/arrow-dist/pull/30 then transferred to this repository.
    
    Author: Yasuo Honda <ya...@gmail.com>
    Author: Krisztián Szűcs <sz...@gmail.com>
    
    Closes #2825 from yahonda/ubutu1810 and squashes the following commits:
    
    222b5152 <Krisztián Szűcs> increment version prefix
    1334bd18 <Yasuo Honda> Add artifacts for ubuntu-cosmic
    043b57e8 <Yasuo Honda> Add `ubuntu-cosmic` entries to `package-task.rb` and `tasks.yml`
    39588d24 <Yasuo Honda> ARROW-3600:  Add Ubuntu 18.10
---
 .../linux-packages/apt/ubuntu-cosmic/Dockerfile    | 50 ++++++++++++++++++++++
 dev/tasks/linux-packages/package-task.rb           |  1 +
 dev/tasks/tasks.yml                                | 35 +++++++++++++++
 3 files changed, 86 insertions(+)

diff --git a/dev/tasks/linux-packages/apt/ubuntu-cosmic/Dockerfile b/dev/tasks/linux-packages/apt/ubuntu-cosmic/Dockerfile
new file mode 100644
index 0000000..7840e02
--- /dev/null
+++ b/dev/tasks/linux-packages/apt/ubuntu-cosmic/Dockerfile
@@ -0,0 +1,50 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+FROM ubuntu:18.10
+
+ENV DEBIAN_FRONTEND noninteractive
+
+ARG DEBUG
+
+RUN \
+  quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
+  apt update ${quiet} && \
+  apt install -y -V ${quiet} \
+    autoconf-archive \
+    build-essential \
+    cmake \
+    debhelper\
+    devscripts \
+    git \
+    gtk-doc-tools \
+    libboost-filesystem-dev \
+    libboost-regex-dev \
+    libboost-system-dev \
+    libgirepository1.0-dev \
+    libglib2.0-doc \
+    libjemalloc-dev \
+    libprotobuf-dev \
+    libprotoc-dev \
+    lsb-release \
+    nvidia-cuda-toolkit \
+    pkg-config \
+    protobuf-compiler \
+    python3-dev \
+    python3-numpy && \
+  apt clean && \
+  rm -rf /var/lib/apt/lists/*
diff --git a/dev/tasks/linux-packages/package-task.rb b/dev/tasks/linux-packages/package-task.rb
index d5f11be..426e042 100644
--- a/dev/tasks/linux-packages/package-task.rb
+++ b/dev/tasks/linux-packages/package-task.rb
@@ -250,6 +250,7 @@ VERSION=#{@deb_upstream_version}
               "ubuntu-trusty",
               "ubuntu-xenial",
               "ubuntu-bionic",
+              "ubuntu-cosmic",
             ]
           end
           targets.each do |target|
diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml
index dec668f..6a250e5 100644
--- a/dev/tasks/tasks.yml
+++ b/dev/tasks/tasks.yml
@@ -45,6 +45,7 @@ groups:
     - ubuntu-trusty
     - ubuntu-xenial
     - ubuntu-bionic
+    - ubuntu-cosmic
     - centos-6
     - centos-7
 
@@ -410,6 +411,40 @@ tasks:
       - libparquet-glib11_{no_rc_version}-1_amd64.deb
       - libparquet11_{no_rc_version}-1_amd64.deb
 
+  ubuntu-cosmic:
+    platform: linux
+    template: linux-packages/travis.linux.yml
+    params:
+      build_command: rake apt:build APT_TARGETS=ubuntu-bionic
+      upload_extensions:
+        - .deb
+        - .dsc
+        - .debian.tar.xz
+        - .orig.tar.gz
+    artifacts:
+      - apache-arrow_{no_rc_version}-1.debian.tar.xz
+      - apache-arrow_{no_rc_version}-1.dsc
+      - apache-arrow_{no_rc_version}.orig.tar.gz
+      - gir1.2-arrow-1.0_{no_rc_version}-1_amd64.deb
+      - gir1.2-arrow-gpu-1.0_{no_rc_version}-1_amd64.deb
+      - gir1.2-parquet-1.0_{no_rc_version}-1_amd64.deb
+      - libarrow-dev_{no_rc_version}-1_amd64.deb
+      - libarrow-glib-dev_{no_rc_version}-1_amd64.deb
+      - libarrow-glib-doc_{no_rc_version}-1_all.deb
+      - libarrow-glib12_{no_rc_version}-1_amd64.deb
+      - libarrow-gpu-dev_{no_rc_version}-1_amd64.deb
+      - libarrow-gpu-glib-dev_{no_rc_version}-1_amd64.deb
+      - libarrow-gpu-glib12_{no_rc_version}-1_amd64.deb
+      - libarrow-gpu12_{no_rc_version}-1_amd64.deb
+      - libarrow-python-dev_{no_rc_version}-1_amd64.deb
+      - libarrow-python12_{no_rc_version}-1_amd64.deb
+      - libarrow12_{no_rc_version}-1_amd64.deb
+      - libparquet-dev_{no_rc_version}-1_amd64.deb
+      - libparquet-glib-dev_{no_rc_version}-1_amd64.deb
+      - libparquet-glib-doc_{no_rc_version}-1_all.deb
+      - libparquet-glib12_{no_rc_version}-1_amd64.deb
+      - libparquet12_{no_rc_version}-1_amd64.deb
+
   centos-6:
     platform: linux
     template: linux-packages/travis.linux.yml