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

Refactor serverless workflow #2894

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open

Conversation

gurevichdmitry
Copy link
Collaborator

@gurevichdmitry gurevichdmitry commented Jan 7, 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

Copy link

mergify bot commented Jan 7, 2025

This pull request does not have a backport label. Could you fix it @gurevichdmitry? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v./d./d./d is the label to automatically backport to the 8./d branch. /d is the digit
    NOTE: backport-v8.x has been added to help with the transition to the new branch 8.x.

@gurevichdmitry gurevichdmitry marked this pull request as ready for review January 9, 2025 08:34
@gurevichdmitry gurevichdmitry requested a review from a team as a code owner January 9, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Serverless Agentless] Refactor serverless workflow for daily execution and resource optimization
1 participant