Skip to content

New command to publish worker using Docker image

Depends https://gitlab.com/teklia/arkindex/backend/-/issues/1531

This will be a client for CreateDockerWorkerVersion, named arkindex worker publish

CLI Parameters:

  • docker_image_tag required, as argument
  • --worker-slug required
  • --repository-url optional
    • when not set, try to find from git repo (using git remote we can find the url of the repo, translating ssh url into http, hardcoding replacement for gitlab for example)
  • --revision-hash optional
    • when not set, try to find from git repo using current revision
  • --revision-message optional
    • when not set, try to find from git repo using current revision
  • --revision-author optional
    • when not set, try to find from git repo using current revision
  • --revision-branch optional
    • when not set, try to find from git repo using current revision
  • --revision-tag optional
    • when not set, try to find from git repo using current revision
  • --configuration-path, required, must be valid JSON file
  • --gpu=disabled|supported|required, optional, default to disabled
  • --requires-model, optional, store_true, default to False