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

ci: customise test matrix file#1648

Merged
v1v merged 1 commit intoelastic:masterfrom
v1v:feature/fleet-tests-on-beats-ci
Oct 13, 2021
Merged

ci: customise test matrix file#1648
v1v merged 1 commit intoelastic:masterfrom
v1v:feature/fleet-tests-on-beats-ci

Conversation

@v1v
Copy link
Copy Markdown
Member

@v1v v1v commented Oct 12, 2021

What does this PR do?

Allow to customise the pipeline with the file that contains the suites and scenarios

Why is it important?

Allow to define different suites/scenarios in files. elastic/beats#24112 (review) could benefit from, for instance, if we enable the e2e-testing as part of the process in the Beats main pipeline, then we can start with supporting a minimal subset and then incrementally add more scenarios.

@v1v v1v added the area:ci Anything related to the CI label Oct 12, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

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-12T16:21:19.941+0000

  • Duration: 36 min 9 sec

  • Commit: 8be8998

Test stats 🧪

Test Results
Failed 0
Passed 233
Skipped 0
Total 233

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

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

  • /test : Re-trigger the build.

script {
def suitesParam = params.runTestsSuites
def existingSuites = readYaml(file: '.ci/.e2e-tests.yaml')
def existingSuites = readYaml(file: "${TEST_MATRIX_FILE}")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super smart!!

This will allow the simplification of the way we select the test suite to run: instead of the runTestSuites param, we could simply create "profiles" as you created here, and select the entire profile instead of evaluating the previous param.

@v1v v1v self-assigned this Oct 13, 2021
@v1v v1v merged commit 73093f6 into elastic:master Oct 13, 2021
mergify bot pushed a commit that referenced this pull request Oct 13, 2021
mergify bot pushed a commit that referenced this pull request Oct 13, 2021
v1v pushed a commit that referenced this pull request Oct 13, 2021
mdelapenya pushed a commit that referenced this pull request Oct 15, 2021
(cherry picked from commit 73093f6)

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area:ci Anything related to the CI v7.15.0 v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants