Commit 8e1ad82a authored by Tomasz Zawadzki's avatar Tomasz Zawadzki Committed by Tomasz Zawadzki
Browse files

ci/docs: re-use spdk-ci container for building documentation



Jekyll container requires installation of all other dependencies to build SPDK
documentation, and differs from what is used in other spdk-ci jobs to build
the documentation.

Most importantly Jekyll container has a very old version of Doxygen, compared
to 1.10 which we use right now.

Change-Id: I1762b286eace9cf8b8d1fa7a3db143284240dbb5
Signed-off-by: default avatarTomasz Zawadzki <tomasz.zawadzki@nutanix.com>
Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26808


Reviewed-by: default avatarJim Harris <jim.harris@nvidia.com>
Reviewed-by: default avatarJacek Kalwas <jacek.kalwas@nutanix.com>
Tested-by: default avatarSPDK Automated Test System <spdkbot@gmail.com>
parent 82470bdc
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -13,31 +13,22 @@ jobs:
  sync-gh-pages:
    runs-on: ubuntu-latest
    container:
      image: ghcr.io/actions/jekyll-build-pages:v1.0.13
      image: ghcr.io/spdk/spdk-ci:fedora_40
    steps:
    - name: Checkout Pages repository
      uses: actions/checkout@v4.1.7
      with:
        repository: spdk/spdk.github.io
        path: pages
    - name: Checkout SPDK repository
      uses: actions/checkout@v4.1.7
      with:
        repository: spdk/spdk
        path: spdk
    - name: Install dependencies
      run: |
        set -x
        apt-get update
        ./spdk/scripts/pkgdep.sh --docs
        dnf -y install jekyll
    - name: Run doc generation script
      id: vars
      working-directory: pages
      env:
        PIP_VIRTDIR: /var/spdk/dependencies/pip
      run: |
        set -x
        . "$PIP_VIRTDIR/bin/activate"
        ./update-doc.sh
        echo "spdk_sha=$(cat _doc_version.txt)" >> $GITHUB_OUTPUT
    - name: Commit and Push changes