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

dongjoon pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 6241ed7f3 ORC-1745: Remove `Ubuntu 20.04` Support
6241ed7f3 is described below

commit 6241ed7f3cc8758a5065eb46144571ba70e504ad
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Mon Jul 15 00:54:49 2024 -0700

    ORC-1745: Remove `Ubuntu 20.04` Support
    
    This PR aims to remove `Ubuntu 20.04` Support from Apache ORC 2.1.0.
    
    1. Remove from GitHub CIs
    2. Remove from `docker` directory
    3. Remove from Apache ORC Website.
    
    Apache ORC 2.1.0 is scheduled in 2025 and Ubuntu 20.04 LTS is going to 
reach the end of support April 2025. We had better focus on the latest OSes at 
Apache ORC 2.1.0.
    
    | Version | RELEASED | END OF STANDARD SUPPORT |
    | - | - | - |
    | Ubuntu 20.04 LTS (Focal Fossa) | Apr 2020 | Apr 2025 |
    
    Pass the CIs. However, it will pass because this is a removal of test 
coverage.
    
    No.
    
    Closes #1983 from dongjoon-hyun/ORC-1745.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit c29857a6acf0bea11672cc37e5da140daa3c483a)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .github/workflows/build_and_test.yml |  9 ++---
 docker/README.md                     |  2 +-
 docker/ubuntu20/Dockerfile           | 65 ------------------------------------
 site/_docs/building.md               |  3 +-
 4 files changed, 4 insertions(+), 75 deletions(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index 29c02fcd9..fb38059e7 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -46,7 +46,6 @@ jobs:
       fail-fast: false
       matrix:
         os:
-          - ubuntu-20.04
           - ubuntu-22.04
           - ubuntu-24.04
           - macos-13
@@ -78,11 +77,7 @@ jobs:
         mkdir -p ~/.m2
         mkdir build
         cd build
-        if [ "${{ matrix.os }}" = "ubuntu-20.04" ]; then
-          cmake -DANALYZE_JAVA=ON -DCMAKE_CXX_COMPILER=${{ matrix.cxx }} 
-DSTOP_BUILD_ON_WARNING=OFF ..
-        else
-          cmake -DANALYZE_JAVA=ON -DOPENSSL_ROOT_DIR=`brew --prefix 
[email protected]` ..
-        fi
+        cmake -DANALYZE_JAVA=ON -DOPENSSL_ROOT_DIR=`brew --prefix [email protected]` 
..
         make package test-out
     - name: Step on failure
       if: ${{ failure() }}
@@ -145,7 +140,7 @@ jobs:
 
   doc:
     name: "Javadoc generation"
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-24.04
     steps:
     - name: Checkout
       uses: actions/checkout@v2
diff --git a/docker/README.md b/docker/README.md
index e9124d82f..b89fed84a 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -2,7 +2,7 @@
 
 * Debian 11 and 12
 * Fedora 37
-* Ubuntu 20, 22, 24
+* Ubuntu 22 and 24
 * Oracle Linux 9
 * Amazon Linux 2023
 
diff --git a/docker/ubuntu20/Dockerfile b/docker/ubuntu20/Dockerfile
deleted file mode 100644
index 59a487bb8..000000000
--- a/docker/ubuntu20/Dockerfile
+++ /dev/null
@@ -1,65 +0,0 @@
-# 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.
-
-# ORC compile for Ubuntu 20
-#
-
-FROM ubuntu:20.04
-LABEL maintainer="Apache ORC project <[email protected]>"
-ARG jdk=17
-ARG cc=gcc
-
-RUN ln -fs /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
-RUN apt-get update
-RUN apt-get install -y \
-  cmake \
-  git \
-  libsasl2-dev \
-  libssl-dev \
-  make \
-  curl \
-  maven \
-  openjdk-${jdk}-jdk \
-  tzdata; \
-  if [ "${cc}" = "gcc" ] ; then \
-    apt-get install -y \
-    gcc \
-    g++ \
-  ; else \
-    apt-get install -y \
-    clang \
-    && \
-    update-alternatives --set cc  /usr/bin/clang && \
-    update-alternatives --set c++ /usr/bin/clang++ \
-  ; fi
-RUN update-alternatives --set java $(update-alternatives --list java | grep 
${jdk}) && \
-    update-alternatives --set javac $(update-alternatives --list javac | grep 
${jdk})
-
-ENV CC=cc
-ENV CXX=c++
-
-WORKDIR /root
-VOLUME /root/.m2/repository
-
-CMD if [ ! -d orc ]; then \
-      echo "No volume provided, building from apache main."; \
-      echo "Pass '-v`pwd`:/root/orc' to docker run to build local source."; \
-      git clone https://github.com/apache/orc.git -b main; \
-    fi && \
-    mkdir build && \
-    cd build && \
-    cmake ../orc && \
-    make package test-out
diff --git a/site/_docs/building.md b/site/_docs/building.md
index 11da9448d..e2ca6cd73 100644
--- a/site/_docs/building.md
+++ b/site/_docs/building.md
@@ -12,7 +12,7 @@ The C++ library is supported on the following operating 
systems:
 * CentOS 7
 * Debian 10 to 12
 * MacOS 13 to 15
-* Ubuntu 20.04 to 24.04
+* Ubuntu 22.04 to 24.04
 
 You'll want to install the usual set of developer tools, but at least:
 
@@ -29,7 +29,6 @@ is in the docker subdirectory, for the list of packages 
required to build ORC:
 * [Debian 10]({{ page.dockerUrl }}/debian10/Dockerfile)
 * [Debian 11]({{ page.dockerUrl }}/debian11/Dockerfile)
 * [Debian 12]({{ page.dockerUrl }}/debian12/Dockerfile)
-* [Ubuntu 20]({{ page.dockerUrl }}/ubuntu20/Dockerfile)
 * [Ubuntu 22]({{ page.dockerUrl }}/ubuntu22/Dockerfile)
 
 To build a normal release:

Reply via email to