Skip to content

Replace the test/ansible static files by a mock data generated with the samples stack #4025

@camilamacedo86

Description

@camilamacedo86

Feature Request

Describe the problem you need a feature to resolve.

Currently, we have a dir with a lot of advanced scenarios to test ansible with the molecule. However, these files are not updated/changed based on the pr changes since they are not generated automatically and are not check in the CI.

Describe the solution you'd like.

Create a mock sample as advanced-molecule-operator such as hack/generate/samples/internal/ansible/molecule.go with the samples stack to gen it dynamically to also test the changes made in the scaffolds.

Metadata

Metadata

Labels

area/testingIssue related to testing the operator-sdk and subcomponentslanguage/ansibleIssue is related to an Ansible operator project

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions