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

Take test failures into account when setting prow job status #319

Merged
merged 9 commits into from
Jan 17, 2018

Conversation

jlewi
Copy link
Contributor

@jlewi jlewi commented Jan 17, 2018


This change is Reviewable

@jlewi jlewi mentioned this pull request Jan 17, 2018
@jlewi
Copy link
Contributor Author

jlewi commented Jan 17, 2018

Someone want to take a look at this before I commit? This should allow us to fully trust test results so we can reenable the releaser.

/cc @gaocegege @DjangoPeng @ScorpioCPH

parser_finished.set_defaults(func=finalize_prow_job)

# parse the args and call whatever function was selected
args = parser.parse_args()
Copy link
Member

Choose a reason for hiding this comment

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

How about replacing it with args, _ = parser.parse_known_args() ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why would we want to silently ignore unknown arguments? There should be no unknown arguments.

Copy link
Member

Choose a reason for hiding this comment

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

It's also make sense to set a strict parser as the current design.

Copy link
Member

@DjangoPeng DjangoPeng left a comment

Choose a reason for hiding this comment

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

LGTM

parser_finished.set_defaults(func=finalize_prow_job)

# parse the args and call whatever function was selected
args = parser.parse_args()
Copy link
Member

Choose a reason for hiding this comment

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

It's also make sense to set a strict parser as the current design.

@jlewi
Copy link
Contributor Author

jlewi commented Jan 17, 2018

Travis seems to be having problems running the build but since our presubmits are passing I'm going to merge this.

@jlewi jlewi merged commit 04425d9 into kubeflow:master Jan 17, 2018
@coveralls
Copy link

Coverage Status

Coverage remained the same at 31.439% when pulling 345d70f on jlewi:report_errors into e4e12fe on tensorflow:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants