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

feat: support installing the agent with TAR installer and the install subcommand #378

Merged
merged 43 commits into from
Oct 21, 2020
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
9d5c040
first version of feature file
EricDavisX Sep 24, 2020
54d8832
fix: typos
mdelapenya Oct 5, 2020
dca3adc
fix: proper BDD sequencing
mdelapenya Oct 5, 2020
2bcb84d
chore: remove non-gherkin line
mdelapenya Oct 5, 2020
8aef6d6
chore: refine gherkin tags
mdelapenya Oct 5, 2020
373cd0b
chore: reuse existing step for uninstalling/restarting the agent
mdelapenya Oct 5, 2020
ec571ab
chore: export kibana base URL from client
mdelapenya Oct 5, 2020
c5a6084
feat: add support for centos/debian with TAR.GZ installer
mdelapenya Oct 6, 2020
2cd7708
chore: rename variable
mdelapenya Oct 6, 2020
335e366
feat: support for a TAR installer
mdelapenya Oct 6, 2020
3f6deea
feat: create a local cache for downloaded binaries
mdelapenya Oct 6, 2020
9c49d7c
fixup. new tar installer
mdelapenya Oct 16, 2020
beed3b6
feat: support mulltiple installer types at feature level
mdelapenya Oct 16, 2020
047a170
chore: create token before running the agent
mdelapenya Oct 16, 2020
d8ac985
chore: move enroll method to the installer
mdelapenya Oct 16, 2020
92e751a
chore: move installFn to preInstalllFn
mdelapenya Oct 16, 2020
46697e4
chore: proper life cycle for install and enroll
mdelapenya Oct 16, 2020
244b08d
chore: add missing examples in feature file
mdelapenya Oct 16, 2020
c8ceab2
chore: enroll ooutside of the install life cycle
mdelapenya Oct 16, 2020
2770c59
chore: use existing step
mdelapenya Oct 20, 2020
31536ad
chore: match existing scenario for installing an agent
mdelapenya Oct 20, 2020
9297068
chore: move to fleet feature file as an example
mdelapenya Oct 20, 2020
9fc751f
chore: move stop scenario to fleet feature file as an example
mdelapenya Oct 20, 2020
0a9bcb0
chore: move restart scenario as a Fleet example
mdelapenya Oct 20, 2020
62f0bbb
chore: move unenroll scenario as a Fleet example
mdelapenya Oct 20, 2020
0ee3527
chore: move reenroll scenario as Fleet example
mdelapenya Oct 20, 2020
2d8dfcd
fix: use proper log path for TAR installer
mdelapenya Oct 20, 2020
ce47ad9
fix: create the tokens in the Default policy
mdelapenya Oct 20, 2020
2b41b13
fix: remove the proper service name
mdelapenya Oct 20, 2020
ba9b905
chore: use tar installer in endpoint feature
mdelapenya Oct 20, 2020
74ad2ba
fix: update Elastic Endpoint integration title
mdelapenya Oct 21, 2020
3031d0e
feat: implement the step for the empty working dir folder
mdelapenya Oct 21, 2020
cda63b2
fix: proper container name
mdelapenya Oct 21, 2020
a2014eb
chore: capture specific error for installing agent with revoked token
mdelapenya Oct 21, 2020
825fe8f
chore: use tar installer for fleet
mdelapenya Oct 21, 2020
8781522
chore: join process steps
mdelapenya Oct 21, 2020
7179054
chore: support for restarting the agent
mdelapenya Oct 21, 2020
b9c65a3
chore: move subcommand scenarios to fleet ones
mdelapenya Oct 21, 2020
8208b56
chore: simplify getting aggent hash and logs
mdelapenya Oct 21, 2020
017e4d0
fix: agents are offline after uninstall
mdelapenya Oct 21, 2020
399cb7c
fix: update desired status too
mdelapenya Oct 21, 2020
45c7b1d
fix: include inactive status in check
mdelapenya Oct 21, 2020
3562b42
chore: increase timeout for agent status checks
mdelapenya Oct 21, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/_suites/fleet/features/fleet_mode_agent.feature
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Scenario Outline: Un-installing the installed <os> agent
And the "filebeat" process is in the "stopped" state on the host
And the "metricbeat" process is in the "stopped" state on the host
And the file system Agent folder is empty
And the agent is listed in Fleet as "inactive"
And the agent is listed in Fleet as "offline"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It takes +2 minutes in reaching the offline status. Is that correct?

Examples:
| os | installer |
| centos | tar |
Expand Down