Thomas Haller
6c36639bbc
contrib/bkr: install firewalld package in default job template
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
423adfe7c1
contrib/bkr: better detection of DISTRO_NAME and add $RESERVESYS placeholder
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
21b8680557
contrib/bkr: fix crash in script with invalid test cases missing "script"
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
49fbca646b
contrib/bzutil: print default config file name on missing paramter
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
e49bd006d9
contrib/makerepo: parse the patch -p option from the spec file
...
This adds support for different -p options the -p1.
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
1e4c4d2f11
contrib/makerepo: detect upstream base commit for libnl-3.2.21
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
615543107a
contrib/makerepo: support initscripts repository
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
9208280370
contrib/bkr: update default job template and GIT_TARGETBRANCH detection
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
2a3a5a873d
contrib/makerepo: add network-manager-applet and NetworkManager-vpnc
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
cd9c7d268b
contrib/makerepo: cleanup detection of repository type
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
9ce0f03d99
contrib/makerepo: interpret NO_REMOTE variable to disable fetching from remote
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
6c4b266d0d
contrib/makerepo: support mipv6-daemon repository
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
9b34f04e67
contrib/makerepo: update detection of base commit for libnl3
...
libnl3 now contains the git commit id in ./configure as
LIBNL_GIT_SHA.
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
682f26fd2d
contrib/makerepo: support wireless-tools repository
2014-10-03 10:40:22 +02:00
Thomas Haller
3db87fee7c
contrib/makerepo: add base-commit for libnl3 source
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
dd498c59b7
contrib/makerepo: add --dist argument to set the distribution
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
9e224cf37d
contrib/makerepo: fix error parsing command line arguments
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
ed9b758726
contrib/makerepo: create a local mirror of the upstream repository to speedup fetching
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
7e7ed5f015
contrib/makerepo: don't write default pattern to makerepo.gitignore file
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
c329f282ed
contrib/bkr: extend default pattern for RPMs for new NM-team package
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
0f75272136
contrib/makerepo: use the patch backup extentions from specfile for gitignore
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
fa980d800b
contrib/makerepo: support branch specific makerepo.gitignore file
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
a0730d9c96
contrib/bkr: add paramter GIT_TARGETBRANCH
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
40db833a65
contrib/bkr: update git-url in job template
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
5e9f624f51
contrib/bkr: extend bkr.py script to support RPMs from brew:// and brewtask://
...
Add a new URI scheme brew:// and brewtask:// to parse RPM URLs
from http://brewweb.devel.redhat.com/
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
f5ec5a47c0
contrib/jenkins: show build options in git-notes entry
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
bd6e1006f7
contrib/bkr: extend job template, to configure journald
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
47dfad8fba
contrib/jenkins: extend build script to set NMTST_DEBUG environment variable
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
0e889246ce
contrib/bzutil: extend parsing of Related: bugs in commit message
...
Allow more ways to specify "related" bugs, that work better
inside a sentance. The following formats are now detected too:
- "related to bgo#XXXXX"
- "related to bug bgo#XXXXX"
- "related to http://..."
- "related to bug http://..."
- and possibly newline instead of a single white space
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:22 +02:00
Thomas Haller
25baa94b3b
contrib/makerepo: improve script to include last commit that modified a patch in created history
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
680c1659a5
contrib/bzutil: fix parsing Related bugs
...
If one commit message references the same bug more then once,
the "Related" flag must be preserved.
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
d18a4ec128
contrib/makerepo: fix error writing makerepo.gitignore
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
4fcc8c8d24
contrib/makerepo: now works with NetworkManager-openswan and libreswan package
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
47ee0e5b56
contrib/bkr: update job01.xml template (save /distribution/install step)
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
eadbe0af37
contrib/makerepo: encode the base commits for certain known packages
...
Makerepo tries to detect the upstream base commit, in order to base
the history on the upstream commit. Hardcode a list of known base commits
and match them depending on the content of the sources file.
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
224012a726
contrib/bkr: fix script after Nitrate XMLRPC changes
...
When searching with TestCase.filter(), the tag property is no longer
set. Before, when searching for cases with a particular tag, at least
that one tag was in case[tag]. And also, when not filtering for a tag,
case[tag] was properly filled. Now, case[tag] seems to be empty.
Add a workaround.
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
e8474bd006
contrib/bkr: print the bkr.py script arguments in the job template
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
552959fc4a
contrib/bkr: update bkr.py script and job01.xml template
...
Install by default all relevant NM packages from jenkins:// URL.
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
f40c36ce7d
contrib/jenkins: set dependent configuration parameters and print more information
...
Some parameters, such as RPM,DIST,DISTCHECK imply/conflict each other. Improve
the script to set the dependencies. Otherwise, it might be unexpected that the
build script does DISTCHECK, when enabling RPM.
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
dd96096543
contrib/jenkins: update jenkins build script after merging RPM build scripts to master
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
e1f66aabf1
contrib/jenkins: update logging in jenkins_script.sh and add DIST/DISTCHECK variables
...
Also extend the trigger_build.sh script
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
d8b918c462
contrib/bkr: add code comment with url of nitrate tests that we are going to fetch by default
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
7ae04143fd
contrib/bkr: improve selecting test names from Nitrate frontend
...
Add more capabilities to include/exclude test cases by tags and status.
Try:
contrib/rh-bkr/bkr.py s -v -t t-rhel-7 -s CONFIRMED -T wifi -T dcb -T infiniband
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
966523468d
contrib/bkr: update job template
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
8db687d1bf
contrib/bkr: by default, also install NetworkManager-tui in beaker runs
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
7c15f0c91c
contrib/bzutil: add filter shortcut "fixed"
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
ceb465755b
automation/bkr: update job template to archive journal log
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
76b478d6ff
contrib/bzutil: optimize evaluation of filters to fetch bugzilla only when needed
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
25a57149aa
contrib/bzutil: add filter FilterId and allow negation of filters
...
There is already the command line option --bz to add additional bugs
to the output. The option --no-bz is to black list bugs.
The new filter 'bz' allows you something similar, but contrary to
--no-bz which acts at an earlier stage, this filters bugs after they are
parsed from refs.
Also, allow every filter to be negated by prepending it with ~ or !.
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
d4be2c2da7
contrib/bzutil: allow ignoring "Related: " bugs when parsing commit message
...
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00