Skip to content
GitLab
    • Why GitLab
    • Pricing
    • Contact Sales
    • Explore
  • Why GitLab
  • Pricing
  • Contact Sales
  • Explore
  • Sign in
  • Get free trial
  • Subplot
  • subplot
  • Issues
  • #20

There's no way to specify a scenario only needs to run conditionally

I wrote a subplot for my ssh client config yesterday. It works well on my work computer, but some of the scenarios require my work SSH key and don't work on my personal computer. Others do work on my personal computer. Subplot provides no way to specify that a scenario only needs to be run on my work computer.

Subplot's predecessor Yarn had an ASSUMING step: if ASSUMING failed, the whole scenario was skipped. What would be a good way to achieve the same functionality in Subplot?


Actions:

  • Implement agreed language shape into docgen (#132)
  • Thread all information through to codegen contexts
  • Implement in Bash runner
  • Implement in Python runner
  • Implement in Rust runner
Edited Dec 05, 2020 by Daniel Silverstone
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking