Skip to content

Commit cb4a736

Browse files
committed
[SPARK-30704][INFRA] Use jekyll-redirect-from 0.15.0 instead of the latest
This PR aims to pin the version of `jekyll-redirect-from` to 0.15.0. This is a release blocker for both Apache Spark 3.0.0 and 2.4.5. `jekyll-redirect-from` released 0.16.0 a few days ago and that requires Ruby 2.4.0. - https://github.com/jekyll/jekyll-redirect-from/releases/tag/v0.16.0 ``` $ cd dev/create-release/spark-rm/ $ docker build -t spark:test . ... ERROR: Error installing jekyll-redirect-from: jekyll-redirect-from requires Ruby version >= 2.4.0. ... ``` No. Manually do the above command to build `spark-rm` Docker image. ``` ... Successfully installed jekyll-redirect-from-0.15.0 Parsing documentation for jekyll-redirect-from-0.15.0 Installing ri documentation for jekyll-redirect-from-0.15.0 Done installing documentation for jekyll-redirect-from after 0 seconds 1 gem installed Successfully installed rouge-3.15.0 Parsing documentation for rouge-3.15.0 Installing ri documentation for rouge-3.15.0 Done installing documentation for rouge after 4 seconds 1 gem installed Removing intermediate container e0ec7c77b69f ---> 32dec37291c6 ``` Closes apache#27434 from dongjoon-hyun/SPARK-30704. Authored-by: Dongjoon Hyun <dhyun@apple.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com> (cherry picked from commit 1adf352) Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
1 parent c7c2bda commit cb4a736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/create-release/spark-rm/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ RUN apt-get clean && apt-get update && $APT_INSTALL gnupg ca-certificates apt-tr
7777
# Install tools needed to build the documentation.
7878
$APT_INSTALL ruby2.3 ruby2.3-dev mkdocs && \
7979
gem install jekyll --no-rdoc --no-ri -v 3.8.6 && \
80-
gem install jekyll-redirect-from && \
80+
gem install jekyll-redirect-from -v 0.15.0 && \
8181
gem install pygments.rb
8282

8383
WORKDIR /opt/spark-rm/output

0 commit comments

Comments
 (0)