Merge branch 'better-support-for-skipping-update' into 'main'

Skip update of components on SKIP_UPDATE_COMPONENTS=yes

See merge request nvidia/container-toolkit/container-toolkit!400
This commit is contained in:
Evan Lezar 2023-05-23 19:17:29 +00:00
commit 3b1b89e6c0

View File

@ -31,7 +31,7 @@ else
targets=${all[@]}
fi
if [[ -z ${SKIP_UPDATE_COMPONENTS} ]]; then
if [[ x"${SKIP_UPDATE_COMPONENTS}" != x"yes" ]]; then
echo "Updating components"
"${SCRIPTS_DIR}/update-components.sh"
if [[ -n $(git status -s third_party) && ${ALLOW_LOCAL_COMPONENT_CHANGES} != "true" ]]; then