This repository was archived by the owner on Sep 17, 2024. It is now read-only.
Commit 193337a
feat: bootstrap fleet-server for the deployment of regular elastic-agents (#1078)
* chore: provide a fleet-server base image based on centos/debian with systemd
* WIP
* fix: remove duplicated fields after merge conflicts
* fix: update method call after merge conflicts
* chore: extract service name calculation to a method
* chore: extract container name calculation to a method
* chore: refactor get container name method
* chore: refactor method even more
* chore: use installer state to retrieve container name
* chore: use installer when calculating service name
* fix: adapt service names for fleet server
* chore: enrich log when creating an installer
* fix: use fleet server host when creating fleet config
* fix: use https when connecting to fleet-server
It's creating its own self-signed certs
* feat: bootstrap a fleet server before a regular agent is deployed to fleet
It will define the server host to be used when enrolling agents
* fix: use fleet policy for agents, not the server one
* fix: get different installers for fleet-server and agents
* fix: use the old step for deploying regular agents
* chore: rename variable with consistent name
* chore: rename fleet-server scenario
* fix: use proper container name for standalone mode
* chore: save two variables
* chore: rename standalone scenario for bootstrapping fleet-server
* chore: rename bootstrap methods
* chore: encapsulate bootstrap fleet-server logic
* Update fleet.go
* chore: remove Fleet Server CI parallel execution
* chore: remove feature file for fleet-server
* chore: boostrap fleet server only once
We want to have it bootstrapped for the entire test suite, not for each scenario
* fix: an agent was needed when adding integrations
Co-authored-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>1 parent 6873757 commit 193337a
14 files changed
Lines changed: 179 additions & 113 deletions
File tree
- .ci
- cli/config/compose/services
- fleet-server-centos
- fleet-server-debian
- e2e/_suites/fleet
- features
- internal
- common
- installer
- kibana
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
| 54 | + | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments