Skip to content

Instantly share code, notes, and snippets.

@kilonzi
Last active May 20, 2024 19:19
Show Gist options
  • Save kilonzi/311448cf7f0372420dbab862f66dc259 to your computer and use it in GitHub Desktop.
Save kilonzi/311448cf7f0372420dbab862f66dc259 to your computer and use it in GitHub Desktop.
A complete workflow definition
apiVersion: sanda.broad.io/v1
workflow:
name: updated_example_workflow
description: This is an example workflow
version: 0.1.1
environment:
- DATABASE_URL
- SECRET_KEY
- BASE_URL
jobs:
- id: create_workspace
name: create_workspace
uses: docker.io/spitfire:latest
entrypoint: create-workspace
timeout: 10
resources:
cpu: 1
memory: 1Gi
needs: [ ]
environment:
- DATABASE_URL
- SECRET_KEY
- FIRECLOUD_URL
inputs:
- name: workspace_name
type: str
default: "workspace-1"
outputs:
- name: workspace_name
type: str
- name: extract_data_from_single_cell_portal
image: ubuntu:latest
entrypoint: extract_data
needs: [ create_workspace ]
inputs:
- name: workspace_name
type: str
value: create_workspace.workspace_name
retries: 3,
outputs:
- name: files
type: list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment