Add multiple run providers #4

Open
opened 2024-01-12 21:15:20 +01:00 by morten-olsen · 0 comments
morten-olsen commented 2024-01-12 21:15:20 +01:00 (Migrated from github.com)

It should be possible to specify multiple providers in the server configuration, and assign workloads to those providers.

Initially two workload types will be supported, worker and docker and will be default available under those names

providers: {
  colima: {
    type: 'docker',
    socket: "/var/colima.sock",
  },
};

Which would allow the workload command to be run as mini-loader loads push --provider colima my-script.js

Or updated using the upcoming configuration command mini-loader loads config my-load --set-provider colima

It should be possible to specify multiple providers in the server configuration, and assign workloads to those providers. Initially two workload types will be supported, `worker` and `docker` and will be default available under those names ``` providers: { colima: { type: 'docker', socket: "/var/colima.sock", }, }; ``` Which would allow the workload command to be run as `mini-loader loads push --provider colima my-script.js` Or updated using the upcoming configuration command `mini-loader loads config my-load --set-provider colima`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
experiments/mini-loader#4
No description provided.