Skip to content

feat: add blueprints#422

Merged
lucabello merged 7 commits intomainfrom
feat/blueprints
Mar 2, 2026
Merged

feat: add blueprints#422
lucabello merged 7 commits intomainfrom
feat/blueprints

Conversation

@lucabello
Copy link
Copy Markdown
Contributor

Add a blueprint for rocks, in order to centralize just commands and the spread.yaml file. Borrowing the rest of the PR description from the blueprints/README.md file.

Blueprints

Blueprints are shared templates for Observability components. They provide centralized files and conventions so new repositories start with consistent tooling and configuration.

Use a blueprint by copying the files into a new repository, then keep centralized files in sync via just refresh.

Available blueprints

  • rocks: Shared files and workflows for Observability rock repositories. See rocks/README.md.

Customization

Blueprints define a centralize set of recipes in <blueprint>.just. These recipes can be extended or overridden in the central justfile, allowing for project-specific behaviors.

To override or extend a shared recipe, define one with the same name in justfile:

# ./justfile
set allow-duplicate-recipes
set allow-duplicate-variables
import? '<blueprint>.just'
[private]
@default:
	just --list
	echo ""
	echo "For help with a specific recipe, run: just --usage <recipe>"
# Recipe from <blueprint.just> to override
update version:
    echo "New things happen here"
# Recipe from <blueprint.just> to extend
update version:
    # Manually invoke the recipe from the centralized justfile
    just --justfile <blueprint>.just update {{version}}
    # Add your custom logic
    echo "Additional things happen here"

@lucabello lucabello marked this pull request as ready for review February 27, 2026 12:13
@lucabello lucabello requested a review from a team as a code owner February 27, 2026 12:13
Copy link
Copy Markdown
Contributor

@mmkay mmkay left a comment

Choose a reason for hiding this comment

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

I like it a lot, but perhaps it's also worth getting feedback from more ppl :)

lucabello and others added 4 commits February 27, 2026 13:41
Co-authored-by: Mateusz Kulewicz <mateusz.kulewicz@canonical.com>
Signed-off-by: Luca Bello <36242061+lucabello@users.noreply.github.com>
Co-authored-by: Mateusz Kulewicz <mateusz.kulewicz@canonical.com>
Signed-off-by: Luca Bello <36242061+lucabello@users.noreply.github.com>
Co-authored-by: Mateusz Kulewicz <mateusz.kulewicz@canonical.com>
Signed-off-by: Luca Bello <36242061+lucabello@users.noreply.github.com>
Co-authored-by: Mateusz Kulewicz <mateusz.kulewicz@canonical.com>
Signed-off-by: Luca Bello <36242061+lucabello@users.noreply.github.com>
@mmkay mmkay requested a review from a team February 27, 2026 12:43
Copy link
Copy Markdown
Contributor

@sed-i sed-i left a comment

Choose a reason for hiding this comment

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

This is great!

@lucabello lucabello merged commit e25aecd into main Mar 2, 2026
1 check passed
@lucabello lucabello deleted the feat/blueprints branch March 2, 2026 09:53
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.

3 participants