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

Remove 5.x obsolete options checks #9002

Merged
merged 2 commits into from
Nov 15, 2018

Conversation

ph
Copy link
Contributor

@ph ph commented Nov 8, 2018

Since we are moving to 7.0 its a good time to update the code and remove
deprecated code and warning for removed options.

Remove any 5.x options
Add tests for obsolete Filebeat 6.x options

@ph ph added in progress Pull request is currently in progress. Filebeat Filebeat libbeat Metricbeat Metricbeat Auditbeat labels Nov 8, 2018
@ph ph changed the title Remove 5.x obsolete options checks [WIP] Remove 5.x obsolete options checks Nov 8, 2018
@ph
Copy link
Contributor Author

ph commented Nov 9, 2018

Jenkins test this please

@ph
Copy link
Contributor Author

ph commented Nov 9, 2018

I think there was a problem with the docker on that CI node, I've rekick the Jenkins tests to see if it solve the problem.

@ph
Copy link
Contributor Author

ph commented Nov 9, 2018

The docker error seems to be a problem with our infra, it should be resolved soon.

@ph ph added review and removed in progress Pull request is currently in progress. labels Nov 9, 2018
@ph ph changed the title [WIP] Remove 5.x obsolete options checks Remove 5.x obsolete options checks Nov 9, 2018
@ph ph force-pushed the fix/remove-5x-obsolete-options branch from 189a2ea to 8a2c019 Compare November 12, 2018 21:11
@ph ph requested a review from urso November 12, 2018 21:11
@ph
Copy link
Contributor Author

ph commented Nov 13, 2018

I do not think the Auditbeat failure is related, this look like the file integrity test failing.

}

functions := []struct {
name string
fn func(*common.Config, ...string) error
}{
{name: "checkRemovedSetting", fn: checkRemovedSettings},
{name: "checkRemoved6xSetting", fn: CheckRemoved6xSettings},
// {name: "checkRemoved6xSetting", fn: CheckRemoved6xSettings},
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this comment a leftover?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

🤦‍♂️

@ph
Copy link
Contributor Author

ph commented Nov 13, 2018

@kvch updated with the uncomment code, I have fat fingers :(

@ph
Copy link
Contributor Author

ph commented Nov 14, 2018

Jenkins test this please

ph added 2 commits November 14, 2018 08:02
Since we are moving to 7.0 its a good time to update the code and remove
deprecated code and warning for removed options.

Remove any 5.x options
Add tests for obsolete Filebeat 6.x options
@ph ph force-pushed the fix/remove-5x-obsolete-options branch from d794456 to 0dc8acd Compare November 14, 2018 13:02
@ph ph merged commit f5768f3 into elastic:master Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants