From e509c2b5c8e0b03683646a097711d8714bacc367 Mon Sep 17 00:00:00 2001 From: Alexandre Allard Date: Thu, 5 Aug 2021 10:31:37 +0200 Subject: [PATCH] eve: Fix wait_debug step to handle numeric chars The `debug` could only be composed of alphabetic characters and dashes, but we are now putting the dist version in the stage name (e.g. centos-7). --- eve/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eve/main.yml b/eve/main.yml index ba226006b7..5d7ee7cfc3 100644 --- a/eve/main.yml +++ b/eve/main.yml @@ -148,7 +148,7 @@ models: elif [ "$DEBUG_STEPS" = all ]; then RUN_STEP=1 REASON="\"debug\" property set to \"all\"" - elif [[ "$DEBUG_STEPS" =~ ^[a-z\-]+(~[a-z\-]+)*$ ]]; then + elif [[ "$DEBUG_STEPS" =~ ^[a-z0-9\-]+(~[a-z0-9\-]+)*$ ]]; then IFS="~" read -ra SELECTED <<< "$DEBUG_STEPS" for selected in "${SELECTED[@]}"; do if [ "$selected" = "$STEP_NAME" ]; then