Skip to content

Make kubescape-cli-e2e-tests.yaml workflows more generic #35

@alegrey91

Description

@alegrey91

Can we make the reusable workflow more "generic"? For now, it requires some parameters that are close to regolibrary (eg. DOWNLOAD_ARTIFACT_PATH).
If I want to use this workflow to test host-scanner, I should provide the DOWNLOAD_ARTIFACT_PATH as well, even if it is not in the scope of the test.
So, if it's possible, we should make this input optional and modify the systest-cli.py command at the end of the pipeline to make it more "flexible" in order to provide additional kwargs, depending on the component that we are testing.
For example, we could use an input called ADDITIONAL_KWARGS that we are going to append at the end of the command, so we can test each component (host-scanner, regolibrary, etc.) specifying the needed kwargs.
This is not something of high priority, but we can see it as an improvement to make the reusable workflow more reusable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Feature

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions