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

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

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:50.777+0000

  • Duration: 35 min 0 sec

  • Commit: a6163e3

Test stats 🧪

Test Results
Failed 2
Passed 236
Skipped 0
Total 238

Test errors 2

Expand to view the tests failures

Initializing / End-To-End Tests / windows-2019_fleet_fleet_mode_agent / Deploying the centos agent – Fleet Mode Agent
    Expand to view the error details

     Step system package dashboards are listed in Fleet 
    

  • no stacktrace
Initializing / End-To-End Tests / windows-2019_fleet_fleet_mode_agent / Revoking the enrollment token for the centos agent – Fleet Mode Agent
    Expand to view the error details

     Step the enrollment token is revoked 
    

  • no stacktrace

Steps errors 3

Expand to view the steps failures

Run functional tests for windows-2019:fleet:fleet_mode_agent && ~@nightly && ~debian && ~@skip:windo
  • Took 14 min 59 sec . View more details here
  • Description: go test -timeout 60m -v --godog.format="junit:..\..\..\outputs\TEST-windows-fleet.xml" --godog.tags="fleet_mode_agent && ~@nightly && ~debian && ~@skip:windows && ~@skip:amd64"
Archive the artifacts
  • Took 0 min 0 sec . View more details here
  • Description: [2021-10-15T16:26:23.231Z] Archiving artifacts script returned exit code 1
Archive the artifacts
  • Took 0 min 1 sec . View more details here
  • Description: [2021-10-15T16:26:24.855Z] Archiving artifacts script returned exit code 1

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Genuine test errors 2

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

  • Name: Initializing / End-To-End Tests / windows-2019_fleet_fleet_mode_agent / Deploying the centos agent – Fleet Mode Agent
  • Name: Initializing / End-To-End Tests / windows-2019_fleet_fleet_mode_agent / Revoking the enrollment token for the centos agent – Fleet Mode Agent

🤖 GitHub comments

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

  • /test : Re-trigger the build.

@mdelapenya mdelapenya merged commit 15b6a03 into 7.15.x Oct 15, 2021
@mergify mergify bot deleted the mergify/bp/7.15.x/pr-1644 branch October 15, 2021 16:42
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