input-output-hk / cicero

event-driven automation for Nomad
https://handbook.cicero.ci.iog.io
41 stars 11 forks source link

`job` -> `then` #3

Closed blaggacao closed 2 years ago

blaggacao commented 2 years ago

Intent based naming in the workflow spec would make for a nice reading as

when... then...

dermetfan commented 2 years ago

Like this?

steps.ping = { … }: {
  when = …;
  "then".job = …;
};

Pro:

Contra:

blaggacao commented 2 years ago

could use do instead?

:+1:

IMO, this looks nice:

steps.ping = { … }: {
  when = …;
  do = …;
};
dermetfan commented 2 years ago

This has become obsolete as future actions will use Tullia.