chore: add Makefile with gaze and peribolos targets - #101
Merged
marcusburghardt merged 3 commits intoMay 13, 2026
Merged
Conversation
Add Makefile inspired by complyctl with testing, code quality, and CRAP load monitoring targets. Includes ensure-gaze, crapload, crapload-baseline, and crapload-check for local development and CI consistency. Assisted-by: OpenCode (claude-opus-4-6) Signed-off-by: Marcus Burghardt <maburgha@redhat.com>
Add ensure-peribolos, peribolos-dryrun, and peribolos-apply targets for local testing against the live org. Uses a token file at ~/.config/peribolos/token (defaulting to gh auth token output). Assisted-by: OpenCode (claude-opus-4-6) Signed-off-by: Marcus Burghardt <maburgha@redhat.com>
Generated via make crapload-baseline. Empty scores since this repository has no Go application functions (only config tests). Required by the CRAP Load Analysis CI check. Assisted-by: OpenCode (claude-opus-4-6) Signed-off-by: Marcus Burghardt <maburgha@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a Makefile to centralize development commands, inspired by the complyctl Makefile.
make crapload,make crapload-baseline,make crapload-checkfor local CRAP score analysis and regression checking. Includes null-safe jq filters for repos with no Go application functions.make peribolos-dryrunandmake peribolos-applyto test peribolos config against the live org without needing CI. Builds peribolos from source on first use.make crapload-baseline. Empty scores since this repo has only config tests. Required by the CRAP Load Analysis CI check which currently fails on PRs.make test-unit,make lint,make vendor,make sanity,make help.Related Issues
.gaze/baseline.json)Review Hints
peribolos-dryruntarget expects a token at~/.config/peribolos/token. It prints setup instructions if the file is missing.peribolos-applytarget includes a 3-second delay with abort warning before making changes.