diff --git a/ci/scripts/github/common.sh b/ci/scripts/github/common.sh index c712ae9e75..704903f0ff 100644 --- a/ci/scripts/github/common.sh +++ b/ci/scripts/github/common.sh @@ -97,8 +97,12 @@ function update_conda_env() { rapids-logger "Checking for updates to conda env" - # Update the packages - rapids-mamba-retry env update -n morpheus --prune -q --file ${ENV_YAML} + if [[ "${SKIP_CONDA_ENV_UPDATE}" == "" ]]; then + rapids-logger "Checking for updates to conda env" + # Update the packages + rapids-mamba-retry env update -n morpheus --prune -q --file ${ENV_YAML} + fi + # Finally, reactivate conda activate morpheus diff --git a/ci/scripts/run_ci_local.sh b/ci/scripts/run_ci_local.sh index 48a67dfe1b..fcf7f769d3 100755 --- a/ci/scripts/run_ci_local.sh +++ b/ci/scripts/run_ci_local.sh @@ -63,6 +63,7 @@ ENV_LIST="${ENV_LIST} --env GIT_BRANCH=${GIT_BRANCH}" ENV_LIST="${ENV_LIST} --env GIT_COMMIT=${GIT_COMMIT}" ENV_LIST="${ENV_LIST} --env PARALLEL_LEVEL=$(nproc)" ENV_LIST="${ENV_LIST} --env CUDA_VER=${CUDA_VER}" +ENV_LIST="${ENV_LIST} --env SKIP_CONDA_ENV_UPDATE=${SKIP_CONDA_ENV_UPDATE}" mkdir -p ${LOCAL_CI_TMP} cp ${MORPHEUS_ROOT}/ci/scripts/bootstrap_local_ci.sh ${LOCAL_CI_TMP}