Skip to content

How to run builder playground with custom recepies? #309

@dvush

Description

@dvush

I would like to be able to add more things to the playground without adding it to the builder playground repo.

For example, add databases, custom closed-source services built from private repos, etc.

Builder playground gives a nice API to connect things with each other so when docker compose is run everything is already set up.

Currently, I am thinking of this approach:

  • user creates a golang project that depends on the builder-playground
  • user adds implementation of their custom services to the project
  • user creates a recipe made from services defined both in builder-playground and their repo
  • this recipe is then injected into the standard implementation of the builder-playground CLI
  • when project is built it will output builder-playground binary with all the tools that are available upstream plus this new recipe

Here is an example implementation that works as explained here #308

I want to hear opinions on this approach.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions