Commit bd0ec255 authored by Jose Castro Leon's avatar Jose Castro Leon

Add initial span delay to launch postpone

parent 94f365ea
Pipeline #1642387 passed with stages
in 7 minutes and 17 seconds
......@@ -517,6 +517,7 @@ workflows:
input:
- date: null
- days: 30
- span: 0
- region: "cern"
tasks:
retrieve_all_projects:
......@@ -539,7 +540,7 @@ workflows:
input:
project: <% $.project %>
region: <% $.region %>
date: <% coalesce($.date, now().replace(hour => 0, minute => 0, second => 0, microsecond => 0)) %>
date: <% coalesce($.date, now().replace(hour => 0, minute => 0, second => 0, microsecond => 0)) + timespan(days => $.span) %>
days: <% $.days %>
project_expiration_postpone:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment