This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
chore: bring back stand-alone agent #2879
Merged
mdelapenya
merged 15 commits into
elastic:main
from
mdelapenya:functional-opts-for-deployment
Aug 1, 2022
Merged
chore: bring back stand-alone agent #2879
mdelapenya
merged 15 commits into
elastic:main
from
mdelapenya:functional-opts-for-deployment
Aug 1, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Now it uninstalls the agent and tries to enroll it with the already revoked token
💔 Tests Failed
Expand to view the summary
Build stats
Test stats 🧪
Test errors
Expand to view the tests failures
|
cachedout
approved these changes
Jul 31, 2022
Mmm the Ansible role to install Docker does not install Docker Compose on ARM. Will take a look, as it's an external dependency |
We do not add the role to the stack machine, as it's always created on Debian 10 AMD
pazone
reviewed
Aug 1, 2022
* main: fix: poll for api key verification using backoff retry (elastic#2882) backport: Add 8.4 branch (elastic#2857)
Originally detected on geerlingguy.docker_arm
mergify bot
pushed a commit
that referenced
this pull request
Aug 1, 2022
* chore: apply functional opts to agent deployment * chore: rename deployment method * chore: simplify stand-alone deployment removing flavour It's not used * fix: revoke token scenario was outdated Now it uninstalls the agent and tries to enroll it with the already revoked token * chore: simplify deploy stand-alone agent method * chore: skip scenario for bootstrap fleet server agent in stand-alone * chore: include stand-alone agent in CI * chore: install docker in the ARM instances We do not add the role to the stack machine, as it's always created on Debian 10 AMD * fix: install pip on Linux using Ansible role * fix: install pip in the stack too * fix: install deps as soon as possible * Revert "fix: install pip on Linux using Ansible role" This reverts commit 3d06ce6. * fix: add python libs for docker on ARM * fix: add missing library for installing Docker on ARM Originally detected on geerlingguy.docker_arm (cherry picked from commit 3f728b7)
mergify bot
pushed a commit
that referenced
this pull request
Aug 1, 2022
* chore: apply functional opts to agent deployment * chore: rename deployment method * chore: simplify stand-alone deployment removing flavour It's not used * fix: revoke token scenario was outdated Now it uninstalls the agent and tries to enroll it with the already revoked token * chore: simplify deploy stand-alone agent method * chore: skip scenario for bootstrap fleet server agent in stand-alone * chore: include stand-alone agent in CI * chore: install docker in the ARM instances We do not add the role to the stack machine, as it's always created on Debian 10 AMD * fix: install pip on Linux using Ansible role * fix: install pip in the stack too * fix: install deps as soon as possible * Revert "fix: install pip on Linux using Ansible role" This reverts commit 3d06ce6. * fix: add python libs for docker on ARM * fix: add missing library for installing Docker on ARM Originally detected on geerlingguy.docker_arm (cherry picked from commit 3f728b7) # Conflicts: # .ci/.e2e-tests-daily.yaml # .ci/.e2e-tests-for-elastic-agent.yaml # .ci/.e2e-tests.yaml
mergify bot
pushed a commit
that referenced
this pull request
Aug 1, 2022
* chore: apply functional opts to agent deployment * chore: rename deployment method * chore: simplify stand-alone deployment removing flavour It's not used * fix: revoke token scenario was outdated Now it uninstalls the agent and tries to enroll it with the already revoked token * chore: simplify deploy stand-alone agent method * chore: skip scenario for bootstrap fleet server agent in stand-alone * chore: include stand-alone agent in CI * chore: install docker in the ARM instances We do not add the role to the stack machine, as it's always created on Debian 10 AMD * fix: install pip on Linux using Ansible role * fix: install pip in the stack too * fix: install deps as soon as possible * Revert "fix: install pip on Linux using Ansible role" This reverts commit 3d06ce6. * fix: add python libs for docker on ARM * fix: add missing library for installing Docker on ARM Originally detected on geerlingguy.docker_arm (cherry picked from commit 3f728b7) # Conflicts: # .ci/.e2e-tests-daily.yaml # .ci/.e2e-tests-for-elastic-agent.yaml # .ci/.e2e-tests.yaml # .ci/ansible/tasks/install_deps.yml # e2e/_suites/fleet/elastic_agent_deploy.go # e2e/_suites/fleet/elastic_agent_enroll.go
mdelapenya
added a commit
that referenced
this pull request
Aug 2, 2022
* chore: bring back stand-alone agent (#2879) * chore: apply functional opts to agent deployment * chore: rename deployment method * chore: simplify stand-alone deployment removing flavour It's not used * fix: revoke token scenario was outdated Now it uninstalls the agent and tries to enroll it with the already revoked token * chore: simplify deploy stand-alone agent method * chore: skip scenario for bootstrap fleet server agent in stand-alone * chore: include stand-alone agent in CI * chore: install docker in the ARM instances We do not add the role to the stack machine, as it's always created on Debian 10 AMD * fix: install pip on Linux using Ansible role * fix: install pip in the stack too * fix: install deps as soon as possible * Revert "fix: install pip on Linux using Ansible role" This reverts commit 3d06ce6. * fix: add python libs for docker on ARM * fix: add missing library for installing Docker on ARM Originally detected on geerlingguy.docker_arm (cherry picked from commit 3f728b7) # Conflicts: # .ci/.e2e-tests-daily.yaml # .ci/.e2e-tests-for-elastic-agent.yaml # .ci/.e2e-tests.yaml * fix: resolve conflicts Co-authored-by: Manuel de la Peña <[email protected]>
mdelapenya
added a commit
that referenced
this pull request
Aug 2, 2022
* chore: apply functional opts to agent deployment * chore: rename deployment method * chore: simplify stand-alone deployment removing flavour It's not used * fix: revoke token scenario was outdated Now it uninstalls the agent and tries to enroll it with the already revoked token * chore: simplify deploy stand-alone agent method * chore: skip scenario for bootstrap fleet server agent in stand-alone * chore: include stand-alone agent in CI * chore: install docker in the ARM instances We do not add the role to the stack machine, as it's always created on Debian 10 AMD * fix: install pip on Linux using Ansible role * fix: install pip in the stack too * fix: install deps as soon as possible * Revert "fix: install pip on Linux using Ansible role" This reverts commit 3d06ce6. * fix: add python libs for docker on ARM * fix: add missing library for installing Docker on ARM Originally detected on geerlingguy.docker_arm (cherry picked from commit 3f728b7) Co-authored-by: Manuel de la Peña <[email protected]>
mdelapenya
added a commit
that referenced
this pull request
Aug 2, 2022
* chore: bring back stand-alone agent (#2879) * chore: apply functional opts to agent deployment * chore: rename deployment method * chore: simplify stand-alone deployment removing flavour It's not used * fix: revoke token scenario was outdated Now it uninstalls the agent and tries to enroll it with the already revoked token * chore: simplify deploy stand-alone agent method * chore: skip scenario for bootstrap fleet server agent in stand-alone * chore: include stand-alone agent in CI * chore: install docker in the ARM instances We do not add the role to the stack machine, as it's always created on Debian 10 AMD * fix: install pip on Linux using Ansible role * fix: install pip in the stack too * fix: install deps as soon as possible * Revert "fix: install pip on Linux using Ansible role" This reverts commit 3d06ce6. * fix: add python libs for docker on ARM * fix: add missing library for installing Docker on ARM Originally detected on geerlingguy.docker_arm (cherry picked from commit 3f728b7) # Conflicts: # .ci/.e2e-tests-daily.yaml # .ci/.e2e-tests-for-elastic-agent.yaml # .ci/.e2e-tests.yaml # .ci/ansible/tasks/install_deps.yml # e2e/_suites/fleet/elastic_agent_deploy.go # e2e/_suites/fleet/elastic_agent_enroll.go * fix: resolve conflicts * fix: resolve conflicts * fix: resolve conflicts Co-authored-by: Manuel de la Peña <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
backport-v7.17.0
Automated backport with mergify
backport-v8.3.0
Automated backport with mergify
backport-v8.4.0
Automated backport with mergify
Team:Automation
Label for the Observability productivity team
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
It adds the stand-alone agent scenarios to the CI including a few changes:
Why is it important?
Add scenarios that were already working in the past, also improving the readability of the deploment of the agent code
Checklist
make unit-test
), and they are passing locallymake notice
in the proper directory)Related issues