Commit 94f365ea authored by Jose Castro Leon's avatar Jose Castro Leon

Expiration postpone fallback to today when not specified

parent 5a4c3b8e
Pipeline #1642346 passed with stages
in 5 minutes and 37 seconds
......@@ -515,7 +515,7 @@ workflows:
type: direct
description: This workflow checks all the projects with expirations to postpone expirations during some periods like holidays.
input:
- date
- date: null
- days: 30
- region: "cern"
tasks:
......@@ -539,7 +539,7 @@ workflows:
input:
project: <% $.project %>
region: <% $.region %>
date: <% $.date %>
date: <% coalesce($.date, now().replace(hour => 0, minute => 0, second => 0, microsecond => 0)) %>
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