Run abichecker on botmaster as well

This commit is contained in:
Stephan Kulow 2019-09-04 16:11:42 +02:00
parent fb0c41425f
commit fce313d504
2 changed files with 23 additions and 10 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
from optparse import OptionParser
from pprint import pformat, pprint
@ -15,20 +15,13 @@ import time
import abichecker_dbmodel as DB
import sqlalchemy.orm.exc
try:
from xml.etree import cElementTree as ET
except ImportError:
import cElementTree as ET
import osc.conf
import osc.core
from osc.util.cpio import CpioRead
try:
from urllib.error import HTTPError
except ImportError:
# python 2.x
from urllib2 import HTTPError
import rpm
from collections import namedtuple

20
gocd/abichecker.gocd.yaml Normal file
View File

@ -0,0 +1,20 @@
format_version: 3
pipelines:
SUSE.Abichecker:
group: SUSE.Checkers
lock_behavior: unlockWhenFinished
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-abichecker
materials:
script:
git: https://github.com/openSUSE/openSUSE-release-tools.git
timer:
spec: 0 */15 * ? * *
only_on_changes: false
stages:
- Run:
approval: manual
resources:
- repo-checker
tasks:
- script: ./abichecker/abichecker.py --no-review --verbose -A https://api.suse.de --web-url=http://abichecker.suse.de project SUSE:Maintenance maintenance_incident