Skip to content

Create a worker version without a revision

Depends backend#1626 (closed) \
Refs https://redmine.teklia.com/issues/4471

A frontend user should be able to create new worker version without specifying any git revision or git repo.

When the CreateWorkerVersion will be updated, it should only need:

  • worker ID
  • docker image reference
  • JSON config (optional)
  • gpu & model usage flags

The interface should be available from the worker versions list, when the worker has NO repository. A creation button appears on the top right side of the list.

When clicked, a modal appears, displaying a form, asking for:

  • docker image reference (required)
  • JSON config, (default to {})
  • boolean flag for model usage
  • select for gpu usage

Upon creation, the modal disappears and the list of worker versions is updated