agola-io / agola

Agola: CI/CD Redefined
https://agola.io
Apache License 2.0
1.52k stars 117 forks source link

Run: restart run (or tasks) recalculating variable data #45

Open sgotti opened 5 years ago

sgotti commented 5 years ago

Add the ability to restart a run or some of its tasks updating the task variable data. This could be useful if some variables have changed (like auths) so we want to update them and then restart the failed tasks.

Run restart logic is done inside the runservice and the runservice is made to don't know anything of the upper layers (webhook, git, configstore data) and for this reason it receives the tasks envs and docker auths already populated by the upper layer (currently the gateway).

So we should:

huapox commented 4 years ago

ref in forum: https://talk.agola.io/t/secrets-not-freshed-then-restart-runs/75