Commit graph

10746 commits

Author SHA1 Message Date
Thomas Haller
e953304dad makerepo.sh: support NetworkManager-libreswan pacakge 2015-10-23 16:04:10 +02:00
Thomas Haller
3e5ca284b7 contrib/rh-bkr: add -J option to use default job template
There is a default job template "job01.xml" which is usually
used. Allow chosing this job template without explicitly
requiring the filename.
2015-10-23 13:53:00 +02:00
Thomas Haller
8014cee2fe contrib/rh-bkr: update host requirements for inifiniband tests 2015-10-23 13:39:50 +02:00
Thomas Haller
bd61202586 contrib/rh-bkr: properly use $ARCH to detect builds 2015-10-21 16:14:54 +02:00
Thomas Haller
2b689d7165 contrib/rh-bkr: cleanup substituting variables in template
- get rid of the unused [$index] like $RPM_LIST[@].

- rename _get_default() to _get_var()

- let _get_var() handle the dynamic overwrites via DefaultReplacements.
  That has the advantage, that variables that are based on each other
  can resolve the defaults (recursivley).

- sort the debug messages about the substitutions
2015-10-21 15:50:11 +02:00
Thomas Haller
07a3f36526 contrib/rh-bkr: use $ARCH variable to select host-type 2015-10-21 14:34:50 +02:00
Thomas Haller
075edacd9b contrib/rh-bkr: for brewtask:// follow the main page when parsing URLs 2015-10-06 18:14:19 +02:00
Thomas Haller
f1ae625bac contrib/rh-bkr: detect nitrate-test-plan based on GIT_TARGETBRANCH 2015-09-09 17:28:02 +02:00
Thomas Haller
917cd3ad57 contrib/rh-bkr: update detection of GIT_TARGETBRANCH and DISTRO_NAME 2015-09-09 17:10:14 +02:00
Thomas Haller
b8d11f68ce contrib/rh-bkr: make parent test plan in nitrate configurable
When loading tests from nitrate, we consider all test cases that
are under a plan, which is under a certain parent test-plan.

Up to now, we used always
  https://tcms.engineering.redhat.com/plan/6727/networkmanager#treeview

Now, for rhel-7.2, we should rather use:
  https://tcms.engineering.redhat.com/plan/18716/networkmanager#treeview

Make this configurable via a new --nitrate-test-plan argument.
2015-09-07 17:20:20 +02:00
Thomas Haller
e95629ca49 makerepo.sh: add comment with howto and usage example 2015-09-03 15:46:16 +02:00
Lubomir Rintel
cb147ea31e contrib/rh-bkr: add logging 2015-08-17 14:10:45 +02:00
Lubomir Rintel
9e056d1eed contrib/rh-bkr: update RHEL
Use the post-development testing snapshot.
2015-08-17 14:10:45 +02:00
Lubomir Rintel
bc947d0c91 contrib/rh-bkr: recognize the 1.0.4 release 2015-08-17 14:10:45 +02:00
Thomas Haller
90b9ee12f3 contrib/rh-bkr: fix UploadFileJenkins constructor not accessign mainpage
Fixes: 682d08328e
2015-08-17 14:10:45 +02:00
Lubomir Rintel
6e464506a3 contrib/rh-bkr: add workflow for bugzilla reporting 2015-08-17 14:10:45 +02:00
Lubomir Rintel
4c1656c6e2 contrib/rh-bkr: add ABRT 2015-08-17 14:10:45 +02:00
Lubomir Rintel
279a7f2548 contrib/rh-bkr: drop installed NetworkManager before installing test RPMs
The tested version could be older than what's in the distribution.
2015-08-17 14:10:45 +02:00
Thomas Haller
7638534d84 makerepo.sh: add parent commits for "network-manager-applet" package 2015-08-17 14:10:45 +02:00
Thomas Haller
0987f7f61e rh-utils: add script find-backports.sh
When backporting commits, we should do `git cherry-pick -x`,
so that the commit message contains:
    (cherry picked from commit $SHA)

Similarly, when fixing an actual bug of a previous commit, we
mark the faulty commit with:
    Fixes: $SHA

This script walks through a commit range of a stable branch,
and finds all $BACKPORTED_COMMITS (the sources from where we
cherry-picked).
Then it walks through a commit range of upstream/unstable branch,
and searches for $FIXES of the $BACKPORTED_COMMITS.

Then it prints all $FIXES, that are not yet backported. You probably
should backport those commits as well.
2015-08-17 14:10:45 +02:00
Thomas Haller
0752bd18bd contrib/makerepo.sh: record last dirty files to create .gitignore file on next build 2015-08-17 14:10:45 +02:00
Lubomir Rintel
c13bfa00e7 contrib/rh-bkr: break lines after list substititions
Makes the resulting kickstart nicer.
2015-07-09 11:05:04 +02:00
Lubomir Rintel
2a729bdb78 contrib/rh-bkr: only consider last packages in repositories
They're hopefully the most recent ones.

COPR leaves the old versions in place and Beaker dislikes long packagelists...
2015-07-09 11:05:03 +02:00
Lubomir Rintel
682d08328e contrib/rh-bkr: support installing from yum repositories 2015-07-08 11:29:03 +02:00
Lubomir Rintel
5e4cd2c12e contrib/rh-bkr: decompress mainpage if it's gzipped
Will be useful for compressed rpmmd.
2015-07-08 11:28:44 +02:00
Lubomir Rintel
7a980c043b contrib/rh-bkr: escape ARGV and ARGV_PROFILE 2015-07-07 16:00:59 +02:00
Lubomir Rintel
67ff6b44e6 contrib/rh-bkr: switch the whiteboards
Move the longer whiteboard into the recipe and leave the shorter one in the job.
Makes it a bit more concise in the job listing.
2015-07-03 11:33:01 +02:00
Lubomir Rintel
2ee6632688 contrib/rh-bkr: run the installations and configuration from the kickstart
This runs it early enough. Makes it possible for us to poll in the new SELinux
policy and have it effective fron the boot.
2015-07-03 11:33:01 +02:00
Lubomir Rintel
96b4b8b9f1 contrib/rh-bkr: combat more infiniband script wrongdoing 2015-07-03 11:32:58 +02:00
Lubomir Rintel
6785d1ea48 contrib/rh-bkr: allow overriding GIT_URL
I like to run the tests from
GIT_URL=git://git.engineering.redhat.com/users/lrintel/qe/NetworkManager.git
2015-07-03 10:58:57 +02:00
Lubomir Rintel
7b6d5e668a Revert "contrib/rh-bkr: update RHEL"
The kernel in this compose is no good.

https://bugzilla.redhat.com/show_bug.cgi?id=1238672
https://bugzilla.redhat.com/show_bug.cgi?id=1238671

This reverts commit 4a3915aa44.
2015-07-02 13:48:48 +02:00
Lubomir Rintel
4a3915aa44 contrib/rh-bkr: update RHEL 2015-07-02 09:29:46 +02:00
Lubomir Rintel
3dc167401c contrib/rh-bkr: disable selinux on an inifiniband machine
It has a crazy post-deployment script.
2015-07-02 09:28:53 +02:00
Lubomir Rintel
c70af1a364 contrib/rh-bkr: ignore '$' characters that are not followed by a variable name
Skip them without substitution.
2015-07-02 09:28:13 +02:00
Lubomir Rintel
bbd23fcce4 contrib/rh-bkr: update RHEL 2015-07-01 16:56:06 +02:00
Lubomir Rintel
79b968f652 contrib/rh-bkr: blacklist more wireless machines 2015-07-01 16:56:06 +02:00
Lubomir Rintel
42fa7fccdb contrib/rh-bkr: add current 7.2 2015-07-01 16:56:06 +02:00
Lubomir Rintel
9ad83cf2ba contrib/rh-bkr: add RHEL 7.2 2015-06-23 11:02:25 +02:00
Lubomir Rintel
216bad5b61 contrib/bkr: avoid running wireless tests on poor quality hardware 2015-06-17 18:03:24 +02:00
Lubomir Rintel
1bf69c78e9 contrib/bkr: avoid running wlan tests on hardware that is not mode=AP capable 2015-06-17 17:17:17 +02:00
Lubomir Rintel
eb7e4907f8 contrib/bkr: use rhel-7 branch for RHEL 7.2 2015-06-16 15:51:43 +02:00
Lubomir Rintel
b216450244 contrib/bkr: use rhel-7.1 branch wherever appropriate 2015-06-15 18:44:09 +02:00
Lubomir Rintel
cbed6de3f2 contrib/bkr: fix a small typo 2015-06-15 18:44:07 +02:00
Lubomir Rintel
ac8a103660 contrib/bkr: don't drop error output 2015-06-15 18:44:04 +02:00
Lubomir Rintel
6ccf90a5bb contrib/bkr: fix _get_default 2015-06-15 18:43:56 +02:00
Thomas Haller
a77550a6c7 contrib/makerepo: add parent commit for NetworkManager-openvpn source package 2015-05-28 11:09:59 +02:00
Thomas Haller
597d2a35fa contrib/makerepo: add parent commit for nm-applet source package 2015-05-21 16:37:03 +02:00
Thomas Haller
311a146daf contrib/makerepo: limit number of patches to revert
On rhel-6 branch, an old patch breaks the script.
Just limit the number of undos to exclude that script.
2015-05-18 18:37:45 +02:00
Thomas Haller
cbeee992e8 contrib/makerepo: use git remote rm instead of "remove"
Older git versions only know the latter.
2015-05-18 18:27:15 +02:00
Thomas Haller
ced90e3677 contrib/jenkins: update jenkins_script.sh
Enable more-asserts and more-logging in test build.
2015-04-23 16:51:33 +02:00