Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) # Backport This will backport the following commits from `main` to `8.x`: - [[kbn-test] validate isCloud by checking kbnHost (#198025)](#198025) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dzmitry Lemechko","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-01T19:10:28Z","message":"[kbn-test] validate isCloud by checking kbnHost (#198025)\n\n## Summary\r\n\r\nRecently we had issues investigating SAML auth failures against MKI. The\r\nissue was caused by missing `TEST_CLOUD` env var that led to `isCloud`\r\nproperty to be set to false.\r\n\r\nThis PR adds `isCloud` validation by checking if `kbnHost` is pointing\r\nto Cloud instance and throwing error about misconfiguration\r\n\r\n**How to test:**\r\n\r\nTry to run FTR tests against MKI without defining `TEST_CLOUD` env var\r\n\r\n---------\r\n\r\nCo-authored-by: Aleh Zasypkin <[email protected]>","sha":"413f7c10b69aa01394beeeb1760a9b085d06d1e4","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","FTR","backport:version","v8.17.0"],"title":"[kbn-test] validate isCloud by checking kbnHost","number":198025,"url":"https://github.com/elastic/kibana/pull/198025","mergeCommit":{"message":"[kbn-test] validate isCloud by checking kbnHost (#198025)\n\n## Summary\r\n\r\nRecently we had issues investigating SAML auth failures against MKI. The\r\nissue was caused by missing `TEST_CLOUD` env var that led to `isCloud`\r\nproperty to be set to false.\r\n\r\nThis PR adds `isCloud` validation by checking if `kbnHost` is pointing\r\nto Cloud instance and throwing error about misconfiguration\r\n\r\n**How to test:**\r\n\r\nTry to run FTR tests against MKI without defining `TEST_CLOUD` env var\r\n\r\n---------\r\n\r\nCo-authored-by: Aleh Zasypkin <[email protected]>","sha":"413f7c10b69aa01394beeeb1760a9b085d06d1e4"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198025","number":198025,"mergeCommit":{"message":"[kbn-test] validate isCloud by checking kbnHost (#198025)\n\n## Summary\r\n\r\nRecently we had issues investigating SAML auth failures against MKI. The\r\nissue was caused by missing `TEST_CLOUD` env var that led to `isCloud`\r\nproperty to be set to false.\r\n\r\nThis PR adds `isCloud` validation by checking if `kbnHost` is pointing\r\nto Cloud instance and throwing error about misconfiguration\r\n\r\n**How to test:**\r\n\r\nTry to run FTR tests against MKI without defining `TEST_CLOUD` env var\r\n\r\n---------\r\n\r\nCo-authored-by: Aleh Zasypkin <[email protected]>","sha":"413f7c10b69aa01394beeeb1760a9b085d06d1e4"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Dzmitry Lemechko <[email protected]>
- Loading branch information