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 be52903  [SPARK-28606][INFRA] Update CRAN key to recover docker image 
generation
be52903 is described below

commit be5290387c0c2089863d20f80657a4fb1f7b5e44
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Fri Aug 2 23:41:00 2019 +0000

    [SPARK-28606][INFRA] Update CRAN key to recover docker image generation
    
    CRAN repo changed the key and it causes our release script failure. This is 
a release blocker for Apache Spark 2.4.4 and 3.0.0.
    - https://cran.r-project.org/bin/linux/ubuntu/README.html
    ```
    Err:1 https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/ InRelease
      The following signatures couldn't be verified because the public key is 
not available: NO_PUBKEY 51716619E084DAB9
    ...
    W: GPG error: https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/ 
InRelease: The following signatures couldn't be verified because the public key 
is not available: NO_PUBKEY 51716619E084DAB9
    E: The repository 'https://cloud.r-project.org/bin/linux/ubuntu 
bionic-cran35/ InRelease' is not signed.
    ```
    
    Note that they are reusing `cran35` for R 3.6 although they changed the key.
    ```
    Even though R has moved to version 3.6, for compatibility the sources.list 
entry still uses the cran3.5 designation.
    ```
    
    This PR aims to recover the docker image generation first. We will verify 
the R doc generation in a separate JIRA and PR.
    
    Manual. After `docker-build.log`, it should continue to the next stage, 
`Building v3.0.0-rc1`.
    ```
    $ dev/create-release/do-release-docker.sh -d /tmp/spark-3.0.0 -n -s docs
    ...
    Log file: docker-build.log
    Building v3.0.0-rc1; output will be at /tmp/spark-3.0.0/output
    ```
    
    Closes #25339 from dongjoon-hyun/SPARK-28606.
    
    Authored-by: Dongjoon Hyun <dh...@apple.com>
    Signed-off-by: DB Tsai <d_t...@apple.com>
    (cherry picked from commit 0c6874fb37f97c36a5265455066de9e516845df2)
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 dev/create-release/spark-rm/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev/create-release/spark-rm/Dockerfile 
b/dev/create-release/spark-rm/Dockerfile
index f78d01f..929997b 100644
--- a/dev/create-release/spark-rm/Dockerfile
+++ b/dev/create-release/spark-rm/Dockerfile
@@ -40,8 +40,8 @@ ARG PIP_PKGS="pyopenssl pypandoc numpy pygments sphinx"
 # the most current package versions (instead of potentially using old versions 
cached by docker).
 RUN apt-get clean && apt-get update && $APT_INSTALL gnupg ca-certificates 
apt-transport-https && \
   echo 'deb https://cloud.r-project.org/bin/linux/ubuntu xenial/' >> 
/etc/apt/sources.list && \
-  gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9 && \
-  gpg -a --export E084DAB9 | apt-key add - && \
+  gpg --keyserver keyserver.ubuntu.com --recv-key 
E298A3A825C0D65DFD57CBB651716619E084DAB9 && \
+  gpg -a --export E298A3A825C0D65DFD57CBB651716619E084DAB9 | apt-key add - && \
   apt-get clean && \
   rm -rf /var/lib/apt/lists/* && \
   apt-get clean && \


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

Reply via email to