Skip to content

[8.14] [Security Solution] Labels adjustments (#181371)#181526

Merged
kibanamachine merged 1 commit intoelastic:8.14from
kibanamachine:backport/8.14/pr-181371
Apr 24, 2024
Merged

[8.14] [Security Solution] Labels adjustments (#181371)#181526
kibanamachine merged 1 commit intoelastic:8.14from
kibanamachine:backport/8.14/pr-181371

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.14:

Questions ?

Please refer to the Backport tool documentation

Following up from elastic#180773

## Summary

In this PR we are introducing the `@skipServerlessMKI` label, with it, a
test will be excluded from the execution on any MKI environment but it
will be executed as part of the CI check if the `@serverless` tag is
present.

 With the new changes the serverless labels will work as follows:

* `@serverless`: The test is executed as part of the PR check process
and in the periodic pipeline (MKI environment).

* `@serverlessQA`: The test is executed as part of the kibana release
process in the QA environment (MKI environment).

* `@skipInServerless`: The test is skipped from being executed in CI as
part of the PR check and is skipped from being executed in any MKI
environment.

`@skipInServerlessMKI`: The test is skipped from being executed in any
MKI environment but it will continue being executed as part of the PR
process if the `@serverless` tag is present.

 **IMPORTANT:**

The skip labels have been created for those tests that use `@serverless`
or `@serverlessQA` labels. The absence of them (`@serverless` or
`@serverlessQA`) will exclude automatically the execution of the test in
the targeted environments.

I.E: A test without `@serverlessQA` will never be executed as part of
the Kibana release process. A test without `@serverless` will never be
executed as part of the PR CI check neither the periodic pipeline.

(cherry picked from commit 37d47da)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Apr 24, 2024
@kibanamachine kibanamachine enabled auto-merge (squash) April 24, 2024 08:52
@kibana-ci
Copy link

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @MadameSheema

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants