Skip to content
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

Merged
merged 1 commit into from
Jun 15, 2017

Conversation

david-mcmahon
Copy link
Contributor

Companion change to kubernetes/test-infra#3028.

cc @kubernetes/kubernetes-release-managers

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 13, 2017
@david-mcmahon david-mcmahon force-pushed the release-blocking branch 3 times, most recently from aeb5778 to 62f5fda Compare June 14, 2017 00:51
@david-mcmahon david-mcmahon changed the title WIP: Get canonical list of blocking jobs from test-infra/config/config.yaml. Get canonical list of blocking jobs from test-infra/config/config.yaml. Jun 14, 2017
# 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious what does "," mean?

Copy link
Contributor Author

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.

@caesarxuchao
Copy link
Member

It seems good. We can always fix script problems when we run the tool.

Copy link
Member

@enisoc enisoc left a 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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra "install"

@david-mcmahon
Copy link
Contributor Author

Thanks @caesarxuchao and @enisoc. All comments addressed. PTAL.

@enisoc
Copy link
Member

enisoc commented Jun 15, 2017

Did you not push the updated branch yet? In any case it was just a nit.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 15, 2017
@david-mcmahon david-mcmahon merged commit 50badc5 into kubernetes:master Jun 15, 2017
# 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]})
Copy link
Member

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?

Copy link
Contributor Author

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.

marpaia pushed a commit to marpaia/release that referenced this pull request Feb 21, 2019
Update OWNERS_ALIASES to only include N-3 RT personnel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants