AICoE / aicoe-ci

AICoE-CI using TektonCD pipelines and triggers
13 stars 13 forks source link

conftest tekton task to validate label of application manifest file. #46

Closed harshad16 closed 3 years ago

harshad16 commented 4 years ago

Is your feature request related to a problem? Please describe. Tekton Feature to run a conftest task, so that we validate PR with it. The validation will be based on some Open Policy Agent policies. We need some policies, like https://github.com/thoth-station/thoth-application/blob/master/policy/deployment.rego

Describe the solution you'd like https://github.com/open-policy-agent/conftest/blob/master/examples/tekton/taskrun.yaml

Additional context Related-to: https://github.com/AICoE/aicoe-cd/issues/29#issuecomment-640423637

harshad16 commented 3 years ago

This action would be carried out by prow tasks instead of an aicoe-ci task.