Skip to content

Apache DataFusion SQL Query Engine

ARROW-3600: [CI/Packaging] Add Ubuntu 18.10

Yasuo Hondae2db46cff03e
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 0000000000..7840e02e54
--- /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 d5f11be820..426e0425e8 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 dec668f5b5..6a250e570d 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