This is an automated email from the ASF dual-hosted git repository.
yao pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/spark-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 4fd6a38611 free container disk (#543)
4fd6a38611 is described below
commit 4fd6a38611e08bae49593561b5fba15682583b54
Author: panbingkun <[email protected]>
AuthorDate: Thu Aug 8 20:00:10 2024 +0800
free container disk (#543)
* free container disk
* update
* Temporary testing
* update
* update and re-test
---
.github/workflows/doc_gen.yml | 33 ++++++++++++++++++++++++++++++++-
_config.yml | 2 +-
2 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/doc_gen.yml b/.github/workflows/doc_gen.yml
index c2f5a5d9e8..2d608dc9b7 100644
--- a/.github/workflows/doc_gen.yml
+++ b/.github/workflows/doc_gen.yml
@@ -10,11 +10,42 @@ on:
jobs:
lint:
- name: check wether all documentation was generated with the right Jekyll
version
+ name: check whether all documentation was generated with the right Jekyll
version
runs-on: ubuntu-20.04
container:
image: dongjoon/apache-spark-github-action-image:20201025
steps:
+ - name: Free up disk space
+ shell: 'script -q -e -c "bash {0}"'
+ run: |
+ echo "=================================="
+ echo "Free up disk space on CI system"
+ echo "=================================="
+
+ echo "Listing top 100 largest packages (from large to small)"
+ printf "Installed-Size\tPackage\n"
+ dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n -r | head
-n 100
+ df -h
+
+ echo "Removing large packages"
+ rm -rf /__t/CodeQL
+ rm -rf /__t/go
+ rm -rf /__t/node
+
+ apt-get remove --purge -y '^aspnet.*' || true
+ apt-get remove --purge -y '^dotnet-.*' || true
+ apt-get remove --purge -y '^llvm-.*' || true
+ apt-get remove --purge -y 'php.*' || true
+ apt-get remove --purge -y '^mongodb-.*' || true
+ apt-get remove --purge -y 'gfortran-11' || true
+ apt-get remove --purge -y 'humanity-icon-theme' || true
+ apt-get remove --purge -y 'nodejs-doc' || true
+ apt-get remove --purge -y snapd google-chrome-stable
microsoft-edge-stable firefox || true
+ apt-get remove --purge -y azure-cli google-cloud-sdk mono-devel
powershell libgl1-mesa-dri || true
+ apt-get autoremove --purge -y
+ apt-get clean
+
+ df -h
- name: Checkout Spark Website repository
uses: actions/checkout@v2
- name: Install dependencies for documentation generation
diff --git a/_config.yml b/_config.yml
index 172d467370..fee18f008a 100644
--- a/_config.yml
+++ b/_config.yml
@@ -4,6 +4,6 @@ kramdown:
entity_output: symbol
permalink: none
destination: site
-exclude: ['README.md','content', 'LICENSE', 'merge_pr.py', 'Gemfile',
'Gemfile.lock']
+exclude: ['README.md', 'content', 'LICENSE', 'merge_pr.py', 'Gemfile',
'Gemfile.lock']
keep_files: ['docs', 'static']
url: https://spark.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]