From ec72f2e3605f3a962e81eeb1834c28a968f66530 Mon Sep 17 00:00:00 2001 From: AJ Schmidt Date: Thu, 1 Jun 2023 17:39:02 -0400 Subject: [PATCH] Remove documentation build scripts for Jenkins (#418) We recently created new scripts for building documentation with GitHub Actions. This PR removes the old scripts that were used by Jenkins and are no longer in use. Authors: - AJ Schmidt (https://github.com/ajschmidt8) Approvers: - Ray Douglass (https://github.com/raydouglass) URL: https://github.com/rapidsai/rapids-cmake/pull/418 --- ci/docs/build.sh | 60 ------------------------------------------------ 1 file changed, 60 deletions(-) delete mode 100644 ci/docs/build.sh diff --git a/ci/docs/build.sh b/ci/docs/build.sh deleted file mode 100644 index de72f94e..00000000 --- a/ci/docs/build.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash -# Copyright (c) 2021, NVIDIA CORPORATION. -######################################### -# rapids-cmake Docs build script for CI # -######################################### - -if [ -z "$PROJECT_WORKSPACE" ]; then - echo ">>>> ERROR: Could not detect PROJECT_WORKSPACE in environment" - echo ">>>> WARNING: This script contains git commands meant for automated building, do not run locally" - exit 1 -fi - -export DOCS_WORKSPACE=$WORKSPACE/docs -export PATH=/opt/conda/bin:/usr/local/cuda/bin:$PATH -export HOME=$WORKSPACE -export PROJECT_WORKSPACE=/rapids/rapids-cmake -export LIBCUDF_KERNEL_CACHE_PATH="$HOME/.jitify-cache" -export NIGHTLY_VERSION=$(echo $BRANCH_VERSION | awk -F. '{print $2}') -export PROJECTS=(rapids-cmake) - -gpuci_logger "Check environment" -env - -gpuci_logger "Check GPU usage" -nvidia-smi - -gpuci_logger "Activate conda env" -. /opt/conda/etc/profile.d/conda.sh -conda activate rapids - -# Using absolute path of python executable to avoid obtaining wrong version of package -gpuci_logger "Install pip only package" -/opt/conda/envs/rapids/bin/python -m pip install sphinxcontrib-moderncmakedomain - -gpuci_logger "Check versions" -python --version -$CC --version -$CXX --version - -gpuci_logger "Check conda environment" -conda info -conda config --show-sources -conda list --show-channel-urls - -# Build Doxygen docs -gpuci_logger "Build Sphinx docs" -cd $PROJECT_WORKSPACE/docs -make html - -#Commit to Website -cd $DOCS_WORKSPACE - -for PROJECT in ${PROJECTS[@]}; do - if [ ! -d "api/$PROJECT/$BRANCH_VERSION" ]; then - mkdir -p api/$PROJECT/$BRANCH_VERSION - fi - rm -rf $DOCS_WORKSPACE/api/$PROJECT/$BRANCH_VERSION/* -done - -mv $PROJECT_WORKSPACE/docs/_build/html/* $DOCS_WORKSPACE/api/rapids-cmake/$BRANCH_VERSION