Skip to content

Commit

Permalink
eve: Fix wait_debug step to handle numeric chars
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
alexandre-allard committed Aug 5, 2021
1 parent 65ab482 commit e509c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eve/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e509c2b

Please sign in to comment.