[scaffolding-chef-infra] Intigrate cookstyle cops in to the build test.
Open
Nobody has claimed this yet.
Type: Enhancement
- Dominant language
- Shell
- Stars
- 35
- Forks
- 35
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 8
Description
There has been a lot of work done to help users transition to Chef 15. One thing that helps with this is running cookstyle against a cookbook to see if it has bad patterns that would hinder a move to Chef 15. We should integrate cookstyle into the build so that we fail a build if we hit a bad pattern.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the scaffolding-chef-infra build and test entry points and checking how cookbook validation currently runs. Integrate Cookstyle so a cookbook with a bad pattern causes the build to fail, then verify the behavior with a cookbook that violates a Cookstyle rule.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- build-system, devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100