Project

General

Profile

Actions

Idea #22672

open

tool to help sync a git repo containing one or more CWL workflows to Arvados

Added by Peter Amstutz 13 days ago. Updated 13 days ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
CWL
Target version:
Start date:
Due date:
Story points:
-

Description

Currently, development best practice is to keep your code (including CWL workflows) in a git repository.

When ready to run in Arvados, the workflows need to be published. This currently involves using arvados-cwl-runner --create-workflow or arvados-cwl-runner --update-workflow.

Automating publishing a new/updated workflow should be straightforward, but you want to record (at minimum) the UUID of the workflow so it can be updated.

The minimal version of this is that the user just writes a shell script line that does arvados-cwl-runner --update-workflow with the right UUID, but that gets tedious and would be very obnoxious for a git repository with a large number of tools or workflows (for example, we'd like to import bio-cwl-tools , which has hundreds).

So I think it makes sense to have a tool called something like arv-workflow-sync to help manage this. I'm envisioning that it would keep a file in the root called something like "arvados-workflows.json" which records which workflows in the git repo should be pushed to which projects/workflow uuids. Running arv-workflow-sync pushes them all.

(Another thought that I had was to query collection properties to find a workflow collection that matches the git info and figure out what to update that way.)

(side note: People could edit workflows directly in Arvados, but we really haven't built out the kind of version control capabilities to make that a comparable experience.)


Related issues 2 (2 open0 closed)

Related to Arvados - Support #22675: import bio-cwl-toolsNewActions
Related to Arvados Epics - Idea #19132: Registered workflow improvementsIn Progress09/01/202308/31/2025Actions
Actions #1

Updated by Peter Amstutz 13 days ago

  • Position changed from -944783 to -944774
Actions #2

Updated by Peter Amstutz 13 days ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz 13 days ago

Actions #4

Updated by Peter Amstutz 13 days ago

  • Related to Idea #19132: Registered workflow improvements added
Actions

Also available in: Atom PDF