-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
update canvas a11y test to import SO not re-create index #168944
update canvas a11y test to import SO not re-create index #168944
Conversation
💚 Build Succeeded
Metrics [docs]
To update your PR or re-run it, just comment with: |
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. Thanks for doing the changes Dima.
) ## Summary Related to elastic#161882 There is no need to re-create `.kibana` index, changing to imported saved objects. (cherry picked from commit a1f360e)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
) (#169003) # Backport This will backport the following commits from `main` to `8.11`: - [update canvas a11y test to import SO not re-create index (#168944)](#168944) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dzmitry Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2023-10-16T16:28:43Z","message":"update canvas a11y test to import SO not re-create index (#168944)\n\n## Summary\r\n\r\nRelated to https://github.com/elastic/kibana/issues/161882\r\n\r\nThere is no need to re-create `.kibana` index, changing to imported\r\nsaved objects.","sha":"a1f360eac5d538cebd13af795dfdc6e14e944f2a","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.12.0","v8.11.1"],"number":168944,"url":"https://github.com/elastic/kibana/pull/168944","mergeCommit":{"message":"update canvas a11y test to import SO not re-create index (#168944)\n\n## Summary\r\n\r\nRelated to https://github.com/elastic/kibana/issues/161882\r\n\r\nThere is no need to re-create `.kibana` index, changing to imported\r\nsaved objects.","sha":"a1f360eac5d538cebd13af795dfdc6e14e944f2a"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/168944","number":168944,"mergeCommit":{"message":"update canvas a11y test to import SO not re-create index (#168944)\n\n## Summary\r\n\r\nRelated to https://github.com/elastic/kibana/issues/161882\r\n\r\nThere is no need to re-create `.kibana` index, changing to imported\r\nsaved objects.","sha":"a1f360eac5d538cebd13af795dfdc6e14e944f2a"}},{"branch":"8.11","label":"v8.11.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
) ## Summary Related to elastic#161882 There is no need to re-create `.kibana` index, changing to imported saved objects.
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
) ## Summary Related to elastic#161882 There is no need to re-create `.kibana` index, changing to imported saved objects. (cherry picked from commit a1f360e) # Conflicts: # x-pack/test/accessibility/apps/canvas.ts
) (#170113) # Backport This will backport the following commits from `main` to `8.10`: - [update canvas a11y test to import SO not re-create index (#168944)](#168944) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dzmitry Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2023-10-16T16:28:43Z","message":"update canvas a11y test to import SO not re-create index (#168944)\n\n## Summary\r\n\r\nRelated to https://github.com/elastic/kibana/issues/161882\r\n\r\nThere is no need to re-create `.kibana` index, changing to imported\r\nsaved objects.","sha":"a1f360eac5d538cebd13af795dfdc6e14e944f2a","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.11.0","v8.12.0","v8.11.1"],"number":168944,"url":"https://github.com/elastic/kibana/pull/168944","mergeCommit":{"message":"update canvas a11y test to import SO not re-create index (#168944)\n\n## Summary\r\n\r\nRelated to https://github.com/elastic/kibana/issues/161882\r\n\r\nThere is no need to re-create `.kibana` index, changing to imported\r\nsaved objects.","sha":"a1f360eac5d538cebd13af795dfdc6e14e944f2a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/169003","number":169003,"state":"MERGED","mergeCommit":{"sha":"bfbf388bb8e21ab718383e445fcf44edab9e0b37","message":"[8.11] update canvas a11y test to import SO not re-create index (#168944) (#169003)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.11`:\n- [update canvas a11y test to import SO not re-create index\n(#168944)](https://github.com/elastic/kibana/pull/168944)\n\n<!--- Backport version: 8.9.7 -->\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT [{\"author\":{\"name\":\"Dzmitry\nLemechko\",\"email\":\"dzmitry.lemechko@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2023-10-16T16:28:43Z\",\"message\":\"update\ncanvas a11y test to import SO not re-create index (#168944)\\n\\n##\nSummary\\r\\n\\r\\nRelated to\nhttps://github.com//issues/161882\\r\\n\\r\\nThere is no need\nto re-create `.kibana` index, changing to imported\\r\\nsaved\nobjects.\",\"sha\":\"a1f360eac5d538cebd13af795dfdc6e14e944f2a\",\"branchLabelMapping\":{\"^v8.12.0$\":\"main\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v8.12.0\",\"v8.11.1\"],\"number\":168944,\"url\":\"https://github.com/elastic/kibana/pull/168944\",\"mergeCommit\":{\"message\":\"update\ncanvas a11y test to import SO not re-create index (#168944)\\n\\n##\nSummary\\r\\n\\r\\nRelated to\nhttps://github.com//issues/161882\\r\\n\\r\\nThere is no need\nto re-create `.kibana` index, changing to imported\\r\\nsaved\nobjects.\",\"sha\":\"a1f360eac5d538cebd13af795dfdc6e14e944f2a\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.11\"],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v8.12.0\",\"labelRegex\":\"^v8.12.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/168944\",\"number\":168944,\"mergeCommit\":{\"message\":\"update\ncanvas a11y test to import SO not re-create index (#168944)\\n\\n##\nSummary\\r\\n\\r\\nRelated to\nhttps://github.com//issues/161882\\r\\n\\r\\nThere is no need\nto re-create `.kibana` index, changing to imported\\r\\nsaved\nobjects.\",\"sha\":\"a1f360eac5d538cebd13af795dfdc6e14e944f2a\"}},{\"branch\":\"8.11\",\"label\":\"v8.11.1\",\"labelRegex\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\nCo-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>"}},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/168944","number":168944,"mergeCommit":{"message":"update canvas a11y test to import SO not re-create index (#168944)\n\n## Summary\r\n\r\nRelated to https://github.com/elastic/kibana/issues/161882\r\n\r\nThere is no need to re-create `.kibana` index, changing to imported\r\nsaved objects.","sha":"a1f360eac5d538cebd13af795dfdc6e14e944f2a"}}]}] BACKPORT-->
Summary
Related to #161882
This PR is a part of the general effort to stop modifying Saved Object indexes with esArchiver.
In particular test, esArchiver loads
.kibana
index with its own mappings, so the default index and its relevant to version mappings will be deleted. We don't want it, changing to simply load test data via SO import.