Commit graph

10648 commits

Author SHA1 Message Date
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
Thomas Haller
ffe6264379 contrib/bzutil: also parse git-notes for bugzilla references
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
07abf88a0b contrib/bzutil: add --resolves option to bzutil.py, print '--bz' args and reorder output
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
ea525c630c contrib/bkr: add --tests argument and allow setting tests in environment variable
You can now specifying TESTS via --nitrate-tag and --tests combined.
Or, if both arguments are omitted, if falls back to the environment
variable "TESTS".

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
3c552a9f7d contrib/bzutil: add new --filter shorthands (rhel, fc, rhel6, rhel6.5, etc.)
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
d27c81961e contrib/bzutil: print list of excluded bugs from --no-bz
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
de3985a0ce contrib/bzutil: support simpler syntax to specify --filter option
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
fb9b95b570 contrib/bzutil: add show blocker flag in short output
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:21 +02:00
Thomas Haller
9d55787907 contrib/bzutil: add predefined --filters "rhel6", "rhel7" and "open"
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
f012ce8e3c contrib/bkr: update job01.xml
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
0223182ec8 contrib/bkr: update job01.xml
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
9d1a0278f0 contrib/bkr: add --nitrate-tag option to substitute TESTS
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
9cbf3ce19e contrib/jenkins: update jenkins_script.sh
Support new parameter OUT_OF_TREE_BUILD and cleanup code

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
e6a32515f9 contrib/bzutil: support selecting fields in --filter directly without 'match'
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
910f165ee5 contrib/bzutil: make 'match' filter to use regular expression
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
773d82be7a contrib/bzutil: add --filter option
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
af3a3d457b contrib/rh-utils: add url to webservice API as code comment
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
e44280ad12 contrib/rh-utils: implement setting of BZ properties
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
a1c9fdcd03 contrib/rh-utils: improve logging output and show product+version
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
204801283f contrib/rh-utils: show result count in output
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
40c9e31d9a contrib/rh-utils: improve help output by showing examples
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00
Thomas Haller
a237b9cb60 contrib/jenkins: update jenkins_script.sh
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-10-03 10:40:20 +02:00