From b44ef3afb1b158c2431ffa8c482864d880954b33 Mon Sep 17 00:00:00 2001 From: Andrew Shao Date: Tue, 27 Feb 2024 13:30:12 -0800 Subject: [PATCH] Increase disk space in container for doc builder (#504) The deploy_dev_docs action was failing due to running out of disk space in the container. This was alleviated by running the `maximize-build-space` Github action. [ committed by @ashao ] [ reviewed by @ankona ] --- .github/workflows/build_docs.yml | 12 ++++++++++++ doc/changelog.rst | 12 ++++++++---- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 714eb3819..65aadc03c 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -39,6 +39,18 @@ jobs: runs-on: ubuntu-latest steps: + + # Maximize the space in this image + - name: Maximize build space + uses: easimon/maximize-build-space@v10 + with: + root-reserve-mb: 30720 + remove-dotnet: true + remove-android: true + remove-haskell: true + remove-codeql: true + remove-docker-images: true + - uses: actions/checkout@v4 with: fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository. diff --git a/doc/changelog.rst b/doc/changelog.rst index 0e8f4e048..f84047f29 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -11,7 +11,6 @@ Jump to :ref:`SmartRedis Changelog ` SmartSim ======== - Development branch ------------------ @@ -20,14 +19,19 @@ To be released at some future point in time Description - Update Experiment API typing - +- Fix publishing of development docs Detailed Notes +- The container which builds the documentation for every merge to develop + was failing due to a lack of space within the container. This was fixed + by including an additional Github action that removes some unneeded + software and files that come from the default Github Ubuntu container. + (SmartSim-PR-PR504_) - Update the generic `t.Any` typehints in Experiment API. (SmartSim-PR501_) - -.. _SmartSim-PR493: https://github.com/CrayLabs/SmartSim/pull/493 +.. _SmartSim-PR504: https://github.com/CrayLabs/SmartSim/pull/504 +.. _SmartSim-PR501: https://github.com/CrayLabs/SmartSim/pull/501 0.6.2