Skip to content

chore: add Makefile with gaze and peribolos targets - #101

Merged
marcusburghardt merged 3 commits into
complytime:mainfrom
marcusburghardt:chore/makefile-and-gaze-baseline
May 13, 2026
Merged

chore: add Makefile with gaze and peribolos targets#101
marcusburghardt merged 3 commits into
complytime:mainfrom
marcusburghardt:chore/makefile-and-gaze-baseline

Conversation

@marcusburghardt

Copy link
Copy Markdown
Member

Summary

Add a Makefile to centralize development commands, inspired by the complyctl Makefile.

  • Gaze CRAP monitoring: make crapload, make crapload-baseline, make crapload-check for local CRAP score analysis and regression checking. Includes null-safe jq filters for repos with no Go application functions.
  • Peribolos local testing: make peribolos-dryrun and make peribolos-apply to test peribolos config against the live org without needing CI. Builds peribolos from source on first use.
  • Initial gaze baseline: Generated via 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.
  • Standard targets: make test-unit, make lint, make vendor, make sanity, make help.

Related Issues

Review Hints

  • Three commits, best reviewed in sequence: (1) core Makefile with gaze targets, (2) peribolos local testing targets, (3) generated baseline file.
  • The peribolos-dryrun target expects a token at ~/.config/peribolos/token. It prints setup instructions if the file is missing.
  • The peribolos-apply target includes a 3-second delay with abort warning before making changes.

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>

@jpower432 jpower432 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marcusburghardt
marcusburghardt merged commit a9d547c into complytime:main May 13, 2026
9 checks passed
@marcusburghardt
marcusburghardt deleted the chore/makefile-and-gaze-baseline branch May 13, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants