[9.5] (backport #15422) Add stack provisioning to mage integration:local#15449
[9.5] (backport #15422) Add stack provisioning to mage integration:local#15449mergify[bot] wants to merge 1 commit into
Conversation
(cherry picked from commit e639159)
|
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
💔 Build Failed
Failed CI StepsHistorycc @samuelvl |
TL;DRThe Serverless Beats Tests failure is a deterministic regression in this PR, not a transient Buildkite issue. VM provisioning now occurs before the SSH key is generated, so GCE provisioning cannot read Remediation
Investigation detailsRoot Cause
The PR’s Evidence
Verification
What is this? | From workflow: PR Buildkite Detective Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. |
What does this PR do?
The
mage integration:localtarget can now run tests that need a real Elastic Stack. It provisions or reuses it automatically, the same waymage integration:singledoes but runs the test directly on your machine instead of provisioning a VM.Why is it important?
Allow running integration tests on your own machine.
Checklist
I have made corresponding changes to the documentationI have made corresponding change to the default configuration filesI have added an entry in./changelog/fragmentsusing the changelog toolDisruptive User Impact
None.
How to test this PR locally
Make sure your test has
Stack: &define.Stack{}andLocal: true:Then run:
You should see it provision (or reuse) a stack and then run the test directly on your machine, with no VM created:
This is an automatic backport of pull request #15422 done by [Mergify](https://mergify.com).