Skip to content
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

[8.x](backport #2894) Refactor serverless workflow #2918

Merged
merged 2 commits into from
Jan 19, 2025

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jan 13, 2025

Summary of your changes

This PR modifies the serverless workflow scheduler to run daily instead of weekly and introduces logic to execute only agentless integrations within the serverless workflow.

The following changes have been made:

  • Divided the CIS integration action into two separate actions — one for agentless integrations and one for agent-based integrations.
  • Added flags to the main test-environment workflow, enabling more precise installation based on the integration type (agentless or agent-based).
  • Created a new test marker specifically for agentless tests.
  • Implemented a waiting mechanism to ensure proper serverless project initialization before proceeding with subsequent steps.
  • Added logic to destroy the environment if all preceding jobs execute successfully.

Screenshot/Data

Successful Run


This is an automatic backport of pull request #2894 done by [Mergify](https://mergify.com).

* update scheduler

* refactor agentless integration install

* update tests infra

* update export plugin requirement

* add project init wait

* update script

* update script

* update script call

* update script

* update tests marker

* update wf

* remove message

* update tests marker

* add destroy job and fix linter

* update workflow

* update tf format

* update serverless wf

* update cis-agent-based action

* update config env var

(cherry picked from commit 2b7683d)
@mergify mergify bot requested a review from a team as a code owner January 13, 2025 14:50
@mergify mergify bot added the backport label Jan 13, 2025
Copy link
Member

@kubasobon kubasobon left a comment

Choose a reason for hiding this comment

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

Should we backport to 8.x @gurevichdmitry?

@gurevichdmitry
Copy link
Collaborator

Should we backport to 8.x @gurevichdmitry?

Yes, we should backport this change.

@gurevichdmitry gurevichdmitry merged commit ac9994b into 8.x Jan 19, 2025
9 checks passed
@gurevichdmitry gurevichdmitry deleted the mergify/bp/8.x/pr-2894 branch January 19, 2025 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants