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

Fix es_archiver rebuild_all action to support nested directories #27592

Merged
merged 3 commits into from Dec 21, 2018

Conversation

mikecote
Copy link
Contributor

@mikecote mikecote commented Dec 20, 2018

Summary

Running the following script currently fails node scripts/es_archiver rebuild-all. It fails on test/functional/fixtures/es_archiver/dashboard having sub folders.

This PR changes the rebuild_all function to support nested directories.

Checklist

- [ ] This was checked for cross-browser compatibility, including a check against IE11

- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support

- [ ] Documentation was added for features that require explanation or tutorials

- [ ] Unit or functional tests were updated or added to match the most common scenarios

- [ ] This was checked for keyboard-only and screenreader accessibility

For maintainers

@mikecote mikecote added review Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.0.0 labels Dec 20, 2018
@mikecote mikecote self-assigned this Dec 20, 2018
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform

@elasticmachine
Copy link
Contributor

💔 Build Failed

@spalger
Copy link
Contributor

spalger commented Dec 20, 2018

CI should go green after #27608 is merged and master is pulled in

Copy link
Contributor

@spalger spalger left a comment

Choose a reason for hiding this comment

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

LGTM, if you wanted I think you could merge these two functions into one and have it be a little smaller, but no need to worry about it. This function is very rarely used 👍

src/es_archiver/actions/rebuild_all.js Outdated Show resolved Hide resolved
@mikecote
Copy link
Contributor Author

@spalger just applied both changes, looks much better now 👍

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@mikecote mikecote merged commit c72dd3f into elastic:master Dec 21, 2018
mikecote added a commit to mikecote/kibana that referenced this pull request Dec 21, 2018
…stic#27592)

* Fix es_archiver rebuild_all action to support nested directories

* Merge two functions into one
mikecote added a commit that referenced this pull request Dec 21, 2018
) (#27676)

* Fix es_archiver rebuild_all action to support nested directories

* Merge two functions into one
@mikecote mikecote added the non-issue Indicates to automation that a pull request should not appear in the release notes label Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
non-issue Indicates to automation that a pull request should not appear in the release notes review Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v6.7.0 v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants