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

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


The following commit(s) were added to refs/heads/branch-2.4 by this push:
     new 6c5d008  [SPARK-33156][INFRA][2.4] Upgrade GithubAction image from 
18.04 to 20.04
6c5d008 is described below

commit 6c5d008f43f6fb17907f970c9d87c5f2827381ac
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Tue Nov 3 10:01:13 2020 -0800

    [SPARK-33156][INFRA][2.4] Upgrade GithubAction image from 18.04 to 20.04
    
    ### What changes were proposed in this pull request?
    
    This PR aims to upgrade `Github Action` runner image from `Ubuntu 18.04 
(LTS)` to `Ubuntu 20.04 (LTS)`.
    
    ### Why are the changes needed?
    
    `ubuntu-latest` in `GitHub Action` is still `Ubuntu 18.04 (LTS)`.
    - https://github.com/actions/virtual-environments#available-environments
    
    This upgrade will prepare AmbLab Jenkins upgrade.
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass the `Github Action` in this PR.
    
    Closes #30232 from dongjoon-hyun/SPARK-33156-2.4.
    
    Authored-by: Dongjoon Hyun <dh...@apple.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 .github/workflows/build_and_test.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index 9390248..b69932e 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -12,7 +12,8 @@ jobs:
   # Build: build Spark and run the tests for specified modules.
   build:
     name: "Build modules: ${{ matrix.modules }} ${{ matrix.comment }} (JDK ${{ 
matrix.java }}, ${{ matrix.hadoop }})"
-    runs-on: ubuntu-latest
+    # Ubuntu 20.04 is the latest LTS. The next LTS is 22.04.
+    runs-on: ubuntu-20.04
     strategy:
       fail-fast: false
       matrix:
@@ -122,7 +123,6 @@ jobs:
     - name: Install Python 2.7
       uses: actions/setup-python@v2
       # Yarn has a Python specific test too, for example, YarnClusterSuite.
-      if: contains(matrix.modules, 'yarn') || contains(matrix.modules, 
'pyspark') || (contains(matrix.modules, 'sql') && !contains(matrix.modules, 
'sql-'))
       with:
         python-version: 2.7
         architecture: x64
@@ -179,7 +179,7 @@ jobs:
   # Static analysis, and documentation build
   lint:
     name: Linters, licenses, dependencies and documentation generation
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
     steps:
     - name: Checkout Spark repository
       uses: actions/checkout@v2


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to