This repository was archived by the owner on Sep 17, 2024. It is now read-only.
chore: add resiliency when provisioning the stack#1990
Merged
mdelapenya merged 1 commit intoelastic:mainfrom Jan 11, 2022
Merged
chore: add resiliency when provisioning the stack#1990mdelapenya merged 1 commit intoelastic:mainfrom
mdelapenya merged 1 commit intoelastic:mainfrom
Conversation
v1v
approved these changes
Jan 11, 2022
Contributor
❕ Build Aborted
Expand to view the summary
Build stats
Test stats 🧪
Test errors
Expand to view the tests failures
|
Contributor
Author
|
/test |
Contributor
Author
|
The 5 failing errors, not related to this PR; are reported in here #1992 |
mergify bot
pushed a commit
that referenced
this pull request
Jan 11, 2022
(cherry picked from commit 54e882b)
mergify bot
pushed a commit
that referenced
this pull request
Jan 11, 2022
(cherry picked from commit 54e882b)
mdelapenya
added a commit
that referenced
this pull request
Jan 12, 2022
mdelapenya
added a commit
that referenced
this pull request
Jan 12, 2022
mdelapenya
added a commit
to mdelapenya/e2e-testing
that referenced
this pull request
Jan 19, 2022
…stic#1993) (cherry picked from commit 54e882b) Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
mdelapenya
added a commit
that referenced
this pull request
Jan 19, 2022
* chore: add resiliency when provisioning the stack (#1990) (#1993) (cherry picked from commit 54e882b) Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com> * SLES15 enablement (#2007) * SLES15 enablement * fix: set ansible_user depending on OS * fix: proper vars path * fix: rename SLES distribution file * fix: read distribution vars dynamically with include_vars * fix: keep original behaviour for installing the stack on Debian * fix: set vars correctly * chore: debug ansible user * Update .ci/.e2e-tests.yaml Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com> * Update .ci/ansible/vars/SLES.yml Co-authored-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * Update .ci/ansible/playbook.yml Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com> * Fix package install for distro, update include_vars for all tasks Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * fix path to vars Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * try with ansible_playbook_vars_root Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * try var_files Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * typo Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * use full path and fix quoting Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * use include_vars Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * make include_vars first in task list for each block Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * dont include_vars on localhost execution Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * remove conflicting statements Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * have e2e-tests.yaml drive the login information Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * fix update cache on debian based systems Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * fix permission on output directory Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * fix group ownership in create test script Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * better os detection in ansible Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * fix chown in jenkinsfile Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com> Co-authored-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Julien Lind <julien.lind@elastic.co> Co-authored-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
mdelapenya
added a commit
to mdelapenya/e2e-testing
that referenced
this pull request
Jan 26, 2022
* main: (45 commits) feat: add CentOS 8 support (elastic#2034) fix: set default region for AWS cli (elastic#2053) chore: use Ansible's built-in replace instead of sed (elastic#2048) chore: split stack configuration and start into two tasks (elastic#2044) feat: enable SSH access to users for debugging cloud instances (elastic#2001) fix: use the right branch for 7.17 backports (elastic#2025) SLES15 enablement (elastic#2007) chore: bump stale agent for main (elastic#2014) Update `fetchBeatsBinary` to be reused in elastic-agent-poc (elastic#1984) chore: add resiliency when provisioning the stack (elastic#1990) chore: bump elastic-package to v0.32.1 (elastic#1959) feat: export Fetch&Download methods in the /pkg directory (elastic#1943) bump stack version 8.1.0-dbc834fd (elastic#1948) bump stack version 8.1.0-76902d39 (elastic#1946) chore: retire 7.15 adding 7.17 (elastic#1938) ci: use withAPMEnv (elastic#1917) Update main branch (elastic#1928) bump stack version 8.1.0-befff95a (elastic#1929) chore: properly evaluate how tests are skipped on CI when checking modified files (elastic#1924) bump stack version 8.1.0-60bffc32 (elastic#1921) ...
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 a retry-wih-sleep when executing the installation of the Ansible roles to provision the stack (docker, kubectl...)
Why is it important?
We have seen certain instability accessing the network recently, and we hope to mitigate those issues with the retry strategy.
Checklist
make unit-test), and they are passing locallymake noticein the proper directory)Author's Checklist