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

Commit 0a9cb37

Browse files
authored
docs: document how to trigger the tests for Beats PR (#608) (#609)
* docs: document how to trigger the tests for Beats PR * docs: typo
1 parent 71d349d commit 0a9cb37

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

e2e/README.md

+18
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,24 @@ To do so:
187187
Here you have a video reproducing the same steps:
188188
![](./regression-testing.gif)
189189

190+
### Running tests for a Beats pull request
191+
Because we trigger the E2E tests for each Beats PR that is packaged, it's possible to manually trigger it using CI user interface. To achieve it we must navigate to Jenkins and run the tests in the specific branch the original Beats PR is targeting.
192+
193+
>For further information about packaging Beats, please read [Beat's CI docs](https://github.com/elastic/beats/blob/1de27eed058dd074b58c71094c7678b3536251cb/README.md#ci).
194+
195+
To do so:
196+
197+
1. Navigate to Jenkins: https://beats-ci.elastic.co/job/e2e-tests/job/e2e-testing-mbp/
198+
1. Login as a user
199+
1. Select the base branch for the test code: 7.10.x, 7.11.x, 7.x or master.
200+
1. In the left menu, click on `Buid with Parameters`.
201+
1. In the input parameters form, set the Beat version **for Fleet and Metricbeat** with the ID of your pull request, using `pr-` as prefix. I.e. `pr-23456`.
202+
1. In the input parameters form, keep the stack version (for Fleet and Metricbeat) as is, to use each branch's default version.
203+
1. In the input parameters form, set the `GITHUB_CHECK_NAME` to `E2E Tests`. This value will appear as the label for the Github check for the E2E tests.
204+
1. In the input parameters form, set the `GITHUB_CHECK_REPO` to `beats`.
205+
1. In the input parameters form, set the `GITHUB_CHECK_SHA1` to the `SHA1` of the last commit in your pull request. This value will allow us to modify the mergeable status of that commit with the Github check.
206+
1. Click the `Build` button at the bottom of the parameters form.
207+
190208
## Noticing the test framework
191209

192210
To generate the notice files for this project:

0 commit comments

Comments
 (0)