Commit graph

10800 commits

Author SHA1 Message Date
Thomas Haller
ebcdc503f4 makerepo: add git-remote for NetworkManager-pptp package 2016-10-03 13:28:18 +02:00
Thomas Haller
2b0438f975 makerepo: add remote "nm" for wpa_supplicant 2016-09-16 10:54:34 +02:00
Thomas Haller
e375d9e474 makerepo: detect upstream branch parent for VPN plugins 2016-09-14 14:30:30 +02:00
Thomas Haller
4cd539745b makerepo: add upstream branch parent for wpa_supplicant release 2016-09-12 11:01:11 +02:00
Thomas Haller
086113a646 makerepo: better detect current source directory
Fix detecting "NetworkManager-0.8.1" directory in
"NetworkManager-0.8.1.git20100811.tar.bz2" tarball for rhel-6.
2016-09-08 23:51:24 +02:00
Thomas Haller
4b797b69ee makerepo: add support for ModemManager package 2016-08-26 16:29:01 +02:00
Thomas Haller
f74ba16681 makerepo: better detect current source directory
When switching between branches (e.g. 'rhel-7.2' and 'rhel-7.3'),
the script would not properly detect the source directory and on
'rhel-7.3' it might choose 'NetworkManager-1.0.6' instead of
'NetworkManager-1.4.0'.

Fix that, by choosing the lastly modified directory, which is the
correct one as we do this after running `$FEDPKG prep`.
2016-08-26 16:29:01 +02:00
Thomas Haller
a62c06dcb3 makerepo: add upstream branch parent for initscripts release 2016-08-23 15:18:37 +02:00
Beniamino Galvani
af96dc02cd rh-bkr: update jenkins builds host 2016-07-18 09:58:41 +02:00
Thomas Haller
1650074ea6 makerepo: add upstream branch parent for libnl3 release 2016-07-09 09:48:03 +02:00
Thomas Haller
b654086fda makerepo: add upstream branch parent for NetworkManager-openvpn release 2016-07-04 11:31:50 +02:00
Thomas Haller
ee3466b75f makerepo: add upstream branch parent for libnl3 release 2016-06-30 13:36:22 +02:00
Thomas Haller
67f6b005a0 makerepo: fix supporting NetworkManager-libreswan package 2016-06-29 19:42:06 +02:00
Thomas Haller
1cb3b1e26f makerepo: add upstream branch parent for NetworkManager-libreswan release 2016-06-29 19:37:04 +02:00
Thomas Haller
5f8ccb9064 makerepo: add upstream branch parent for NM-vpn release 2016-06-21 09:51:52 +02:00
Thomas Haller
678ce9e730 contrib/makerepo: add vpnc package to makerepo.sh 2016-05-15 19:55:22 +02:00
Lubomir Rintel
fe42d5ed4e contrib/rh-bkr: brew moved 2016-04-05 14:29:40 +02:00
Lubomir Rintel
5dcf4458b3 contrib/rh-bkr: default to RTT_ACCEPTED 2016-04-05 13:42:22 +02:00
Lubomir Rintel
8485ddb161 contrib/rh-bkr: master tests now run with all branches 2016-04-05 13:42:05 +02:00
Lubomir Rintel
5bcc6ac784 contrib/rh-bkr: allow noarch packages 2016-03-24 09:57:24 +01:00
Lubomir Rintel
b4d8024f3b contrib/rh-bkr: ensure there's needed packages 2016-03-22 10:43:19 +01:00
Lubomir Rintel
1890c816a9 contrib/rh-bkr: don't upgrade NetworkManager to distribution version 2016-03-21 17:17:06 +01:00
Thomas Haller
d16ebc90e0 contrib/makerepo: better try to detect an unknown build-type 2016-03-16 10:24:41 +01:00
Lubomir Rintel
f4505bd88a contrib/rh-bkr: add a warning 2016-03-09 15:39:42 +01:00
Lubomir Rintel
834c331f68 contrib/rh-bkr: default to RHEL 7 if distro unspecified 2016-03-07 14:56:58 +01:00
Lubomir Rintel
e804b0614a contrib/rh-bkr: add --valgrind flag
Installs valgrind and provides a template for vgdb enabled valgrind-wrapped
service. The test harness is expected to pick this up, finish the setup and
eventually make use of it.
2016-03-05 00:37:53 +01:00
Beniamino Galvani
fa7ea3d5a3 rh-bkr: install jansson-devel package when building from sources
It will be required to build the teamd device plugin.
2016-02-29 23:13:03 +01:00
Thomas Haller
9a06d42476 rh-bkr: allow WITH_DEBUG option for "build-from-source.sh"
Since 87dc14476b we can enable
more assertions when building the RPM package. Allow passing
that option to "build-from-source.sh" by setting environment
"WITH_DEBUG=yes".
2016-02-02 20:04:03 +01:00
Thomas Haller
b33afa291a rh-bkr: build package for beaker script in beaker task
Building NetworkManager during kickstart has the serious disadvantage
that we don't yet run the installed system. E.g. if the kernel has
issues there, it fails `make check` of the build process, although
the later run kernel is fine.

Also, a failure during kickstart does not allow to access the machine
later to inspect the failure reason (e.g. the testing logfiles).

Instead, move the building to a separate script and run it as a beaker
task.
2016-01-14 17:45:56 +01:00
Thomas Haller
1d2133d8b8 rh-bkr: better handle setting DISTREQUIRES 2016-01-13 18:27:47 +01:00
Thomas Haller
71388f0525 rh-bkr: print test logging in kickstart if check fails 2016-01-06 10:10:20 +01:00
Lubomir Rintel
0ac16a0d3f contrib/rh-bkr: default to using the old reservesys task
The new one doesn't support returning or extending. It can still be used with
--reservesys=new.

Revert "contrib/bkr: update specifying reservesys"
This reverts commit 96f49913c4.
2015-12-16 17:12:45 +01:00
Lubomir Rintel
12728813b6 rh-bkr: yum downgrade may return 1 if there's nothing to do 2015-12-03 11:42:10 +01:00
Lubomir Rintel
7b4e728e11 rh-bkr: fix run without RPM_LIST 2015-12-03 11:41:48 +01:00
Lubomir Rintel
b16c00155a rh-bkr: fix the downgrade/install
No need to install the NetworkManager-wifi separately and update yum. Also,
downgrade succeeding doesn't mean we have all the wanted packages.
2015-12-02 16:02:38 +01:00
Thomas Haller
58d180acaa makerepo.sh: clear old patches before splitting patches
Otherwise, patches from a previous run might interfere.
2015-12-01 14:08:03 +01:00
Thomas Haller
31aa552f42 makerepo.sh: support iproute package 2015-12-01 10:41:52 +01:00
Lubomir Rintel
2d0b65de30 rh-bkr: rename GIT_URL and GIT_TESTBRANCH
GIT_URL conflicts with Jenkins' use. Rename it to something more sensible and
rename the GIT_TESTBRANCH for consistency as well.
2015-11-26 12:10:35 +01:00
Lubomir Rintel
9a07d099cf rh-bkr,jenkins: Remove the GIT_URL setting 2015-11-26 10:10:52 +01:00
Thomas Haller
54c85b1e7a contrib/bkr: choose by default DISTRO_VARIANT="Server"
For non-x86_64 archs, only the Server flavor exists.
2015-11-23 10:40:13 +01:00
Thomas Haller
25ee2f0de6 contrib/rh-bkr: change configuration file setup by bkr.py's job template
We want to reserve configuration-files "90-*" and larger for the tests
themselves. So, place our config file at "85-".
2015-11-20 17:11:52 +01:00
Thomas Haller
91762c38b1 contrib/rh-bkr: support special ARCH "<random>" in jenkins script 2015-11-20 15:42:51 +01:00
Thomas Haller
4b6f93bf8a contrib/rh-bkr: don't enable WiMAX for beaker test build
WiMAX is no longer available on RHEL-7, thus beaker cannot
build it (only relevant for nm-1-0 branch).
2015-11-20 14:42:56 +01:00
Thomas Haller
e319e59d75 contrib/rh-bkr: fix jenkins script to schedule beaker jobs 2015-11-16 16:12:40 +01:00
Thomas Haller
92c9439b34 contrib/rh-bkr: update build-directory during kickstart
Using /tmp/nm-build is not great because then the build directory
is gone after reboot. Let's use /root/nm-build.
2015-11-12 22:20:33 +01:00
Thomas Haller
cea05e1a07 contrib/rh-bkr: refactor RPM scheme handlers in bkr.py
Get rid of UploadFileSsh. This was hardly used because it
is cumbersome to use. Also, the default scheme was file://
if no scheme was given, which makes this especially non-useful.

Replace it by a new provider RPM, so that you can just specify
any rpms you want to install, like --rpm package1,package2.

Also, drop the no longer needed init() and prepare() steps.

Finally, rename UploadFile* classes to RpmScheme*.
2015-11-12 22:00:04 +01:00
Thomas Haller
517e901b98 contrib/rh-bkr: add jenkins.sh script to schedule beaker job from CI/Jenkins
Also support new environment variables or fix handling so that
they become usable as parameters from Jenkins
2015-11-12 21:22:07 +01:00
Thomas Haller
2b19146b6a contrib/rh-bkr: fix kickstart without RPMs 2015-11-12 21:07:22 +01:00
Thomas Haller
0b5d1ff880 contrib/rh-bkr: add options to wait for beaker job completion and fetch results
Needed to integrate with jenkins.
2015-11-12 17:16:58 +01:00
Vitezslav Humpa
7e71af8c0e contrib/rh-bkr: fix script for Python 2.6 and parse klist output 2015-11-12 16:35:14 +01:00