-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get canonical list of blocking jobs from test-infra/config/config.yaml. #341
Get canonical list of blocking jobs from test-infra/config/config.yaml. #341
Conversation
aeb5778
to
62f5fda
Compare
62f5fda
to
c76d79c
Compare
# Due to resetting $branch above based on branch==master to workaround | ||
# inconsistencies in the testgrid config naming conventions, now look | ||
# *specifically* for a release branch with a version in it (non-master). | ||
if [[ "$branch" =~ release-([0-9]{1,})\. ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious what does "," mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{1,} == one or more occurrences of the previous pattern.
It seems good. We can always fix script problems when we run the tool. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
"Run the following and try again:" | ||
logecho | ||
for prereq in ${missing[@]}; do | ||
logecho "$ sudo pip install install $prereq" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra "install"
Thanks @caesarxuchao and @enisoc. All comments addressed. PTAL. |
Did you not push the updated branch yet? In any case it was just a nit. /lgtm |
# Loop through the remainder, excluding anything specified by --exclude_suites | ||
for ((i=1;i<=${#all_jobs[*]};i++)); do | ||
re="\\b${all_jobs[$i]}\\b" | ||
[[ ${exclude_suites[*]} =~ $re ]] || secondary_jobs+=(${all_jobs[$i]}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we swap re and exclude-suites, so that we can use regular expression in the excluded list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we have to exclude that many tests, I'm going to suggest that the -blocking set isn't accurately representative. That said, it's easy enough to remove the word boundary "\b" in the regex and let it search more greedily.
Update OWNERS_ALIASES to only include N-3 RT personnel
Companion change to kubernetes/test-infra#3028.
cc @kubernetes/kubernetes-release-managers