CHIMEFRB / workflow

🌊 Working in flowstate.
0 stars 0 forks source link

[BUG] Configs Issue #66

Closed shinybrar closed 2 months ago

shinybrar commented 2 months ago

When deploying a config, e.g.

version: "2"
name: workflow-dev-pipeline

defaults:
  user: developer
  site: local

deployments:
  - name: sm
    site: local
    image: chimefrb/workflow:latest
    sleep: 1
    resources:
      cores: 1
      ram: 2G
    replicas: 1

pipeline:
  runs_on: sm
  steps:
    - name: math
      stage: 1
      matrix:
        alpha: [1, 2, 3]
        beta: [1, 2, 3]
      work:
        site: chime
        function: workflow.examples.function.math
        parameters:
          a: ${{ matrix.alpha }}
          b: ${{ matrix.beta }}

The user should be prompted with a warning in CLI informing them,