openSUSE-release-tools/gocd/staging-bot-reminder.gocd.yaml
Stephan Kulow d30a1c43e1 Kill review bots if they didn't output anything for 30 minutes
We start most jobs with --debug to generate output, but we had the
case that OBS network caused the connection to just get stuck and
then it 'paused' for 18 hours
2019-09-26 16:33:11 +02:00

23 lines
605 B
YAML

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: 30
resources:
- staging-bot
tasks:
- script: ./devel-project.py reviews --min-age 3 --remind
- script: ./devel-project.py requests --min-age 3 --remind