brickflow icon indicating copy to clipboard operation
brickflow copied to clipboard

[FEATURE] Set default schedule to "paused" for any Job in Test Env

Open jcnorman48 opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe. In order to minimize cost, any deployed job that is running on a schedule should have a state set as paused in the test environment.

Cloud Information

  • [X] AWS
  • [ ] Azure
  • [ ] GCP
  • [ ] Other

Describe the solution you'd like Any deployment of a Job/pipelines in brickflow should be set as "paused" if specified to be running on a schedule when deployed to any non prod environment.

Describe alternatives you've considered

Additional context

jcnorman48 avatar Jan 02 '24 18:01 jcnorman48

We also need to probably need to hard set the schedule as None if the env is local.

asingamaneni avatar Feb 01 '24 16:02 asingamaneni

For local: we will default it to None, but will give an option to override and schedule it For dev, qa & prod: Folks should be able to decide the schedule in the workflow using ctx.env and conditional statements

asingamaneni avatar Feb 01 '24 22:02 asingamaneni

For local: we will default it to None, but will give an option to override and schedule it For dev, qa & prod: Folks should be able to decide the schedule in the workflow using ctx.env and conditional statements

for local -- instead of setting schedule to None, we should make the workflow status PAUSE.

There are time, when team wants test Quartz expressions. PAUSED is better than override flag.

pariksheet avatar Jul 02 '24 18:07 pariksheet

I agree, makes sense!

asingamaneni avatar Jul 02 '24 21:07 asingamaneni