2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-23 02:17:33 +00:00

189 Commits

Author SHA1 Message Date
Wlodek Wencel
c474c0981e [#2836] remove unnecessary os.unlink 2023-04-19 15:51:15 +00:00
Wlodek Wencel
3b0ecc48c3 [#2836] hammer update for rhel 9 2023-04-19 15:51:15 +00:00
Marcin Godzina
70e2fb8fc5 [#2814] changed included '.deb' to 'deb' 2023-03-30 08:23:52 +00:00
Marcin Godzina
3381403a79 [#2803] enable alpine 3.17 in hammer 2023-03-23 12:54:34 +00:00
Andrei Pavel
4450e0514a
[#2769] release changes 2023-02-17 17:42:41 +02:00
Andrei Pavel
b4498e1084
[#2696] hammer.py: check Popen.poll() at the end
There was a wrong assumption that the first call to Popen.poll()
is always None. This is not the case when the process is fast enough
to finish before it gets polled, in which case it is not None, but
it is the return code instead. This caused some executes to have
empty output.
2023-02-03 16:57:09 +02:00
Andrei Pavel
39cbf167fa
[#2696] hammer.py: replace ~ with os.environ['HOME']
On rare occasion, the previously-used execute() would return
empty output, which would cause the path to change, often resulting
in a 'no such file or directory' error.
2023-02-03 16:57:09 +02:00
Andrei Pavel
f0dfe7def2
[#2696] hammer.py: unrelated fix for libsysrepo.so name 2023-02-03 16:57:09 +02:00
Wlodek Wencel
70604aa757 [#2657] changed sequence of command logging 2022-11-30 12:42:10 +01:00
Wlodek Wencel
edaf9ab066 [#2657] replace ~/ with absolute path 2022-11-30 12:29:34 +01:00
Andrei Pavel
3aa8c1da5c
[#2657] hammer.py: /tmp -> ~/.hammer-tmp 2022-11-29 20:59:19 +02:00
Andrei Pavel
8a1c2ba22d [#2652] fx freeradius-client package names in hammer.py 2022-11-29 17:43:22 +00:00
Andrei Pavel
a2a35ede21 [#2601] bump versions of libyang and sysrepo dependencies 2022-11-25 18:15:34 +02:00
Andrei Pavel
582e84a83e [#2601] fix typos in NETCONF code 2022-11-25 18:15:34 +02:00
Andrei Pavel
a1ad228767
[#2311] hammer.py now installs libyang2 and sysrepo2 2022-10-21 17:45:24 +03:00
Andrei Pavel
1adc9a0a36 [#2539] hammer.py: ldconfig after make install 2022-10-13 16:28:10 +00:00
Andrei Pavel
a21c75b673
[#2539] hammer.py: revert sorting of features
Fixes TypeError: unsupported operand type(s) for -: 'set' and 'list'
2022-10-07 15:08:03 +03:00
Andrei Pavel
0097c9aafa
[#2539] hammer.py: defer linking of pg_config until after package is installed 2022-10-07 15:08:03 +03:00
Andrei Pavel
5f773fbfc0
[#2539] hammer.py: warn if there is no Release file
It solves errors that appear on the first time a Debian package is uploaded like:

E: The repository 'https://packages.aws.isc.org/repository/kea-2.3-debian-11-ci kea Release' does not have a Release file.
2022-10-07 15:08:03 +03:00
Andrei Pavel
f839efec02
[#2539] hammer.py: never discard features or prevent their installation
At most, incompatible features should log an error and make hammer
exit. But there are no incompatible features to my knowledge.
2022-10-07 15:08:03 +03:00
Andrei Pavel
f90492b4bc
[#2539] hammer.py: delete the default Heimdal krb5-config in FreeBSD
This makes it possible for Kea to pick up by default on the krb5-config
from the MIT version of Kerberos packages.
2022-10-07 15:06:27 +03:00
Andrei Pavel
033ae2e37f
[#2539] hammer.py: reinstall pkg to update repositories
This way, a pkg-search command will find package versions that can be
installed rather than outdated versions. Solves errors like the following.

pkg: No packages available to install matching 'py38-sphinx' have
been found in the repositories
2022-10-07 15:06:27 +03:00
Andrei Pavel
a6c139d312
[#2539] hammer.py: use venv or packages instead of virtualenv
This is in the detriment of virtualenv which is considered deprecated.
2022-10-07 15:06:27 +03:00
Andrei Pavel
2c17dabcc7
[#2539] hammer.py: remove superfluous ldconfig in alpine 2022-10-07 15:06:27 +03:00
Andrei Pavel
7addc5a349
[#2539] hammer.py: switch from PostgreSQL 14 to the default in RHEL 9
There is a lot of code that deals with previously installed versions of
PostgreSQL. This is good since it deals with a lot of use cases and
allows us to not regenerate images, but it also adds complexity.
2022-10-07 15:06:26 +03:00
Andrei Pavel
2c3240341e
[#2539] hammer.py: configure RPM distros to look for libraries in /usr/local/lib64 2022-10-07 15:06:26 +03:00
Andrei Pavel
8a39689c36
[#2539] hammer.py: install dnf on CentOS 7 and RHEL 7
Fixes the following error that appeared recently on CentOS 7.
Error: Not tolerating missing names on install, stopping.
2022-10-07 15:06:26 +03:00
Andrei Pavel
30b7cb750e
[#2539] mostly cosmetical changes to hammer.py 2022-10-07 15:06:26 +03:00
Andrei Pavel
bb29471b79
[#2539] add --with-randomly to hammer.py
For testing both with and without a feature over time, you might want to
enable or disable it non-determinstically for a certain test run. This
can be done with the --with-randomly parameter which has a 50% chance of
enabling a feature and a 50% chance of disabling it.
2022-10-07 15:06:26 +03:00
Andrei Pavel
caee201715
[#2510] hammer.py: fix the name of debian freeradius-client packages 2022-08-26 15:22:03 +03:00
Andrei Pavel
1c9511317c [#2510] hammer.py: export the name of FreeRADIUS client packages used while building packages 2022-08-26 09:20:24 +00:00
Tomek Mrugalski
cac64c2253 [#2534] Added log about detected python ver 2022-08-26 10:11:15 +02:00
Tomek Mrugalski
988fbbe272 [#2534] Dynamic python ver detection
patch by Andrei Pavel
2022-08-26 10:11:15 +02:00
Tomek Mrugalski
30ffb5e06f [#2534] FreeBSD 13/sphinx/python version fix 2022-08-26 10:11:15 +02:00
Andrei Pavel
2b4a49b662 [#2516] add support for CentOS Stream 9 in hammer.py 2022-08-19 12:28:14 +00:00
Dan Theisen
66b88fd5ae [#2503] Workaround to fix alpine 3.16 packaging by fetching sphinx from pip 2022-08-05 07:53:48 +00:00
Dan Theisen
80c19f385c [#2503] Ensure Alpine has real gzip installed 2022-08-05 07:53:48 +00:00
Dan Theisen
7ed8ba0f2b [#2503] Remove skip-networking from Alpine mariadb configuration in hammer 2022-08-05 07:53:48 +00:00
manu
373a3ce1ea Fix PostgreSQL for RHEL 9 in hammer.py 2022-07-29 10:45:33 +02:00
Dan Theisen
4ca144242f [#2491] Add hammer support for alpine 3.16 2022-07-20 04:24:54 -07:00
Wlodek Wencel
3b1011c1c2 [#2458] added missing package for pdf documentation in ubuntu 22 2022-06-27 13:34:41 +02:00
Wlodek Wencel
f9b9c6cc8e [#2439] added rhel 9 support to hammer 2022-06-14 16:06:47 +00:00
Wlodek Wencel
5d466dab79 [#2433] add support for ubuntu 22.04 2022-06-08 17:46:33 +02:00
Wlodek Wencel
c63b2c2311 [#2410] fedora 35 and 35 support 2022-05-18 15:28:28 +00:00
manu
9d1c455520 Enable additional features in hammer.py for RHEL8 2022-05-18 15:28:28 +00:00
Wlodek Wencel
af0d39f800 [#2410] build rhel 8 pkgs 2022-05-18 15:28:28 +00:00
manu
746371b296 Hammer: add MariaDB and PostgreSQL for RHEL 8 2022-05-12 12:34:45 +02:00
Dan Theisen
a1c2229a7d Hammer: Add support for Alpine 3.14 and 3.15 2022-05-12 08:33:47 +00:00
Andrei Pavel
0da22b377f
[#2353] hammer.py: try both ALTER and GRANT for REQUIRE X509 2022-04-07 11:14:12 +03:00
Francis Dupont
3a8449789f
[#2353] Proposed fixes for doc 2022-04-02 11:08:28 +03:00