-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgade workflow #1375
Upgade workflow #1375
Conversation
This pull request does not have a backport label. Could you fix it @gurevichdmitry? 🙏
|
📊 Allure Report - 💚 No failures were reported.
|
Upgade workflow
update reuse workflow inputs
update inputs type
update additional input types
update additional input types
add secrets reuse workflow
This pull request is now in conflicts. Could you fix it? 🙏
|
deploy/test-environments/fleet_api/src/api/package_policy_api.py
Outdated
Show resolved
Hide resolved
This pull request is now in conflicts. Could you fix it? 🙏
|
@@ -19,13 +19,16 @@ on: | |||
required: true | |||
description: "Stack version: For released/BC version use 8.x.y, for SNAPSHOT use 8.x.y-SNAPSHOT" | |||
default: "8.10.0" | |||
type: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please update the default version to 8.11?
Summary of your changes
This PR introduces an upgrade testing workflow designed to facilitate the testing of upgrades from the previously released version to the current development or build candidate (BC) version.
The workflow comprises three primary jobs:
Init: This job calculates the latest released version based on the provided user input. For example, if the user specifies version 8.11.0, the output will be 8.10.4.
Deploy: This job initiates the
create environment
workflow (reused) responsible for deploying the ELK stack version, installing KSPM, CSPM, and CNVM integrations along with agents, and conducting sanity checks on findings retrieved.Upgrade: This job manages the upgrade process with the following key steps:
Upgrades the ELK version (e.g., 8.10.4 to 8.11.0). At this point, agents are still on version 8.10.4. Sanity checks are performed to verify findings retrieval for agents with version 8.10.4.
Upgrades Kubernetes type agents (unmanaged and EKS) by overriding the image for the daemon set.
Upgrades Linux type agents CSPM AWS, CSPM GCP, and CNVM AWS by executing the Fleet upgrade API.
Performs sanity checks for all upgraded agents when their version is updated to 8.11.0.
During the implementation of the upgrade workflow, several changes were made:
upgrade-environment
workflow was added.test-environment
workflow was updated.CNVM
issue was fixed, ensuring the correct template is used when installingCNVM
on non-latest versions.The latest run can be found here.
Screenshot/Data
Related Issues
Checklist