Skip to content

refactor(recipe): move embedded data to recipes/ at repo root#114

Merged
mchmarny merged 16 commits into
mainfrom
recipe-root
Feb 13, 2026
Merged

refactor(recipe): move embedded data to recipes/ at repo root#114
mchmarny merged 16 commits into
mainfrom
recipe-root

Conversation

@lockwobr

Copy link
Copy Markdown
Contributor

Summary

  • Add recipes/ with data.go (go:embed), overlays/, components/, registry.yaml
  • Point pkg/recipe at recipes.GetEmbeddedFS() with empty prefix
  • Update provider path handling for empty prefix; fix recipe-overlays and tools/describe paths
  • Exclude recipes/components/*/manifests/ from yamllint (Helm templates)

Motivation / Context

To make it easier for people to find the recipes and contribute, moved them to the root of the project. To make work in embed, need to make a package out of it and update the recipe package to use this new package.

Fixes:
Related:

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)
  • Build/CI/tooling

Component(s) Affected

  • CLI (cmd/eidos, pkg/cli)
  • API server (cmd/eidosd, pkg/api, pkg/server)
  • Recipe engine / data (pkg/recipe)
  • Bundlers (pkg/bundler, pkg/component/*)
  • Collectors / snapshotter (pkg/collector, pkg/snapshotter)
  • Validator (pkg/validator)
  • Core libraries (pkg/errors, pkg/k8s)
  • Docs/examples (docs/, examples/)
  • Other: ____________

Implementation Notes

Testing

# Commands run (prefer `make qualify` for non-trivial changes)
make qualify

Risk Assessment

  • Low — Isolated change, well-tested, easy to revert
  • Medium — Touches multiple components or has broader impact
  • High — Breaking change, affects critical paths, or complex rollout

Rollout notes:

Checklist

  • Tests pass locally (make test with -race)
  • Linter passes (make lint)
  • I did not skip/disable tests to make CI green
  • I added/updated tests for new functionality
  • I updated docs if user-facing behavior changed
  • Changes follow existing patterns in the codebase
  • Commits are signed off (git commit -s) — DCO info

- Add recipes/ with data.go (go:embed), overlays/, components/, registry.yaml
- Point pkg/recipe at recipes.GetEmbeddedFS() with empty prefix
- Update provider path handling for empty prefix; fix recipe-overlays and tools/describe paths
- Exclude recipes/components/*/manifests/ from yamllint (Helm templates)
@lockwobr lockwobr self-assigned this Feb 12, 2026
@lockwobr lockwobr requested review from a team as code owners February 12, 2026 23:32
@mchmarny mchmarny enabled auto-merge (squash) February 13, 2026 00:24

@mchmarny mchmarny 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

@mchmarny mchmarny merged commit a5b8571 into main Feb 13, 2026
7 of 9 checks passed
@mchmarny mchmarny deleted the recipe-root branch February 13, 2026 00:25
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically locked since it has been closed for 90 days with no further activity. Please open a new pull request for related changes.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants