HodorNV / ALOps

ALOps
59 stars 24 forks source link

Enable/disable ForceSync for all tasks in release #502

Closed StevenHit closed 2 years ago

StevenHit commented 2 years ago

Hi, We have some big release pipelines to several test environment (see below). From time to time, we need to run these releases with the ForceSync parameter enabled. In that case, we need to go into each task in the release and enable the "ALOps App Publish" parameter. We need to disable the parameter again after the run. Which is quite a big manual task. Is there an easy way to enable/disable it for all tasks in the release pipeline? Many thanks

image

image

waldo1001 commented 2 years ago

Sorry - that's a DevOps limitation if this UI-designer.

The only way around that I see is to foresee multistage pipelines for this, not release pipelines. Such a pipeline is pure yaml, and there, you can use variables for any kind of parameters.. .

StevenHit commented 2 years ago

Thanks for your answer. It's not possible to make "Force Sync" a normal field in which you enter True or False (not a checkbox)? Doing so, we could enter a variable in it.

waldo1001 commented 2 years ago

That would solve one thing, and cause many possible other problems, not to mention breaking every existing pipeline.. .

StevenHit commented 2 years ago

OK, thanks. I solved it via the DevOps API.

waldo1001 commented 2 years ago

Aha, that's interesting - one that I didn't think of. Nice one! Thanks for sharing!