Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

[7.x](backport #1644) feat: support running kibana with different configs #1660

Merged
merged 1 commit into from
Oct 15, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 15, 2021

This is an automatic backport of pull request #1644 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

* chore: match elastic-package's kibana config

* chore: bring back kibana's configuration file

This will enable having multiple config files per test suite, using the
profile abstraction: one dir per config with the profile name

* chore: rename configurations to default

It will represent the default profile

* chore: make kibana profile configurable

Default profile will be 'default'

* feat: support bootstrapping the stack with a new kibana config

The bootstrap method is called before the test suite (only once) AND before
each test scenario, as it has been defined as a Background clause. If an
scenario wants to configure a new config file for Kibana, a new profile file
with the new kibana config must be created at the compose level, using
the ProfileName as directory name.

* feat: create an on-the-fly elastic-package's profile from compose

* chore: override default kibana config for elastic-package

* fix: remove unused code

* docs: document kibana config and profiles

* chore: add a profile for preconfgured-policies

* elas

* chore: add placeholder for preconfigured policies

* chore: support passing custom kibana ref to elastic-package

* fix: honour current env

Instead of replacing it, we want to append!

* chore: unit test that we are not overriding the env

(cherry picked from commit a207500)
@elasticmachine
Copy link
Contributor

💔 Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-10-15T15:52:44.440+0000

  • Duration: 36 min 35 sec

  • Commit: 587be61

Test stats 🧪

Test Results
Failed 1
Passed 242
Skipped 0
Total 243

Test errors 1

Expand to view the tests failures

Initializing / Pre-Submit / Sanity checks / checkgherkinlint – pre_commit.lint
    Expand to view the error details

     error 
    

  • no stacktrace

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Genuine test errors 1

💔 There are test failures but not known flaky tests, most likely a genuine test failure.

  • Name: Initializing / Pre-Submit / Sanity checks / checkgherkinlint – pre_commit.lint

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@mdelapenya mdelapenya merged commit f8603ae into 7.x Oct 15, 2021
@mergify mergify bot deleted the mergify/bp/7.x/pr-1644 branch October 15, 2021 16:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants