Run devel projects reminder on gocd

This commit is contained in:
Stephan Kulow 2019-05-29 07:50:42 +02:00
parent 8363fe3875
commit 6dbc1c88f0
2 changed files with 23 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
import argparse
from datetime import datetime

View File

@ -0,0 +1,22 @@
format_version: 3
pipelines:
openSUSE.Devel.Reminder:
group: openSUSE.Checkers
lock_behavior: unlockWhenFinished
timer:
spec: 0 0 15 ? * *
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-staging-bot
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
stages:
- Run:
approval:
type: manual
timeout: 0
resources:
- staging-bot3
tasks:
- script: ./devel-project.py reviews --min-age 3 --remind
- script: ./devel-project.py requests --min-age 3 --remind