Skip to content

prerequisite dependencies with version constraints #60

@jaypipes

Description

@jaypipes

gdt test scenarios should have the ability to specify binary/application dependencies that are prerequisites for the test scenario to be executed. These prerequisites should be checked at runtime and return a runtime error if not present. An optional version constraint can be specified that, when present, can be used to determine if an installed version of the dependency complies with the constraint.

name: example-scenario-with-dependencies

depends:
 - kubectl
 - cmctl >= 1.2.3

tests:
 - name: cmctl-check-api
   exec: cmctl check api
 - name: random-kubectl
   exec: kubectl logs -A 

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions