* feat: add a new step to run the e2e tests for certain parts of Beats (elastic#21100)
* feat: add a new step to run the e2e tests for certain parts of Beats
We are going to trigger the tests for those parts affected by the
elastic-agent, filebeat, or metricbeat, because those are the ones we
verify in the e2e-testing suite
* chore: do not include heartbeat
* feat: trigger the e2e tests
* fix: use relative path
* chore: use proper target branch name for PRs
* chore: use different tag
* fix: use proper env variable
* chore: pass github checks context to downstream job
* chore: revert shared lib version
Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
* chore: add BASE_DIR env variable
Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
* chore: remove duplicated env
* ffix: add param comma separator
* fix: wrong copy&paste
* chore: move e2e GH check out of the release context
* chore: simplify conditional logic
* chore: refine execution of test suites
* fix: use proper parameter name
* chore: set metricbeat version
* chore: remove slack notifications on PRs
* chore: update parameter
* chore: run multiple test suites per beat type
Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
* [E2E Tests] fix: set versions ony for PRs (elastic#21608)
* fix: set versions ony for PRs
We want to use default versions per branch when running after a merge
* fix: add trailing comma
Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
* [CI: Packaging] fix: push ubi8 images too (elastic#21621)
* fix: push ubi8 images too
* chore: enhance retries
Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
* chore: use variables in log
* chore: add "-oss" images
Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
* fix: remove extra curly brace in script (elastic#21692)
* fix: remove extra curly brace
* chore: proper indent
* fix: update fleet test suite name (elastic#21738)
* chore: create CI artifacts for DEV usage (elastic#21645)
It will create the artifacts with some requirements related to integrity
* chore: simplify triggering the E2E tests for Beats (elastic#21790)
* chore: pass beat as a method argument (no side-effects)
* chore: run tests in a separate stage
* fix: use parenthesis
* chore: update comment
* chore: do not trigger E2E tests if no suite was added
* fix: use missing curly brackets
* fix: wrong closure wrapping
* fix: condition was not set
* chore: delegate variant pushes to the right method (elastic#21861)
* fix: delegate pushes to variants
* chore: group conditions for x-pack
* chore: simplify with endsWith
Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
* feat: package aliases for snapshots (elastic#21960)
* feat: push aliases for docker images
* feat: build alias for snapshots
* fix: only update alias on snapshots
Co-authored-by: Jaime Soriano Pastor <jaime.soriano@elastic.co>
* fix: wrong image name for alias
* fix: reuse variable as groovy does not hide variables by scope
* chore: extract common logic to a method
* Revert "fix: only update alias on snapshots"
This reverts commit cff2cef.
* Revert "feat: build alias for snapshots"
This reverts commit 707e0d7.
* chore: do not push aliases for PRs
Co-authored-by: Jaime Soriano Pastor <jaime.soriano@elastic.co>
* chore: Use third number as x
Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
Co-authored-by: Jaime Soriano Pastor <jaime.soriano@elastic.co>
(cherry picked from commit 624c459)