Skip to content

Refactor integration tests to use lightkube rather than kubectl commands #233

@NohaIhab

Description

@NohaIhab

Context

In the integration tests of argo-controller, we are directly using kubectl commands and using ops_test.run to run them. This can be improved by using lightkube APIs rather.

What needs to get done

Rewrite the following functions in integration tests to use lightkube instead of kubectl commands:

  • create_artifact_bucket
  • submit_workflow_using_artifact
  • submit_workflow_using_artifact

Definition of Done

kubectl CLI commands are no longer being used in the integration tests of argo-controller

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions