Ticket #1435 (new)

Opened 2 years ago

Last modified 2 years ago

Populate builders automatically from Docker Hub

Reported by: mitar Owned by: kostko
Priority: normal Milestone: Next milestone
Component: nodewatcher/modules Version:
Keywords: projectideas,gsoc Cc:
Related nodes: Realization state:
Blocking: Effort: normal
Blocked by: Security sensitive: no


Currently, when installing new nodewatcher, one has to manually add builders. Also, when new builders are made, one has to copy information over to have them.

We could make a simple admin button in the admin dashboard to fetch that information automatically and populate all builders. Make in inactive state. And then admin just have to enable those they like.

See builders here: https://hub.docker.com/r/wlanslovenija/openwrt-builder/tags/

There is probably an API to fetch this information.

Change History

comment:1 Changed 2 years ago by mitar

Hm, not sure how to automatically populate keys though. Maybe we should create some protocol for this. That if a builder is not yet configured, it contacts nodewatcher given in environment variable and establishes a pair.

comment:2 Changed 2 years ago by mitar

So maybe this is a change to builders logic to "register" themselves with nodewatcher instance automatically, when their container is ran for the first time.

Note: See TracTickets for help on using tickets.