Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Support dockerized gadgets in blueprint manager #24

Open
drewstone opened this issue Oct 2, 2024 · 2 comments
Open

[TASK] Support dockerized gadgets in blueprint manager #24

drewstone opened this issue Oct 2, 2024 · 2 comments
Assignees
Labels
feature ➕ Tasks that are functional additions or enhancements

Comments

@drewstone
Copy link
Contributor

drewstone commented Oct 2, 2024

Overview

We want the ability to have a template that any developer can use to deploy dockerized gadget. This can take 2 shapes:

  1. The gadget functionality is inside a docker image.
  2. The blueprint manager deploys a dockerized gadget.
  3. Add a new target for Docker.

Unresolved questions

Resolved

How do you define your environment?

How do we want blueprint developers to define the environment they run in?

The blueprint template provides us with a Dockerfile, will we:

  • be pulling and building it ourselves?
  • pulling from a registry?

If the latter, where will the developer specify the information? (registry, image name, etc)?

We support defining this in blueprint.json, but currently do nothing with it: https://github.com/tangle-network/gadget/blob/9ea1aa039fac85573997fc975e155a60205939c5/macros/blueprint-proc-macro-core/src/lib.rs#L459-L466

Depends on tangle-network/blueprint-template#10

@Serial-ATA
Copy link
Contributor

Serial-ATA commented Oct 2, 2024

@drewstone I'm not sure what this means, can you expand on it?

Description was updated

@drewstone drewstone changed the title [TASK] Docker image executing blueprint template [TASK] Docker image executing blueprint template and support Oct 3, 2024
@Serial-ATA Serial-ATA changed the title [TASK] Docker image executing blueprint template and support [TASK] Support dockerized gadgets in blueprint manager Oct 3, 2024
@drewstone
Copy link
Contributor Author

Create the CLI task, but initially sounds like adding the right config to the Cargo.toml as part of the blueprint template.

@Serial-ATA Serial-ATA added the feature ➕ Tasks that are functional additions or enhancements label Nov 22, 2024
@Serial-ATA Serial-ATA transferred this issue from tangle-network/gadget Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ➕ Tasks that are functional additions or enhancements
Projects
Status: Planning 🗺️
Development

No branches or pull requests

3 participants