Skip to content

Releases: neoave/mrack

v1.23.0

05 Nov 12:34
Compare
Choose a tag to compare

v1.23.0 (2024-11-05)

Feature

  • feat: Add support for translanting job-owner of kickstart (64a84db)

  • feat: Add translantion for kernel_options and kernel_options_post (868523c)

v1.22.0

17 Oct 11:12
Compare
Choose a tag to compare

v1.22.0 (2024-10-17)

Chore

  • chore: setup: package seccomp filter

Add seccomp.json to setup mrack package so it is included on pkg install.

Signed-off-by: Alexander Bokovoy <[email protected]> (4d0b63c)

Documentation

  • docs: Update seccomp configuration example

seccomp.json example from FreeIPA Azure CI tests. It works well for both
docker and podman, both root and rootless.

Signed-off-by: Alexander Bokovoy <[email protected]> (9b2d980)

Feature

  • feat: podman: handle custom network configuration

Allow to add custom network configuration to the network bridge
activated via podman provider.

Signed-off-by: Alexander Bokovoy <[email protected]> (f3deca1)

Fix

  • fix: podman: set podman connection information for ansible

Ansible connection.podman.podman connection module uses ansible_host as
a container ID to connect to. Use container ID instead of IP address
which cannot be reached in rootless setup anyway.

It makes ansible -c podman -i metadata-inventory.yaml usable in
rootless podman setup because one cannot connect over IP addresses to
the containers as the networking bridge is not visible from the host.

Signed-off-by: Alexander Bokovoy <[email protected]> (768bba5)

Style

  • style: Reformat by black (f43d20f)

v1.21.0

06 Aug 05:20
Compare
Choose a tag to compare

v1.21.0 (2024-08-06)

Feature

  • feat: update pytest-mh output to work with latest version (b3e0f7d)

v1.20.0

16 Jul 07:57
Compare
Choose a tag to compare

v1.20.0 (2024-07-16)

Chore

  • chore: Update deprecated actions

Due to warnings shown in https://github.com/neoave/mrack/actions/runs/9302766806
It updates actions to new version with Node 20

Signed-off-by: David Pascual <[email protected]> (236393c)

Feature

  • feat: Add support for translanting %pre and main body part of kickstart (feeae04)

v1.19.0

30 May 12:49
Compare
Choose a tag to compare

v1.19.0 (2024-05-30)

Chore

  • chore: bump black in pre-commit

Additionally formating version.py from running make format

Signed-off-by: David Pascual <[email protected]> (784d24b)

  • chore(deps): bump black from 22.3.0 to 24.3.0

Bumps black from 22.3.0 to 24.3.0.


updated-dependencies:

  • dependency-name: black
    dependency-type: direct:production
    ...

Signed-off-by: dependabot[bot] <[email protected]> (f6f9131)

Feature

  • feat: handle list value for add_dict_to_node function (f4324bf)

  • feat: Provide beaker log links

Client like tmt may need to fetch the logs and store log contents (aa25ff3)

Fix

  • fix(beaker): supress 10_avc_check restraint plugin

It has happpened that this plugin sometimes ran after the dummy task, it reported fail
that there was some AVC (probabaly from other thing) which then failed the job and thus
mrack treated this as a provisioning failure.

This patch instructs restraint to not run this plugin and thus avoid this situation.

Signed-off-by: Petr Vobornik <[email protected]> (587a9c7)

  • fix: make delete_host function more robust (f1e7590)

Test

  • test: speed-up tests by mocking gethostbyaddr

Tests that are using mrack outputs are slowed down by
socker.gethostbyaddr for adhoc IP addresses. This resolution mostly
fails and the test is slow (multiple seconds timeout for single IP).

With this, all python tests are executed within 1.5s.

Signed-off-by: Petr Vobornik <[email protected]> (6f81e37)

  • test: Add add_dict_to_node test (2c0c2bb)

  • test: Add test for _get_recipe_info function (a7db867)

v1.18.0

27 Nov 12:20
Compare
Choose a tag to compare

v1.18.0 (2023-11-27)

Feature

  • feat: Add async_timeout dependency

This dependency was observed missing when installing mrack as a dependency in another python project

Signed-off-by: David Pascual <[email protected]> (c158474)

v1.17.1

03 Nov 11:03
Compare
Choose a tag to compare

v1.17.1 (2023-11-03)

Fix

  • fix: curate_auth func changed to non-async

await call for _curate_auth_url missing in session
creation which caused regression.
function _curate_auth_url changed to non-async,
tests updated to reflect the same

Signed-off-by: Kaleemullah Siddiqui <[email protected]> (583193a)

v1.17.0

23 Oct 15:05
Compare
Choose a tag to compare

v1.17.0 (2023-10-23)

Chore

  • chore(ci): Temporarely remove packit tests

Until secret injection issue into test farm is solved

Signed-off-by: David Pascual <[email protected]> (5251d90)

  • chore(release): Update semantic release action name and version

Updating action to new name and latest version.
This should not affect behaviour.

Signed-off-by: David Pascual <[email protected]> (97a5355)

  • chore(release): Upload distribution package to release assets

To fix fedora release, broken in #272

Fixes #273

Signed-off-by: David Pascual <[email protected]> (6d6cdc6)

Feature

  • feat(openstack): Append API version to auth_url in credentials

This will save a manual step for the users when setting up clouds.yaml file,
as auth_url field is usually generated without specifying the version.

Version specification is needed by asyncopenstackclient libray

Signed-off-by: David Pascual <[email protected]> (3a59761)

v1.16.0

09 Oct 16:11
Compare
Choose a tag to compare

v1.16.0 (2023-10-09)

Chore

  • chore(ci): Fix release workflow build step checking out wrong commit

actions/checkout checks out the latest commit at the time of the workflow trigger,
hence any commit done during the workflow is not included.
Fixing this to checkout the actual latest (release) commit.

Signed-off-by: David Pascual <[email protected]> (e8e20f1)

  • chore: Bump asyncopenstackclient dependency version

This will allow to use the feature that enables application
credentials authentication.
Signed-off-by: David Pascual <[email protected]> (97a7cd0)

  • chore(release): Add PyPI action & extract copr step

Due to latest changes to python semantic release
PyPI release is no longer supported and the separate
action (https://github.com/pypa/gh-action-pypi-publish)
is recomended to use while releasing to PyPI.
For the trusted publishing we had to set up the PyPI
account owning mrack to trust neoave/mrack repository
which I did and set up the actions jobs to build
the python package and trigger a truster build.
As an addition i have extracted copr to separate job.

Some resources:
https://docs.pypi.org/trusted-publishers/
https://python-semantic-release.readthedocs.io/en/latest/index.html
https://github.com/pypa/gh-action-pypi-publish
https://python-semantic-release.readthedocs.io/en/latest/migrating_from_v7.html

we had to move from v7 to 8 to use PyPI and have
build steps separate as v7 does that inplace.

Signed-off-by: Tibor Dudlák <[email protected]> (278d1b1)

  • chore: Bump python-semantic-release to v7.34.4

Version 7.33.1 of python-semantic-release action is failing in the container build.
Updating action to this version will solve this issue.

Signed-off-by: David Pascual <[email protected]> (9bbd987)

Documentation

  • docs(Beaker): Add hostRequires documentation section to guides

Signed-off-by: Tibor Dudlák <[email protected]> (de027fa)

Feature

  • feat: Add new dependecies to mrack.spec file

Add aiofiles and os_client_config dependencies from latest changes
to mrack.spec definition

Signed-off-by: David Pascual <[email protected]> (d6b7298)

  • feat(OpenStack): Add clouds.yaml as an authentication method

Add clouds.yaml as an alternative to env vars.
Also, user+password and application credentials formats are both allowed.

Signed-off-by: David Pascual <[email protected]> (7bbda34)

  • feat(OpenStack): Import publick key on provision

This will save manual steps and error if the public key was not previously imported to
openstack profile.

Signed-off-by: David Pascual <[email protected]> (a5b32e3)

Fix

  • fix(Beaker): Exception has been thrown as raise missed argument

Signed-off-by: Tibor Dudlák <[email protected]> (db74ae0)

Test

  • test: fix pylint issues and use isinstance

Signed-off-by: Tibor Dudlák <[email protected]> (1a29d86)

v1.15.1

13 Jun 14:01
Compare
Choose a tag to compare

Fix

  • Do not reprovision all hosts when server error is detected (fd111f5)
  • Use lower cooldown time to not be too slow in re-provisioning (6e499f6)