You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ya...@apache.org on 2024/09/21 12:44:32 UTC
(spark) branch master updated: Revert "[SPARK-49495][DOCS] Document and Feature Preview on the master branch via Live GitHub Pages Updates"
This is an automated email from the ASF dual-hosted git repository.
yao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 19906468d145 Revert "[SPARK-49495][DOCS] Document and Feature Preview on the master branch via Live GitHub Pages Updates"
19906468d145 is described below
commit 19906468d145a52a0f039e49fa54c558767805b2
Author: Kent Yao <ya...@apache.org>
AuthorDate: Sat Sep 21 20:44:08 2024 +0800
Revert "[SPARK-49495][DOCS] Document and Feature Preview on the master branch via Live GitHub Pages Updates"
This reverts commit bbbc05cbf971e931a1defc54b9924060dcdf55ca.
---
.asf.yaml | 2 -
.github/workflows/pages.yml | 92 ---------------------------------------------
2 files changed, 94 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 3935a525ff3c..22042b355b2f 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -31,8 +31,6 @@ github:
merge: false
squash: true
rebase: true
- ghp_branch: master
- ghp_path: /docs
notifications:
pullrequests: reviews@spark.apache.org
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml
deleted file mode 100644
index b3f1cad8d947..000000000000
--- a/.github/workflows/pages.yml
+++ /dev/null
@@ -1,92 +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.
-#
-
-name: GitHub Pages deployment
-
-on:
- push:
- branches:
- - master
-
-concurrency:
- group: 'docs preview'
- cancel-in-progress: false
-
-jobs:
- docs:
- name: Build and deploy documentation
- runs-on: ubuntu-latest
- permissions:
- id-token: write
- pages: write
- environment:
- name: github-pages # https://github.com/actions/deploy-pages/issues/271
- env:
- SPARK_TESTING: 1 # Reduce some noise in the logs
- RELEASE_VERSION: 'In-Progress'
- steps:
- - name: Checkout Spark repository
- uses: actions/checkout@v4
- with:
- repository: apache/spark
- ref: 'master'
- - name: Install Java 17
- uses: actions/setup-java@v4
- with:
- distribution: zulu
- java-version: 17
- - name: Install Python 3.9
- uses: actions/setup-python@v5
- with:
- python-version: '3.9'
- architecture: x64
- cache: 'pip'
- - name: Install Python dependencies
- run: pip install --upgrade -r dev/requirements.txt
- - name: Install Ruby for documentation generation
- uses: ruby/setup-ruby@v1
- with:
- ruby-version: '3.3'
- bundler-cache: true
- - name: Install Pandoc
- run: |
- sudo apt-get update -y
- sudo apt-get install pandoc
- - name: Install dependencies for documentation generation
- run: |
- cd docs
- gem install bundler -v 2.4.22 -n /usr/local/bin
- bundle install --retry=100
- - name: Run documentation build
- run: |
- sed -i".tmp1" 's/SPARK_VERSION:.*$/SPARK_VERSION: '"$RELEASE_VERSION"'/g' docs/_config.yml
- sed -i".tmp2" 's/SPARK_VERSION_SHORT:.*$/SPARK_VERSION_SHORT: '"$RELEASE_VERSION"'/g' docs/_config.yml
- sed -i".tmp3" "s/'facetFilters':.*$/'facetFilters': [\"version:$RELEASE_VERSION\"]/g" docs/_config.yml
- sed -i".tmp4" 's/__version__: str = .*$/__version__: str = "'"$RELEASE_VERSION"'"/' python/pyspark/version.py
- cd docs
- SKIP_RDOC=1 bundle exec jekyll build
- - name: Setup Pages
- uses: actions/configure-pages@v5
- - name: Upload artifact
- uses: actions/upload-pages-artifact@v3
- with:
- path: 'docs/_site'
- - name: Deploy to GitHub Pages
- id: deployment
- uses: actions/deploy-pages@v4
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org