From c9cd14e35c3509096182c96b2a0c17f6377c5439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Mon, 31 Oct 2022 12:31:29 +0100 Subject: [PATCH 01/66] Add initial mrack spec from upsream mrack project MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- mrack.spec | 254 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 254 insertions(+) create mode 100644 mrack.spec diff --git a/mrack.spec b/mrack.spec new file mode 100644 index 0000000..a935455 --- /dev/null +++ b/mrack.spec @@ -0,0 +1,254 @@ +Name: mrack +Version: 1.10.0 +Release: 1%{?dist} +Summary: Multicloud use-case based multihost async provisioner + +License: Apache-2.0 +URL: https://github.com/neoave/mrack +Source0: %{URL}/releases/download/v%{version}/%{name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-click +BuildRequires: python3-pyyaml +BuildRequires: python3-setuptools + +# coma separated list of provider plugins +%global provider_plugins aws,beaker,openstack,podman,virt + +Requires: %{name}-cli = %{version}-%{release} +Requires: python3-%{name}lib = %{version}-%{release} +Requires: python3-%{name}-aws = %{version}-%{release} +Requires: python3-%{name}-beaker = %{version}-%{release} +Requires: python3-%{name}-openstack = %{version}-%{release} +Requires: python3-%{name}-podman = %{version}-%{release} +Requires: python3-%{name}-virt = %{version}-%{release} + +# We filter out the asyncopenstackclient dependency of this package +# so it is not forcing installation of missing dependencies in Fedora +# Once python3-AsyncOpenStackClient is in fedora we can drop this line +%global __requires_exclude asyncopenstackclient + +%description +mrack is a provisioning tool and a library for CI and local multi-host +testing supporting multiple provisioning providers (e.g. AWS, Beaker, +Openstack). But in comparison to other multi-cloud libraries, +the aim is to be able to describe host from application perspective. + +%{?python_provide:%python_provide %{name}} + +%package cli +Summary: Command line interface for mrack +Requires: python3-%{name}lib = %{version}-%{release} + +%package -n python3-%{name}lib +Summary: Core mrack libraries +Requires: python3-click +Requires: python3-pyyaml +Requires: sshpass + +%{?python_provide:%python_provide python3-%{name}lib} + +%package -n python3-%{name}-aws +Summary: AWS provider plugin for mrack +Requires: python3-%{name}lib = %{version}-%{release} +Requires: python3-boto3 +Requires: python3-botocore + +%{?python_provide:%python_provide python3-%{name}-aws} + + +%package -n python3-%{name}-beaker +Summary: Beaker provider plugin for mrack +Requires: python3-%{name}lib = %{version}-%{release} +Requires: beaker-client + +%{?python_provide:%python_provide python3-%{name}-beaker} + + +%package -n python3-%{name}-openstack +Summary: Openstack provider plugin for mrack +Requires: python3-%{name}lib = %{version}-%{release} +Recommends: python3-AsyncOpenStackClient + +%{?python_provide:%python_provide python3-%{name}-openstack} + + +%package -n python3-%{name}-podman +Summary: Podman provider plugin for mrack +Requires: python3-%{name}lib = %{version}-%{release} +Requires: podman + +%{?python_provide:%python_provide python3-%{name}-podman} + +%package -n python3-%{name}-virt +Summary: Virtualization provider plugin for mrack using testcloud +Requires: python3-%{name}lib = %{version}-%{release} +Requires: testcloud + +%{?python_provide:%python_provide python3-%{name}-virt} + +%description cli +%{name}-cli contains mrack command which functionality +can be extended by installing mrack plugins + +%description -n python3-%{name}lib +python3-%{name}lib contains core mrack functionalities +and static provider which can be used as a library + +%description -n python3-%{name}-aws +%{name}-aws is an additional plugin with AWS provisioning +library extending mrack package + +%description -n python3-%{name}-beaker +%{name}-beaker is an additional plugin with Beaker provisioning +library extending mrack package + +%description -n python3-%{name}-openstack +%{name}-openstack is an additional plugin with OpenStack provisioning +library extending mrack package + +%description -n python3-%{name}-podman +%{name}-podman is an additional plugin with Podman provisioning +library extending mrack package + +%description -n python3-%{name}-virt +%{name}-virt is an additional plugin with Virualization provisioning +library extending mrack package using testcloud + +%prep +%autosetup -p1 -n %{name}-%{version} +# Remove bundled egg-info +rm -rf %{name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files +%license LICENSE +%doc README.md +%doc CHANGELOG.md + +%files cli +# the mrack man page RFE: https://github.com/neoave/mrack/issues/197 +%license LICENSE +%doc README.md +%doc CHANGELOG.md +%{_bindir}/%{name} + +%files -n python3-%{name}lib +%license LICENSE +%doc README.md +%doc CHANGELOG.md +%{python3_sitelib}/%{name} +%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info +%exclude %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}osapi.* +%exclude %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* +%exclude %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}podman.* +%exclude %{python3_sitelib}/%{name}/providers/{,__pycache__/}{%{provider_plugins}}.* +%exclude %{python3_sitelib}/%{name}/transformers/{,__pycache__/}{%{provider_plugins}}.* + +%files -n python3-%{name}-aws +%{python3_sitelib}/%{name}/transformers/{,__pycache__/}aws.* +%{python3_sitelib}/%{name}/providers/{,__pycache__/}aws.* + +%files -n python3-%{name}-beaker +%{python3_sitelib}/%{name}/transformers/{,__pycache__/}beaker.* +%{python3_sitelib}/%{name}/providers/{,__pycache__/}beaker.* + +%files -n python3-%{name}-openstack +%{python3_sitelib}/%{name}/transformers/{,__pycache__/}openstack.* +%{python3_sitelib}/%{name}/providers/{,__pycache__/}openstack.* +%{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}osapi.* + +%files -n python3-%{name}-podman +%{python3_sitelib}/%{name}/transformers/{,__pycache__/}podman.* +%{python3_sitelib}/%{name}/providers/{,__pycache__/}podman.* +%{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}podman.* + +%files -n python3-%{name}-virt +%{python3_sitelib}/%{name}/transformers/{,__pycache__/}virt.* +%{python3_sitelib}/%{name}/providers/{,__pycache__/}virt.* +%{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* + +%changelog +* Wed Oct 26 2022 Tibor Dudlák - 1.10.0-1 +- Released upstream version 1.10.0 + +* Thu Oct 20 2022 Tibor Dudlák - 1.9.1-1 +- Released upstream version 1.9.1 + +* Wed Oct 12 2022 Tibor Dudlák - 1.9.0-1 +- Released upstream version 1.9.0 + +* Mon Oct 10 2022 Tibor Dudlák - 1.8.1-1 +- Released upstream version 1.8.1 + +* Mon Oct 10 2022 Tibor Dudlák - 1.8.0-1 +- Released upstream version 1.8.0 + +* Tue Sep 20 2022 Tibor Dudlák - 1.7.0-1 +- Released upstream version 1.7.0 + +* Wed Jul 27 2022 Tibor Dudlák - 1.6.0-1 +- Released upstream version 1.6.0 + +* Fri Jul 08 2022 Tibor Dudlák - 1.5.0-1 +- Released upstream version 1.5.0 + +* Fri Jun 17 2022 David Pascual Hernandez - 1.4.1-1 +- Released upstream version 1.4.1 + +* Thu May 05 2022 Tibor Dudlák - 1.4.0-1 +- Released upstream version 1.4.0 + +* Tue Apr 05 2022 Tibor Dudlák - 1.3.1-1 +- Released upstream version 1.3.1 + +* Fri Apr 01 2022 David Pascual Hernandez - 1.3.0-1 +- Released upstream version 1.3.0 + +* Wed Dec 15 2021 Tibor Dudlák - 1.2.0-1 +- Released upstream version 1.2.0 + +* Thu Nov 25 2021 Tibor Dudlák - 1.1.1-1 +- Released upstream version 1.1.1 + +* Tue Nov 23 2021 Tibor Dudlák - 1.1.0-1 +- Released upstream version 1.1.0 + +* Fri Sep 03 2021 Tibor Dudlák - 1.0.0-1 +- Released upstream version 1.0.0 + +* Thu Jul 01 2021 Tibor Dudlák - 0.14.0-1 +- Released upstream version 0.14.0 + +* Tue Jun 08 2021 Francisco Triviño - 0.13.0-1 +- Released upstream version 0.13.0 + +* Thu May 13 2021 Tibor Dudlák - 0.12.0-1 +- Released upstream version 0.12.0 + +* Fri May 07 2021 Tibor Dudlák - 0.11.0-1 +- Released upstream version 0.11.0 + +* Fri Apr 30 2021 Bhavik Bhavsar - 0.10.0-1 +- Released upstream version 0.10.0 + +* Mon Apr 19 2021 Armando Neto - 0.9.0-1 +- Released upstream version 0.9.0 + +* Thu Apr 15 2021 Armando Neto - 0.8.0-1 +- Released upstream version 0.8.0 + +* Tue Mar 23 2021 Armando Neto - 0.7.1-1 +- Released upstream version 0.7.1 + +* Mon Mar 22 2021 Tibor Dudlák - 0.7.0-1 +- Released upstream version 0.7.0 + +* Thu Feb 04 2021 Armando Neto - 0.6.0-1 +- Initial package. From 6baaf8ac4621635dac0773be107a50dd1fe458cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Mon, 31 Oct 2022 12:32:17 +0100 Subject: [PATCH 02/66] Update README.md to upstream version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- README.md | 303 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 302 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b5b028..2895974 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,304 @@ # mrack -The mrack package +![pypi_badge](https://img.shields.io/pypi/v/mrack?label=PyPI&logo=pypi) ![readthedocs_badge](https://img.shields.io/readthedocs/mrack?label=Read%20the%20Docs&logo=read-the-docs) ![badge](https://copr.fedorainfracloud.org/coprs/g/freeipa/neoave/package/mrack/status_image/last_build.png) + +Provisioning library for CI and local multi-host testing supporting multiple +provisioning providers e.g. OpenStack, libvirt, containers, Beaker). + +But in comparison to multi-cloud libraries, the aim is to be able to describe +host from application perspective. E.g.: + +```yaml +network: IPv4 +hosts: +- name: master.testdomain.test + role: master + group: ipaserver + os: fedora-31 +- name: client.testdomain.test + role: client + group: ipaclient + os: fedora-30 +``` + +This is then combined with provisioning configuration where each provider has +defined meaning for `role`, `group`, `os` params which e.g. translates to +flavors, images, ... + +```yaml +provider: openstack # default provider +openstack: + images: + fedora-30: Fedora-Cloud-Base-30-compose-latest + fedora-31: Fedora-Cloud-Base-31 + flavors: + ipaserver: ci.m1.medium + ipaclient: ci.m1.micro + networks: + IPv4: net_ci_4 + IPv6: net_ipv6_only + dual: net_cci_4_6 + keypair: ipa_key +beaker: + distros: + fedora-30: FEDORA-30% + fodora-31: FEDORA-31% +``` + +So then user can quickly change provisioning location just by changing provider +name without needing to redefine the provider/cloud specifics. This is +especially useful for a lot of jobs sharing the same app specific provisioner +configuration. + +```yaml +provider: beaker +``` + +Or each host can use a different provider: + +```yaml +hosts: +- name: master.testdomain.test + role: master + group: ipaserver + os: fedora-31 + provider: openstack + network: dual +- name: client.testdomain.test + role: client + group: ipaclient + os: fedora-30 + provider: beaker +``` + +The output is then Ansible inventory with correct group mapping and information +which allows to SSH to the machines. + +```yaml +all: + children: + ipaserver: + hosts: + f30-1.mrack.test: {} + f33-2.mrack.test: {} + hosts: + f30-1.mrack.test: + ansible_host: 10.0.154.21 + ansible_python_interpreter: /usr/bin/python3 + ansible_ssh_private_key_file: config/id_rsa + ansible_user: fedora + meta_dc_record: DC=mrack,DC=test + meta_domain: mrack.test + meta_fqdn: f30-1.mrack.test + meta_ip: 10.0.154.21 + meta_os: fedora-30 + meta_provider_id: 7c3c28f9-4674-4f7f-b413-00bc0b00d711 + meta_restraint_id: 9 + meta_role: master + f33-2.mrack.test: + ansible_host: ec2-13-15-16-1.eu-central-1.compute.amazonaws.com + ansible_python_interpreter: /usr/bin/python3 + ansible_ssh_private_key_file: config/id_rsa + ansible_user: fedora + meta_dc_record: DC=mrack,DC=test + meta_domain: mrack.test + meta_fqdn: f33-2.mrack.test + meta_ip: 13.15.16.1 + meta_os: fedora-33 + meta_provider_id: i-08c0d4a86c4b7f7ef + meta_restraint_id: 1 + meta_role: master +``` + +## Installation + +mrack can be installed via pip, from [PyPI](https://pypi.org/project/mrack/): + +``` +pip install mrack +``` + +It is also available for Fedora 32+ via [COPR](https://copr.fedorainfracloud.org/coprs/g/freeipa/neoave/package/mrack/): + +``` +# enable the copr at your system +sudo dnf copr enable @freeipa/neoave + +# install mrack package with all supported providers and cli +sudo dnf install mrack + +# install mrack command and e.g. AWS provider +sudo dnf install mrack-cli python3-mrack-aws + +# install mrack library to be later used as an import with support of OpenStack provider: +sudo dnf install python3-mrack-openstack + +``` +--- +**NOTE** + +Above command will install `mrack` package which depends on (contains) following packages: +- mrack-cli +- python3-mracklib +- python3-mrack-aws +- python3-mrack-beaker +- python3-mrack-openstack +- python3-mrack-podman +- python3-mrack-virt + +The `python3-mracklib` is mandatory as it contains core mrack library. +To install only some of `mrack` providers you should install `python3-mrack-{provider_name}`. +To install mrack command a package `mrack-cli` is required. + +--- + +## Run mrack + +In order to use the mrack utility a mrack.conf (e.g. [mrack.conf] from the repository(repo/blob/main/src/mrack/data/mrack.conf)) is needed. + +mrack looks for the config file in following order: +- `./` actual directory +- `~/.mrack/` home directory +- `/etc/mrack/` system directory + +Values from the configuration file could be overriden using mrack utility +options `--mrack-config` `--provisioning-config` `--db` (for more see `mrack --help`). +``` +Usage: mrack [OPTIONS] COMMAND [ARGS]... + + Multihost human friendly provisioner. + +Options: + -c, --mrack-config PATH + -p, --provisioning-config PATH + -d, --db PATH + --debug + --help Show this message and exit. + +Commands: + destroy Destroy provisioned hosts. + list List host tracked by. + output Create outputs - such as Ansible inventory. + ssh SSH to host. + up Provision hosts. +``` + +### Provisioning with mrack + +To provision system from the metadata.yaml either run: +``` +mrack up +``` +or use `up` command's option `--metadata`/`-m` to override path to the metadata file. +``` +mrack up --metadata other-metadata.yaml +``` + +To return resources using mrack run: +``` +mrack destroy +``` +or use `destroy` command's option `--metadata`/`-m` to override path to the metadata file. +``` +mrack destroy --metadata other-metadata.yaml +``` + +### mrack as python library + +```python +# first set up authentication for each provider +# $ export AWS_CONFIG_FILE=`readlink -f ./aws.key` +from mrack.providers import providers +# import all supported providers: +from mrack.providers.aws import PROVISIONER_KEY as AWS +from mrack.providers.aws import AWSProvider +from mrack.providers.beaker import PROVISIONER_KEY as BEAKER +from mrack.providers.beaker import BeakerProvider +from mrack.providers.openstack import PROVISIONER_KEY as OPENSTACK +from mrack.providers.openstack import OpenStackProvider +from mrack.providers.podman import PROVISIONER_KEY as PODMAN +from mrack.providers.podman import PodmanProvider +from mrack.providers.static import PROVISIONER_KEY as STATIC +from mrack.providers.static import StaticProvider +from mrack.providers.virt import PROVISIONER_KEY as VIRT +from mrack.providers.virt import VirtProvider + +# register all supported providers: +providers.register(AWS, AWSProvider) +providers.register(OPENSTACK, OpenStackProvider) +providers.register(BEAKER, BeakerProvider) +providers.register(PODMAN, PodmanProvider) +providers.register(STATIC, StaticProvider) +providers.register(VIRT, VirtProvider) + + +# use global context class +import mrack +global_context = mrack.context.global_context + +# init global context with paths to files +mrack_config = "mrack.conf" +provisioning_config = "provisioning-config.yaml" +db_file = "mrackdb.json" +global_context.init(mrack_config, provisioning_config, db_file) + +# load the metadata to global_context +metadata = "./metadata-f34.yaml" +global_context.init_metadata(metadata) + +# pick default provider: +provider = "aws" + +# create Up action + +from mrack.actions.up import Up + +up_action = Up() +await up_action.init(provider) + +# provision machines: +await up_action.provision() + +# store the output to db or just use the db later on +from mrack.actions.output import Output +output_action = Output() +await output_action.generate_outputs() + +# work with machines... + +# cleanup the machines: +from mrack.actions.destroy import Destroy +destroy_action = Destroy() +await destroy_action.destroy() +``` + +## Contribute + +Projects is using [black](https://github.com/psf/black) formater and [isort](https://github.com/PyCQA/isort) to keep consistent +formatting, [flake8](https://flake8.pycqa.org/en/latest/) and +[pydocstyle](http://pycodestyle.pycqa.org/en/latest/intro.html) to ensure following +Python good practices. + +Contributions (Pull Requests) are welcome. It is expected that they will pass tox tests and code checkers. +Inclusion of the unit tests for the new code is recommended. +Because of that we have configured [pre-commit](https://pre-commit.com/) hook. +Please enable the feature on your local system and use it before sending a patch. +It could save us lot of re-pushing to the PR. + +### Black formatting and isort +Expected formatting can be achieved by running: +``` +$ make format +``` + +Look into [black](https://github.com/psf/black) documentation for possible integration +in editors/IDEs. + +### Testing +Just run tox to execute all tests and linters + +``` +$ tox +# or use make +$ make test +``` From 3f32674aec8488692fda1842e692dec66fc86cec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Mon, 31 Oct 2022 12:37:02 +0100 Subject: [PATCH 03/66] fix: remove the %python_provide macro from main package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- mrack.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/mrack.spec b/mrack.spec index a935455..6cc7f9c 100644 --- a/mrack.spec +++ b/mrack.spec @@ -35,8 +35,6 @@ testing supporting multiple provisioning providers (e.g. AWS, Beaker, Openstack). But in comparison to other multi-cloud libraries, the aim is to be able to describe host from application perspective. -%{?python_provide:%python_provide %{name}} - %package cli Summary: Command line interface for mrack Requires: python3-%{name}lib = %{version}-%{release} From d43253a3bb0855fee29eb73ac25535d205f0e0d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Mon, 31 Oct 2022 13:12:12 +0100 Subject: [PATCH 04/66] Revert "fix: remove the %python_provide macro from main package" This reverts commit 3f32674aec8488692fda1842e692dec66fc86cec. --- mrack.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mrack.spec b/mrack.spec index 6cc7f9c..a935455 100644 --- a/mrack.spec +++ b/mrack.spec @@ -35,6 +35,8 @@ testing supporting multiple provisioning providers (e.g. AWS, Beaker, Openstack). But in comparison to other multi-cloud libraries, the aim is to be able to describe host from application perspective. +%{?python_provide:%python_provide %{name}} + %package cli Summary: Command line interface for mrack Requires: python3-%{name}lib = %{version}-%{release} From d83a756866aa5c8318fc8733b75a1eebd2eb2bf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Mon, 31 Oct 2022 13:12:47 +0100 Subject: [PATCH 05/66] Add source tarball with 1.10.0 mrack version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- .gitignore | 1 + sources | 1 + 2 files changed, 2 insertions(+) create mode 100644 .gitignore create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8776eac --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/mrack-1.10.0.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..9cfff2d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (mrack-1.10.0.tar.gz) = b543606c726d4bdc41ad91c64e8667ca0043901e93bcbf0970d26fa8d2628ddd4c99ad4c99510098d9a05df8cb3b14225565f0ec20ce74d707f5d6660ba4804e From 56af2ddbe76fbdf2730abf9a7ad1bc6c43ec6363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Tue, 1 Nov 2022 08:59:32 +0100 Subject: [PATCH 06/66] Add initial spec from upstream MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- mrack.spec | 254 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 254 insertions(+) create mode 100644 mrack.spec diff --git a/mrack.spec b/mrack.spec new file mode 100644 index 0000000..a935455 --- /dev/null +++ b/mrack.spec @@ -0,0 +1,254 @@ +Name: mrack +Version: 1.10.0 +Release: 1%{?dist} +Summary: Multicloud use-case based multihost async provisioner + +License: Apache-2.0 +URL: https://github.com/neoave/mrack +Source0: %{URL}/releases/download/v%{version}/%{name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-click +BuildRequires: python3-pyyaml +BuildRequires: python3-setuptools + +# coma separated list of provider plugins +%global provider_plugins aws,beaker,openstack,podman,virt + +Requires: %{name}-cli = %{version}-%{release} +Requires: python3-%{name}lib = %{version}-%{release} +Requires: python3-%{name}-aws = %{version}-%{release} +Requires: python3-%{name}-beaker = %{version}-%{release} +Requires: python3-%{name}-openstack = %{version}-%{release} +Requires: python3-%{name}-podman = %{version}-%{release} +Requires: python3-%{name}-virt = %{version}-%{release} + +# We filter out the asyncopenstackclient dependency of this package +# so it is not forcing installation of missing dependencies in Fedora +# Once python3-AsyncOpenStackClient is in fedora we can drop this line +%global __requires_exclude asyncopenstackclient + +%description +mrack is a provisioning tool and a library for CI and local multi-host +testing supporting multiple provisioning providers (e.g. AWS, Beaker, +Openstack). But in comparison to other multi-cloud libraries, +the aim is to be able to describe host from application perspective. + +%{?python_provide:%python_provide %{name}} + +%package cli +Summary: Command line interface for mrack +Requires: python3-%{name}lib = %{version}-%{release} + +%package -n python3-%{name}lib +Summary: Core mrack libraries +Requires: python3-click +Requires: python3-pyyaml +Requires: sshpass + +%{?python_provide:%python_provide python3-%{name}lib} + +%package -n python3-%{name}-aws +Summary: AWS provider plugin for mrack +Requires: python3-%{name}lib = %{version}-%{release} +Requires: python3-boto3 +Requires: python3-botocore + +%{?python_provide:%python_provide python3-%{name}-aws} + + +%package -n python3-%{name}-beaker +Summary: Beaker provider plugin for mrack +Requires: python3-%{name}lib = %{version}-%{release} +Requires: beaker-client + +%{?python_provide:%python_provide python3-%{name}-beaker} + + +%package -n python3-%{name}-openstack +Summary: Openstack provider plugin for mrack +Requires: python3-%{name}lib = %{version}-%{release} +Recommends: python3-AsyncOpenStackClient + +%{?python_provide:%python_provide python3-%{name}-openstack} + + +%package -n python3-%{name}-podman +Summary: Podman provider plugin for mrack +Requires: python3-%{name}lib = %{version}-%{release} +Requires: podman + +%{?python_provide:%python_provide python3-%{name}-podman} + +%package -n python3-%{name}-virt +Summary: Virtualization provider plugin for mrack using testcloud +Requires: python3-%{name}lib = %{version}-%{release} +Requires: testcloud + +%{?python_provide:%python_provide python3-%{name}-virt} + +%description cli +%{name}-cli contains mrack command which functionality +can be extended by installing mrack plugins + +%description -n python3-%{name}lib +python3-%{name}lib contains core mrack functionalities +and static provider which can be used as a library + +%description -n python3-%{name}-aws +%{name}-aws is an additional plugin with AWS provisioning +library extending mrack package + +%description -n python3-%{name}-beaker +%{name}-beaker is an additional plugin with Beaker provisioning +library extending mrack package + +%description -n python3-%{name}-openstack +%{name}-openstack is an additional plugin with OpenStack provisioning +library extending mrack package + +%description -n python3-%{name}-podman +%{name}-podman is an additional plugin with Podman provisioning +library extending mrack package + +%description -n python3-%{name}-virt +%{name}-virt is an additional plugin with Virualization provisioning +library extending mrack package using testcloud + +%prep +%autosetup -p1 -n %{name}-%{version} +# Remove bundled egg-info +rm -rf %{name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files +%license LICENSE +%doc README.md +%doc CHANGELOG.md + +%files cli +# the mrack man page RFE: https://github.com/neoave/mrack/issues/197 +%license LICENSE +%doc README.md +%doc CHANGELOG.md +%{_bindir}/%{name} + +%files -n python3-%{name}lib +%license LICENSE +%doc README.md +%doc CHANGELOG.md +%{python3_sitelib}/%{name} +%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info +%exclude %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}osapi.* +%exclude %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* +%exclude %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}podman.* +%exclude %{python3_sitelib}/%{name}/providers/{,__pycache__/}{%{provider_plugins}}.* +%exclude %{python3_sitelib}/%{name}/transformers/{,__pycache__/}{%{provider_plugins}}.* + +%files -n python3-%{name}-aws +%{python3_sitelib}/%{name}/transformers/{,__pycache__/}aws.* +%{python3_sitelib}/%{name}/providers/{,__pycache__/}aws.* + +%files -n python3-%{name}-beaker +%{python3_sitelib}/%{name}/transformers/{,__pycache__/}beaker.* +%{python3_sitelib}/%{name}/providers/{,__pycache__/}beaker.* + +%files -n python3-%{name}-openstack +%{python3_sitelib}/%{name}/transformers/{,__pycache__/}openstack.* +%{python3_sitelib}/%{name}/providers/{,__pycache__/}openstack.* +%{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}osapi.* + +%files -n python3-%{name}-podman +%{python3_sitelib}/%{name}/transformers/{,__pycache__/}podman.* +%{python3_sitelib}/%{name}/providers/{,__pycache__/}podman.* +%{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}podman.* + +%files -n python3-%{name}-virt +%{python3_sitelib}/%{name}/transformers/{,__pycache__/}virt.* +%{python3_sitelib}/%{name}/providers/{,__pycache__/}virt.* +%{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* + +%changelog +* Wed Oct 26 2022 Tibor Dudlák - 1.10.0-1 +- Released upstream version 1.10.0 + +* Thu Oct 20 2022 Tibor Dudlák - 1.9.1-1 +- Released upstream version 1.9.1 + +* Wed Oct 12 2022 Tibor Dudlák - 1.9.0-1 +- Released upstream version 1.9.0 + +* Mon Oct 10 2022 Tibor Dudlák - 1.8.1-1 +- Released upstream version 1.8.1 + +* Mon Oct 10 2022 Tibor Dudlák - 1.8.0-1 +- Released upstream version 1.8.0 + +* Tue Sep 20 2022 Tibor Dudlák - 1.7.0-1 +- Released upstream version 1.7.0 + +* Wed Jul 27 2022 Tibor Dudlák - 1.6.0-1 +- Released upstream version 1.6.0 + +* Fri Jul 08 2022 Tibor Dudlák - 1.5.0-1 +- Released upstream version 1.5.0 + +* Fri Jun 17 2022 David Pascual Hernandez - 1.4.1-1 +- Released upstream version 1.4.1 + +* Thu May 05 2022 Tibor Dudlák - 1.4.0-1 +- Released upstream version 1.4.0 + +* Tue Apr 05 2022 Tibor Dudlák - 1.3.1-1 +- Released upstream version 1.3.1 + +* Fri Apr 01 2022 David Pascual Hernandez - 1.3.0-1 +- Released upstream version 1.3.0 + +* Wed Dec 15 2021 Tibor Dudlák - 1.2.0-1 +- Released upstream version 1.2.0 + +* Thu Nov 25 2021 Tibor Dudlák - 1.1.1-1 +- Released upstream version 1.1.1 + +* Tue Nov 23 2021 Tibor Dudlák - 1.1.0-1 +- Released upstream version 1.1.0 + +* Fri Sep 03 2021 Tibor Dudlák - 1.0.0-1 +- Released upstream version 1.0.0 + +* Thu Jul 01 2021 Tibor Dudlák - 0.14.0-1 +- Released upstream version 0.14.0 + +* Tue Jun 08 2021 Francisco Triviño - 0.13.0-1 +- Released upstream version 0.13.0 + +* Thu May 13 2021 Tibor Dudlák - 0.12.0-1 +- Released upstream version 0.12.0 + +* Fri May 07 2021 Tibor Dudlák - 0.11.0-1 +- Released upstream version 0.11.0 + +* Fri Apr 30 2021 Bhavik Bhavsar - 0.10.0-1 +- Released upstream version 0.10.0 + +* Mon Apr 19 2021 Armando Neto - 0.9.0-1 +- Released upstream version 0.9.0 + +* Thu Apr 15 2021 Armando Neto - 0.8.0-1 +- Released upstream version 0.8.0 + +* Tue Mar 23 2021 Armando Neto - 0.7.1-1 +- Released upstream version 0.7.1 + +* Mon Mar 22 2021 Tibor Dudlák - 0.7.0-1 +- Released upstream version 0.7.0 + +* Thu Feb 04 2021 Armando Neto - 0.6.0-1 +- Initial package. From 5f2a02c5b018f91b1d4a6d9e1bd58e38f73db0f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Tue, 1 Nov 2022 08:59:48 +0100 Subject: [PATCH 07/66] Update README.md to upstream version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- README.md | 303 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 302 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b5b028..2895974 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,304 @@ # mrack -The mrack package +![pypi_badge](https://img.shields.io/pypi/v/mrack?label=PyPI&logo=pypi) ![readthedocs_badge](https://img.shields.io/readthedocs/mrack?label=Read%20the%20Docs&logo=read-the-docs) ![badge](https://copr.fedorainfracloud.org/coprs/g/freeipa/neoave/package/mrack/status_image/last_build.png) + +Provisioning library for CI and local multi-host testing supporting multiple +provisioning providers e.g. OpenStack, libvirt, containers, Beaker). + +But in comparison to multi-cloud libraries, the aim is to be able to describe +host from application perspective. E.g.: + +```yaml +network: IPv4 +hosts: +- name: master.testdomain.test + role: master + group: ipaserver + os: fedora-31 +- name: client.testdomain.test + role: client + group: ipaclient + os: fedora-30 +``` + +This is then combined with provisioning configuration where each provider has +defined meaning for `role`, `group`, `os` params which e.g. translates to +flavors, images, ... + +```yaml +provider: openstack # default provider +openstack: + images: + fedora-30: Fedora-Cloud-Base-30-compose-latest + fedora-31: Fedora-Cloud-Base-31 + flavors: + ipaserver: ci.m1.medium + ipaclient: ci.m1.micro + networks: + IPv4: net_ci_4 + IPv6: net_ipv6_only + dual: net_cci_4_6 + keypair: ipa_key +beaker: + distros: + fedora-30: FEDORA-30% + fodora-31: FEDORA-31% +``` + +So then user can quickly change provisioning location just by changing provider +name without needing to redefine the provider/cloud specifics. This is +especially useful for a lot of jobs sharing the same app specific provisioner +configuration. + +```yaml +provider: beaker +``` + +Or each host can use a different provider: + +```yaml +hosts: +- name: master.testdomain.test + role: master + group: ipaserver + os: fedora-31 + provider: openstack + network: dual +- name: client.testdomain.test + role: client + group: ipaclient + os: fedora-30 + provider: beaker +``` + +The output is then Ansible inventory with correct group mapping and information +which allows to SSH to the machines. + +```yaml +all: + children: + ipaserver: + hosts: + f30-1.mrack.test: {} + f33-2.mrack.test: {} + hosts: + f30-1.mrack.test: + ansible_host: 10.0.154.21 + ansible_python_interpreter: /usr/bin/python3 + ansible_ssh_private_key_file: config/id_rsa + ansible_user: fedora + meta_dc_record: DC=mrack,DC=test + meta_domain: mrack.test + meta_fqdn: f30-1.mrack.test + meta_ip: 10.0.154.21 + meta_os: fedora-30 + meta_provider_id: 7c3c28f9-4674-4f7f-b413-00bc0b00d711 + meta_restraint_id: 9 + meta_role: master + f33-2.mrack.test: + ansible_host: ec2-13-15-16-1.eu-central-1.compute.amazonaws.com + ansible_python_interpreter: /usr/bin/python3 + ansible_ssh_private_key_file: config/id_rsa + ansible_user: fedora + meta_dc_record: DC=mrack,DC=test + meta_domain: mrack.test + meta_fqdn: f33-2.mrack.test + meta_ip: 13.15.16.1 + meta_os: fedora-33 + meta_provider_id: i-08c0d4a86c4b7f7ef + meta_restraint_id: 1 + meta_role: master +``` + +## Installation + +mrack can be installed via pip, from [PyPI](https://pypi.org/project/mrack/): + +``` +pip install mrack +``` + +It is also available for Fedora 32+ via [COPR](https://copr.fedorainfracloud.org/coprs/g/freeipa/neoave/package/mrack/): + +``` +# enable the copr at your system +sudo dnf copr enable @freeipa/neoave + +# install mrack package with all supported providers and cli +sudo dnf install mrack + +# install mrack command and e.g. AWS provider +sudo dnf install mrack-cli python3-mrack-aws + +# install mrack library to be later used as an import with support of OpenStack provider: +sudo dnf install python3-mrack-openstack + +``` +--- +**NOTE** + +Above command will install `mrack` package which depends on (contains) following packages: +- mrack-cli +- python3-mracklib +- python3-mrack-aws +- python3-mrack-beaker +- python3-mrack-openstack +- python3-mrack-podman +- python3-mrack-virt + +The `python3-mracklib` is mandatory as it contains core mrack library. +To install only some of `mrack` providers you should install `python3-mrack-{provider_name}`. +To install mrack command a package `mrack-cli` is required. + +--- + +## Run mrack + +In order to use the mrack utility a mrack.conf (e.g. [mrack.conf] from the repository(repo/blob/main/src/mrack/data/mrack.conf)) is needed. + +mrack looks for the config file in following order: +- `./` actual directory +- `~/.mrack/` home directory +- `/etc/mrack/` system directory + +Values from the configuration file could be overriden using mrack utility +options `--mrack-config` `--provisioning-config` `--db` (for more see `mrack --help`). +``` +Usage: mrack [OPTIONS] COMMAND [ARGS]... + + Multihost human friendly provisioner. + +Options: + -c, --mrack-config PATH + -p, --provisioning-config PATH + -d, --db PATH + --debug + --help Show this message and exit. + +Commands: + destroy Destroy provisioned hosts. + list List host tracked by. + output Create outputs - such as Ansible inventory. + ssh SSH to host. + up Provision hosts. +``` + +### Provisioning with mrack + +To provision system from the metadata.yaml either run: +``` +mrack up +``` +or use `up` command's option `--metadata`/`-m` to override path to the metadata file. +``` +mrack up --metadata other-metadata.yaml +``` + +To return resources using mrack run: +``` +mrack destroy +``` +or use `destroy` command's option `--metadata`/`-m` to override path to the metadata file. +``` +mrack destroy --metadata other-metadata.yaml +``` + +### mrack as python library + +```python +# first set up authentication for each provider +# $ export AWS_CONFIG_FILE=`readlink -f ./aws.key` +from mrack.providers import providers +# import all supported providers: +from mrack.providers.aws import PROVISIONER_KEY as AWS +from mrack.providers.aws import AWSProvider +from mrack.providers.beaker import PROVISIONER_KEY as BEAKER +from mrack.providers.beaker import BeakerProvider +from mrack.providers.openstack import PROVISIONER_KEY as OPENSTACK +from mrack.providers.openstack import OpenStackProvider +from mrack.providers.podman import PROVISIONER_KEY as PODMAN +from mrack.providers.podman import PodmanProvider +from mrack.providers.static import PROVISIONER_KEY as STATIC +from mrack.providers.static import StaticProvider +from mrack.providers.virt import PROVISIONER_KEY as VIRT +from mrack.providers.virt import VirtProvider + +# register all supported providers: +providers.register(AWS, AWSProvider) +providers.register(OPENSTACK, OpenStackProvider) +providers.register(BEAKER, BeakerProvider) +providers.register(PODMAN, PodmanProvider) +providers.register(STATIC, StaticProvider) +providers.register(VIRT, VirtProvider) + + +# use global context class +import mrack +global_context = mrack.context.global_context + +# init global context with paths to files +mrack_config = "mrack.conf" +provisioning_config = "provisioning-config.yaml" +db_file = "mrackdb.json" +global_context.init(mrack_config, provisioning_config, db_file) + +# load the metadata to global_context +metadata = "./metadata-f34.yaml" +global_context.init_metadata(metadata) + +# pick default provider: +provider = "aws" + +# create Up action + +from mrack.actions.up import Up + +up_action = Up() +await up_action.init(provider) + +# provision machines: +await up_action.provision() + +# store the output to db or just use the db later on +from mrack.actions.output import Output +output_action = Output() +await output_action.generate_outputs() + +# work with machines... + +# cleanup the machines: +from mrack.actions.destroy import Destroy +destroy_action = Destroy() +await destroy_action.destroy() +``` + +## Contribute + +Projects is using [black](https://github.com/psf/black) formater and [isort](https://github.com/PyCQA/isort) to keep consistent +formatting, [flake8](https://flake8.pycqa.org/en/latest/) and +[pydocstyle](http://pycodestyle.pycqa.org/en/latest/intro.html) to ensure following +Python good practices. + +Contributions (Pull Requests) are welcome. It is expected that they will pass tox tests and code checkers. +Inclusion of the unit tests for the new code is recommended. +Because of that we have configured [pre-commit](https://pre-commit.com/) hook. +Please enable the feature on your local system and use it before sending a patch. +It could save us lot of re-pushing to the PR. + +### Black formatting and isort +Expected formatting can be achieved by running: +``` +$ make format +``` + +Look into [black](https://github.com/psf/black) documentation for possible integration +in editors/IDEs. + +### Testing +Just run tox to execute all tests and linters + +``` +$ tox +# or use make +$ make test +``` From b7e4f7a71101056d2854523917a48b933cebc5d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Tue, 1 Nov 2022 09:00:02 +0100 Subject: [PATCH 08/66] Add source tarball with 1.10.0 mrack version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- .gitignore | 1 + sources | 1 + 2 files changed, 2 insertions(+) create mode 100644 .gitignore create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8776eac --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/mrack-1.10.0.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..9cfff2d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (mrack-1.10.0.tar.gz) = b543606c726d4bdc41ad91c64e8667ca0043901e93bcbf0970d26fa8d2628ddd4c99ad4c99510098d9a05df8cb3b14225565f0ec20ce74d707f5d6660ba4804e From 8a41d731601035d7db2805ec83eb954f85d8ff9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Fri, 4 Nov 2022 12:53:06 +0100 Subject: [PATCH 09/66] Bump to upstream version 1.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- .gitignore | 1 + mrack.spec | 13 ++++++++----- sources | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 8776eac..bbdb4d4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /mrack-1.10.0.tar.gz +/mrack-1.11.0.tar.gz diff --git a/mrack.spec b/mrack.spec index a935455..e982445 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.10.0 +Version: 1.11.0 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -35,15 +35,13 @@ testing supporting multiple provisioning providers (e.g. AWS, Beaker, Openstack). But in comparison to other multi-cloud libraries, the aim is to be able to describe host from application perspective. -%{?python_provide:%python_provide %{name}} - %package cli Summary: Command line interface for mrack Requires: python3-%{name}lib = %{version}-%{release} +Requires: python3-click %package -n python3-%{name}lib Summary: Core mrack libraries -Requires: python3-click Requires: python3-pyyaml Requires: sshpass @@ -119,7 +117,7 @@ library extending mrack package using testcloud %prep %autosetup -p1 -n %{name}-%{version} # Remove bundled egg-info -rm -rf %{name}.egg-info +rm -r src/%{name}.egg-info %build %py3_build @@ -138,6 +136,7 @@ rm -rf %{name}.egg-info %doc README.md %doc CHANGELOG.md %{_bindir}/%{name} +%{python3_sitelib}/%{name}/{,__pycache__/}run.* %files -n python3-%{name}lib %license LICENSE @@ -145,6 +144,7 @@ rm -rf %{name}.egg-info %doc CHANGELOG.md %{python3_sitelib}/%{name} %{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info +%exclude %{python3_sitelib}/%{name}/{,__pycache__/}run.* %exclude %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}osapi.* %exclude %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %exclude %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}podman.* @@ -175,6 +175,9 @@ rm -rf %{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Thu Nov 03 2022 Tibor Dudlák - 1.11.0-1 +- Released upstream version 1.11.0 + * Wed Oct 26 2022 Tibor Dudlák - 1.10.0-1 - Released upstream version 1.10.0 diff --git a/sources b/sources index 9cfff2d..2506309 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.10.0.tar.gz) = b543606c726d4bdc41ad91c64e8667ca0043901e93bcbf0970d26fa8d2628ddd4c99ad4c99510098d9a05df8cb3b14225565f0ec20ce74d707f5d6660ba4804e +SHA512 (mrack-1.11.0.tar.gz) = b170842d34df43798f76280e588ad9c03f346a7da2a911be3cb141ec6d6e2f6bad73fc724fe6247be4c0178be9cdddfb6c765433d995aa4f2dd7e8e565aa50ac From ffa679b72473d77ef1e12c1f82a541373ada1d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Fri, 4 Nov 2022 12:57:55 +0100 Subject: [PATCH 10/66] Add spec and sources upstream version 1.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- .gitignore | 1 + mrack.spec | 13 ++++++++----- sources | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 8776eac..bbdb4d4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /mrack-1.10.0.tar.gz +/mrack-1.11.0.tar.gz diff --git a/mrack.spec b/mrack.spec index a935455..e982445 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.10.0 +Version: 1.11.0 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -35,15 +35,13 @@ testing supporting multiple provisioning providers (e.g. AWS, Beaker, Openstack). But in comparison to other multi-cloud libraries, the aim is to be able to describe host from application perspective. -%{?python_provide:%python_provide %{name}} - %package cli Summary: Command line interface for mrack Requires: python3-%{name}lib = %{version}-%{release} +Requires: python3-click %package -n python3-%{name}lib Summary: Core mrack libraries -Requires: python3-click Requires: python3-pyyaml Requires: sshpass @@ -119,7 +117,7 @@ library extending mrack package using testcloud %prep %autosetup -p1 -n %{name}-%{version} # Remove bundled egg-info -rm -rf %{name}.egg-info +rm -r src/%{name}.egg-info %build %py3_build @@ -138,6 +136,7 @@ rm -rf %{name}.egg-info %doc README.md %doc CHANGELOG.md %{_bindir}/%{name} +%{python3_sitelib}/%{name}/{,__pycache__/}run.* %files -n python3-%{name}lib %license LICENSE @@ -145,6 +144,7 @@ rm -rf %{name}.egg-info %doc CHANGELOG.md %{python3_sitelib}/%{name} %{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info +%exclude %{python3_sitelib}/%{name}/{,__pycache__/}run.* %exclude %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}osapi.* %exclude %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %exclude %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}podman.* @@ -175,6 +175,9 @@ rm -rf %{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Thu Nov 03 2022 Tibor Dudlák - 1.11.0-1 +- Released upstream version 1.11.0 + * Wed Oct 26 2022 Tibor Dudlák - 1.10.0-1 - Released upstream version 1.10.0 diff --git a/sources b/sources index 9cfff2d..2506309 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.10.0.tar.gz) = b543606c726d4bdc41ad91c64e8667ca0043901e93bcbf0970d26fa8d2628ddd4c99ad4c99510098d9a05df8cb3b14225565f0ec20ce74d707f5d6660ba4804e +SHA512 (mrack-1.11.0.tar.gz) = b170842d34df43798f76280e588ad9c03f346a7da2a911be3cb141ec6d6e2f6bad73fc724fe6247be4c0178be9cdddfb6c765433d995aa4f2dd7e8e565aa50ac From 82c07aad4602bed3f61a00b5c3128f20bbf42e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Mon, 21 Nov 2022 09:42:17 +0100 Subject: [PATCH 11/66] Add spec readme and sources upstream version 1.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- .gitignore | 1 + mrack.spec | 7 ++++++- sources | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index bbdb4d4..0b00642 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /mrack-1.10.0.tar.gz /mrack-1.11.0.tar.gz +/mrack-1.12.0.tar.gz diff --git a/mrack.spec b/mrack.spec index e982445..5799b49 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.11.0 +Version: 1.12.0 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -28,6 +28,7 @@ Requires: python3-%{name}-virt = %{version}-%{release} # so it is not forcing installation of missing dependencies in Fedora # Once python3-AsyncOpenStackClient is in fedora we can drop this line %global __requires_exclude asyncopenstackclient +%{?python_disable_dependency_generator} %description mrack is a provisioning tool and a library for CI and local multi-host @@ -43,6 +44,7 @@ Requires: python3-click %package -n python3-%{name}lib Summary: Core mrack libraries Requires: python3-pyyaml +Recommends: python3-gssapi Requires: sshpass %{?python_provide:%python_provide python3-%{name}lib} @@ -175,6 +177,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Mon Nov 14 2022 Tibor Dudlák - 1.12.0-1 +- Released upstream version 1.12.0 + * Thu Nov 03 2022 Tibor Dudlák - 1.11.0-1 - Released upstream version 1.11.0 diff --git a/sources b/sources index 2506309..c37ecc9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.11.0.tar.gz) = b170842d34df43798f76280e588ad9c03f346a7da2a911be3cb141ec6d6e2f6bad73fc724fe6247be4c0178be9cdddfb6c765433d995aa4f2dd7e8e565aa50ac +SHA512 (mrack-1.12.0.tar.gz) = 0a96efd09d8735b62764b171c299cea73347afc749080b15f0dd8360eec072d444656a6ceafa4f9a0a4127e5cfd8c29b690014e5db187d96992047d1dbcf514a From 93e972c59d56aaf82fc08415047f4e8bd801ce6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Mon, 21 Nov 2022 09:45:34 +0100 Subject: [PATCH 12/66] Add spec readme and sources upstream version 1.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- .gitignore | 1 + mrack.spec | 7 ++++++- sources | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index bbdb4d4..0b00642 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /mrack-1.10.0.tar.gz /mrack-1.11.0.tar.gz +/mrack-1.12.0.tar.gz diff --git a/mrack.spec b/mrack.spec index e982445..5799b49 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.11.0 +Version: 1.12.0 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -28,6 +28,7 @@ Requires: python3-%{name}-virt = %{version}-%{release} # so it is not forcing installation of missing dependencies in Fedora # Once python3-AsyncOpenStackClient is in fedora we can drop this line %global __requires_exclude asyncopenstackclient +%{?python_disable_dependency_generator} %description mrack is a provisioning tool and a library for CI and local multi-host @@ -43,6 +44,7 @@ Requires: python3-click %package -n python3-%{name}lib Summary: Core mrack libraries Requires: python3-pyyaml +Recommends: python3-gssapi Requires: sshpass %{?python_provide:%python_provide python3-%{name}lib} @@ -175,6 +177,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Mon Nov 14 2022 Tibor Dudlák - 1.12.0-1 +- Released upstream version 1.12.0 + * Thu Nov 03 2022 Tibor Dudlák - 1.11.0-1 - Released upstream version 1.11.0 diff --git a/sources b/sources index 2506309..c37ecc9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.11.0.tar.gz) = b170842d34df43798f76280e588ad9c03f346a7da2a911be3cb141ec6d6e2f6bad73fc724fe6247be4c0178be9cdddfb6c765433d995aa4f2dd7e8e565aa50ac +SHA512 (mrack-1.12.0.tar.gz) = 0a96efd09d8735b62764b171c299cea73347afc749080b15f0dd8360eec072d444656a6ceafa4f9a0a4127e5cfd8c29b690014e5db187d96992047d1dbcf514a From c95e8e0dd67544d47e498ff1849128f260efb2d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Tue, 29 Nov 2022 14:58:46 +0100 Subject: [PATCH 13/66] Add spec readme and sources upstream version 1.12.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- .gitignore | 1 + mrack.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0b00642..cc1d8d6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /mrack-1.10.0.tar.gz /mrack-1.11.0.tar.gz /mrack-1.12.0.tar.gz +/mrack-1.12.1.tar.gz diff --git a/mrack.spec b/mrack.spec index 5799b49..d21a270 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.12.0 +Version: 1.12.1 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -177,6 +177,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Thu Nov 24 2022 Tibor Dudlák - 1.12.1-1 +- Released upstream version 1.12.1 + * Mon Nov 14 2022 Tibor Dudlák - 1.12.0-1 - Released upstream version 1.12.0 diff --git a/sources b/sources index c37ecc9..dd59d66 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.12.0.tar.gz) = 0a96efd09d8735b62764b171c299cea73347afc749080b15f0dd8360eec072d444656a6ceafa4f9a0a4127e5cfd8c29b690014e5db187d96992047d1dbcf514a +SHA512 (mrack-1.12.1.tar.gz) = bfcbc6882f4b3639fb29a941fdc2e102b37b28088ac698568c2c0a3e4ba4509f19ad6d2f1c3ffeefada81b97e9be49ff9fb06631a96925bd81ade653b8f80f73 From 5024c24312b9cf1926f3e31a4a97091ad22fe91c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Tue, 29 Nov 2022 15:00:07 +0100 Subject: [PATCH 14/66] Add spec readme and sources upstream version 1.12.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- .gitignore | 1 + mrack.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0b00642..cc1d8d6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /mrack-1.10.0.tar.gz /mrack-1.11.0.tar.gz /mrack-1.12.0.tar.gz +/mrack-1.12.1.tar.gz diff --git a/mrack.spec b/mrack.spec index 5799b49..d21a270 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.12.0 +Version: 1.12.1 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -177,6 +177,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Thu Nov 24 2022 Tibor Dudlák - 1.12.1-1 +- Released upstream version 1.12.1 + * Mon Nov 14 2022 Tibor Dudlák - 1.12.0-1 - Released upstream version 1.12.0 diff --git a/sources b/sources index c37ecc9..e8f80e7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.12.0.tar.gz) = 0a96efd09d8735b62764b171c299cea73347afc749080b15f0dd8360eec072d444656a6ceafa4f9a0a4127e5cfd8c29b690014e5db187d96992047d1dbcf514a +SHA512 (mrack-1.12.1.tar.gz) = 49964fe5c2c85b14a784972fed8d6f43047c4974ab0825a2a6d2e6608fdbb798c77ed2816d423460ff29ec64a007f8af6a4bca51b03c40ac73391fe4769eed91 From e042b8d496b823b0f7df3387ebb355801dd49334 Mon Sep 17 00:00:00 2001 From: Packit Date: Fri, 2 Dec 2022 10:21:42 +0000 Subject: [PATCH 15/66] [packit] 1.12.2 upstream release Upstream tag: v1.12.2 Upstream commit: 497e95b3 Signed-off-by: Packit --- .gitignore | 1 + .packit.yaml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ README.packit | 3 +++ mrack.spec | 12 +++++++++++- sources | 2 +- 5 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 .packit.yaml create mode 100644 README.packit diff --git a/.gitignore b/.gitignore index cc1d8d6..7cdbf13 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /mrack-1.11.0.tar.gz /mrack-1.12.0.tar.gz /mrack-1.12.1.tar.gz +/mrack-1.12.2.tar.gz diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..1fe5c0d --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,51 @@ +--- +# See the documentation for more information: +# https://packit.dev/docs/configuration/ +specfile_path: mrack.spec + +# add or remove files that should be synced +files_to_sync: + - mrack.spec + - README.md + - .packit.yaml + +# name in upstream package repository/registry (e.g. in PyPI) +upstream_package_name: mrack +# downstream (Fedora) RPM package name +downstream_package_name: mrack +# mrack uses tag v(ver_number) and we need to make sure packit know what to expect +# see: https://packit.dev/docs/configuration/#upstream_tag_template +upstream_tag_template: "v{version}" + +actions: + create-archive: + - "python3 setup.py sdist --dist-dir ." + - "sh -c 'echo mrack-$(python3 setup.py --version).tar.gz'" + get-current-version: + - "python3 setup.py --version" + +jobs: + - job: copr_build + trigger: pull_request + targets: [fedora-all] + + - job: copr_build + trigger: release + owner: "@freeipa" + project: neoave + targets: [fedora-all] + + - job: propose_downstream + trigger: release + dist_git_branches: + - fedora-all + + - job: koji_build + trigger: commit + dist_git_branches: + - fedora-all + + - job: bodhi_update + trigger: commit + dist_git_branches: + - fedora-branched # rawhide updates are created automatically diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..bdc4243 --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.63.2.dev8+g33fd64a. diff --git a/mrack.spec b/mrack.spec index d21a270..e8ba4b4 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.12.1 +Version: 1.12.2 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -177,6 +177,16 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Fri Dec 02 2022 Packit - 1.12.2-1 +- chore: Release version 1.12.2 (github-actions) +- chore: Use python 3.10 in GH actions (Tibor Dudlák) +- refactor: pylint fixes related to Python 3.10 (Tibor Dudlák) +- test: Fix test_utils.py to be included in pytest run (Tibor Dudlák) +- chore(pytest): add missing python_path when using pytest >=7.0.0 (Tibor Dudlák) +- test: Add test for value_to_bool util function (Tibor Dudlák) +- fix: Owner requirement boolean parsing from string (Tibor Dudlák) +- chore(Packit): Add upstream_tag_template to .packit.yaml (Tibor Dudlák) + * Thu Nov 24 2022 Tibor Dudlák - 1.12.1-1 - Released upstream version 1.12.1 diff --git a/sources b/sources index dd59d66..7ce0828 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.12.1.tar.gz) = bfcbc6882f4b3639fb29a941fdc2e102b37b28088ac698568c2c0a3e4ba4509f19ad6d2f1c3ffeefada81b97e9be49ff9fb06631a96925bd81ade653b8f80f73 +SHA512 (mrack-1.12.2.tar.gz) = 7ac6ec24398d58cb092e4a12c15c75758485a5e430c74cbe3312a48dde905f0350029b70245d8b21e6bb060b3022a16657b25bd080ced9de1f193159a2752405 From 213dda4294c118cae86b6411fe4382aa0e76a056 Mon Sep 17 00:00:00 2001 From: Packit Date: Fri, 2 Dec 2022 10:22:04 +0000 Subject: [PATCH 16/66] [packit] 1.12.2 upstream release Upstream tag: v1.12.2 Upstream commit: 497e95b3 Signed-off-by: Packit --- .gitignore | 1 + .packit.yaml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ README.packit | 3 +++ mrack.spec | 12 +++++++++++- sources | 2 +- 5 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 .packit.yaml create mode 100644 README.packit diff --git a/.gitignore b/.gitignore index cc1d8d6..7cdbf13 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /mrack-1.11.0.tar.gz /mrack-1.12.0.tar.gz /mrack-1.12.1.tar.gz +/mrack-1.12.2.tar.gz diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..1fe5c0d --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,51 @@ +--- +# See the documentation for more information: +# https://packit.dev/docs/configuration/ +specfile_path: mrack.spec + +# add or remove files that should be synced +files_to_sync: + - mrack.spec + - README.md + - .packit.yaml + +# name in upstream package repository/registry (e.g. in PyPI) +upstream_package_name: mrack +# downstream (Fedora) RPM package name +downstream_package_name: mrack +# mrack uses tag v(ver_number) and we need to make sure packit know what to expect +# see: https://packit.dev/docs/configuration/#upstream_tag_template +upstream_tag_template: "v{version}" + +actions: + create-archive: + - "python3 setup.py sdist --dist-dir ." + - "sh -c 'echo mrack-$(python3 setup.py --version).tar.gz'" + get-current-version: + - "python3 setup.py --version" + +jobs: + - job: copr_build + trigger: pull_request + targets: [fedora-all] + + - job: copr_build + trigger: release + owner: "@freeipa" + project: neoave + targets: [fedora-all] + + - job: propose_downstream + trigger: release + dist_git_branches: + - fedora-all + + - job: koji_build + trigger: commit + dist_git_branches: + - fedora-all + + - job: bodhi_update + trigger: commit + dist_git_branches: + - fedora-branched # rawhide updates are created automatically diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..bdc4243 --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.63.2.dev8+g33fd64a. diff --git a/mrack.spec b/mrack.spec index d21a270..e8ba4b4 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.12.1 +Version: 1.12.2 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -177,6 +177,16 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Fri Dec 02 2022 Packit - 1.12.2-1 +- chore: Release version 1.12.2 (github-actions) +- chore: Use python 3.10 in GH actions (Tibor Dudlák) +- refactor: pylint fixes related to Python 3.10 (Tibor Dudlák) +- test: Fix test_utils.py to be included in pytest run (Tibor Dudlák) +- chore(pytest): add missing python_path when using pytest >=7.0.0 (Tibor Dudlák) +- test: Add test for value_to_bool util function (Tibor Dudlák) +- fix: Owner requirement boolean parsing from string (Tibor Dudlák) +- chore(Packit): Add upstream_tag_template to .packit.yaml (Tibor Dudlák) + * Thu Nov 24 2022 Tibor Dudlák - 1.12.1-1 - Released upstream version 1.12.1 diff --git a/sources b/sources index e8f80e7..7ce0828 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.12.1.tar.gz) = 49964fe5c2c85b14a784972fed8d6f43047c4974ab0825a2a6d2e6608fdbb798c77ed2816d423460ff29ec64a007f8af6a4bca51b03c40ac73391fe4769eed91 +SHA512 (mrack-1.12.2.tar.gz) = 7ac6ec24398d58cb092e4a12c15c75758485a5e430c74cbe3312a48dde905f0350029b70245d8b21e6bb060b3022a16657b25bd080ced9de1f193159a2752405 From 36eb2333b101942cd447d203660c07cb55f84427 Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 13 Dec 2022 20:52:51 +0000 Subject: [PATCH 17/66] [packit] 1.12.3 upstream release Upstream tag: v1.12.3 Upstream commit: 6bd9e17e Signed-off-by: Packit --- .gitignore | 1 + .packit.yaml | 20 +++++++++++--------- README.packit | 2 +- gating.yaml | 10 ++++++++++ mrack.spec | 13 ++++++++++++- sources | 2 +- 6 files changed, 36 insertions(+), 12 deletions(-) create mode 100644 gating.yaml diff --git a/.gitignore b/.gitignore index 7cdbf13..6057967 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /mrack-1.12.0.tar.gz /mrack-1.12.1.tar.gz /mrack-1.12.2.tar.gz +/mrack-1.12.3.tar.gz diff --git a/.packit.yaml b/.packit.yaml index 1fe5c0d..2d27343 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -8,6 +8,7 @@ files_to_sync: - mrack.spec - README.md - .packit.yaml + - gating.yaml # name in upstream package repository/registry (e.g. in PyPI) upstream_package_name: mrack @@ -25,27 +26,28 @@ actions: - "python3 setup.py --version" jobs: - - job: copr_build + - job: tests trigger: pull_request - targets: [fedora-all] + targets: [fedora-all, epel-8, epel-9] + + - job: copr_build + trigger: commit + targets: [fedora-all, epel-8, epel-9] - job: copr_build trigger: release owner: "@freeipa" project: neoave - targets: [fedora-all] + targets: [fedora-all, epel-8, epel-9] - job: propose_downstream trigger: release - dist_git_branches: - - fedora-all + dist_git_branches: [fedora-all, epel-8, epel-9] - job: koji_build trigger: commit - dist_git_branches: - - fedora-all + dist_git_branches: [fedora-all, epel-8, epel-9] - job: bodhi_update trigger: commit - dist_git_branches: - - fedora-branched # rawhide updates are created automatically + dist_git_branches: [fedora-branched, epel-8, epel-9] # rawhide updates are created automatically diff --git a/README.packit b/README.packit index bdc4243..a26b3a1 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.63.2.dev8+g33fd64a. +The file was generated using packit 0.65.0. diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..ad8f991 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,10 @@ +--- !Policy +product_versions: + - fedora-* + - epel-8 + - epel-9 +decision_contexts: + - bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tests.functional} diff --git a/mrack.spec b/mrack.spec index e8ba4b4..f859935 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.12.2 +Version: 1.12.3 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -177,6 +177,17 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Tue Dec 13 2022 Packit - 1.12.3-1 +- chore: Release version 1.12.3 (github-actions) +- chore(Packit): Enable copr build for commit to main only. (Tibor Dudlák) +- chore(Packit): Enable TF tests job to run on pull request. (Tibor Dudlák) +- chore(Packit): Add fedora gating.yaml to synced files. (Tibor Dudlák) +- chore(TestingFarm): Add gating for fedora workflow (Tibor Dudlák) +- fix: Add cache decorator for older python versions. (Tibor Dudlák) +- fix(mrack.spec): Missing dependency in c8s for beaker-client (Tibor Dudlák) +- chore(Packit): enable epel-8 and epel-9 updates and tests (Tibor Dudlák) +- fix(AWS): refactor sources to be py3.6 compatible (Tibor Dudlák) + * Fri Dec 02 2022 Packit - 1.12.2-1 - chore: Release version 1.12.2 (github-actions) - chore: Use python 3.10 in GH actions (Tibor Dudlák) diff --git a/sources b/sources index 7ce0828..8ad92e2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.12.2.tar.gz) = 7ac6ec24398d58cb092e4a12c15c75758485a5e430c74cbe3312a48dde905f0350029b70245d8b21e6bb060b3022a16657b25bd080ced9de1f193159a2752405 +SHA512 (mrack-1.12.3.tar.gz) = 04b097020264fa0686f38f513156ea97d761769bf68cff564224991bd157632aeda673c8e471c985e1f49657b47f3ed5505867f469dfefa688da1fa42f5a1be8 From 808a645b72b30386c3e0d752ceeb38ac4704b6c2 Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 13 Dec 2022 20:53:57 +0000 Subject: [PATCH 18/66] [packit] 1.12.3 upstream release Upstream tag: v1.12.3 Upstream commit: 6bd9e17e Signed-off-by: Packit --- .gitignore | 1 + .packit.yaml | 20 +++++++++++--------- README.packit | 2 +- gating.yaml | 10 ++++++++++ mrack.spec | 13 ++++++++++++- sources | 2 +- 6 files changed, 36 insertions(+), 12 deletions(-) create mode 100644 gating.yaml diff --git a/.gitignore b/.gitignore index 7cdbf13..6057967 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /mrack-1.12.0.tar.gz /mrack-1.12.1.tar.gz /mrack-1.12.2.tar.gz +/mrack-1.12.3.tar.gz diff --git a/.packit.yaml b/.packit.yaml index 1fe5c0d..2d27343 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -8,6 +8,7 @@ files_to_sync: - mrack.spec - README.md - .packit.yaml + - gating.yaml # name in upstream package repository/registry (e.g. in PyPI) upstream_package_name: mrack @@ -25,27 +26,28 @@ actions: - "python3 setup.py --version" jobs: - - job: copr_build + - job: tests trigger: pull_request - targets: [fedora-all] + targets: [fedora-all, epel-8, epel-9] + + - job: copr_build + trigger: commit + targets: [fedora-all, epel-8, epel-9] - job: copr_build trigger: release owner: "@freeipa" project: neoave - targets: [fedora-all] + targets: [fedora-all, epel-8, epel-9] - job: propose_downstream trigger: release - dist_git_branches: - - fedora-all + dist_git_branches: [fedora-all, epel-8, epel-9] - job: koji_build trigger: commit - dist_git_branches: - - fedora-all + dist_git_branches: [fedora-all, epel-8, epel-9] - job: bodhi_update trigger: commit - dist_git_branches: - - fedora-branched # rawhide updates are created automatically + dist_git_branches: [fedora-branched, epel-8, epel-9] # rawhide updates are created automatically diff --git a/README.packit b/README.packit index bdc4243..a26b3a1 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.63.2.dev8+g33fd64a. +The file was generated using packit 0.65.0. diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..ad8f991 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,10 @@ +--- !Policy +product_versions: + - fedora-* + - epel-8 + - epel-9 +decision_contexts: + - bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tests.functional} diff --git a/mrack.spec b/mrack.spec index e8ba4b4..f859935 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.12.2 +Version: 1.12.3 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -177,6 +177,17 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Tue Dec 13 2022 Packit - 1.12.3-1 +- chore: Release version 1.12.3 (github-actions) +- chore(Packit): Enable copr build for commit to main only. (Tibor Dudlák) +- chore(Packit): Enable TF tests job to run on pull request. (Tibor Dudlák) +- chore(Packit): Add fedora gating.yaml to synced files. (Tibor Dudlák) +- chore(TestingFarm): Add gating for fedora workflow (Tibor Dudlák) +- fix: Add cache decorator for older python versions. (Tibor Dudlák) +- fix(mrack.spec): Missing dependency in c8s for beaker-client (Tibor Dudlák) +- chore(Packit): enable epel-8 and epel-9 updates and tests (Tibor Dudlák) +- fix(AWS): refactor sources to be py3.6 compatible (Tibor Dudlák) + * Fri Dec 02 2022 Packit - 1.12.2-1 - chore: Release version 1.12.2 (github-actions) - chore: Use python 3.10 in GH actions (Tibor Dudlák) diff --git a/sources b/sources index 7ce0828..8ad92e2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.12.2.tar.gz) = 7ac6ec24398d58cb092e4a12c15c75758485a5e430c74cbe3312a48dde905f0350029b70245d8b21e6bb060b3022a16657b25bd080ced9de1f193159a2752405 +SHA512 (mrack-1.12.3.tar.gz) = 04b097020264fa0686f38f513156ea97d761769bf68cff564224991bd157632aeda673c8e471c985e1f49657b47f3ed5505867f469dfefa688da1fa42f5a1be8 From cfd32b128821effa34caa7b4fc82c7cd61af675e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Wed, 14 Dec 2022 08:11:58 +0100 Subject: [PATCH 19/66] Add ci.fmf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- ci.fmf | 1 + 1 file changed, 1 insertion(+) create mode 100644 ci.fmf diff --git a/ci.fmf b/ci.fmf new file mode 100644 index 0000000..c5aa0e0 --- /dev/null +++ b/ci.fmf @@ -0,0 +1 @@ +resultsdb-testcase: separate From b716751f9d6eea7b1306ace8db287804eeb0639e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Wed, 14 Dec 2022 08:13:33 +0100 Subject: [PATCH 20/66] Add ci.fmf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- ci.fmf | 1 + 1 file changed, 1 insertion(+) create mode 100644 ci.fmf diff --git a/ci.fmf b/ci.fmf new file mode 100644 index 0000000..c5aa0e0 --- /dev/null +++ b/ci.fmf @@ -0,0 +1 @@ +resultsdb-testcase: separate From c7cff6e7ad9c836c6d8453222c947413b192778f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Wed, 14 Dec 2022 08:44:00 +0100 Subject: [PATCH 21/66] Create release mrack-1.12.3-2 which has fixed ci.fmf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- mrack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mrack.spec b/mrack.spec index f859935..4e16b54 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.12.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -177,6 +177,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Tue Dec 13 2022 Tibor Dudlák - 1.12.3-2 +- chore: Add ci.fmf to the repo (Tibor Dudlák) + * Tue Dec 13 2022 Packit - 1.12.3-1 - chore: Release version 1.12.3 (github-actions) - chore(Packit): Enable copr build for commit to main only. (Tibor Dudlák) From 7d285dc6f5e9873026437fc32d6d51a6a8440410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Wed, 14 Dec 2022 08:44:00 +0100 Subject: [PATCH 22/66] Create release mrack-1.12.3-2 which has fixed ci.fmf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- mrack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mrack.spec b/mrack.spec index f859935..4e16b54 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.12.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -177,6 +177,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Tue Dec 13 2022 Tibor Dudlák - 1.12.3-2 +- chore: Add ci.fmf to the repo (Tibor Dudlák) + * Tue Dec 13 2022 Packit - 1.12.3-1 - chore: Release version 1.12.3 (github-actions) - chore(Packit): Enable copr build for commit to main only. (Tibor Dudlák) From f02ab9f23d06c0a4e44afec950a045d461d1373a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Wed, 14 Dec 2022 10:41:12 +0100 Subject: [PATCH 23/66] chore: Add fmf/version and allowed users to run packit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- .fmf/version | 1 + .packit.yaml | 9 +++++++++ mrack.spec | 5 ++++- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .fmf/version diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.packit.yaml b/.packit.yaml index 2d27343..a2bc0d4 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -9,6 +9,15 @@ files_to_sync: - README.md - .packit.yaml - gating.yaml + - ci.fmf + +# Allow disgit reactions on packit and tdudlak commits and PRs +allowed_pr_authors: +- packit +- tdudlak +allowed_committers: +- packit +- tdudlak # name in upstream package repository/registry (e.g. in PyPI) upstream_package_name: mrack diff --git a/mrack.spec b/mrack.spec index 4e16b54..cde228d 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.12.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -177,6 +177,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Tue Dec 13 2022 Tibor Dudlák - 1.12.3-3 +- chore: Add fmf/version and allowed users to run packit (Tibor Dudlák) + * Tue Dec 13 2022 Tibor Dudlák - 1.12.3-2 - chore: Add ci.fmf to the repo (Tibor Dudlák) From c7bd8ec7dafe4ea6ecee987f79d400328f82e15f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Wed, 14 Dec 2022 10:41:12 +0100 Subject: [PATCH 24/66] chore: Add fmf/version and allowed users to run packit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- .fmf/version | 1 + .packit.yaml | 9 +++++++++ mrack.spec | 5 ++++- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .fmf/version diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.packit.yaml b/.packit.yaml index 2d27343..a2bc0d4 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -9,6 +9,15 @@ files_to_sync: - README.md - .packit.yaml - gating.yaml + - ci.fmf + +# Allow disgit reactions on packit and tdudlak commits and PRs +allowed_pr_authors: +- packit +- tdudlak +allowed_committers: +- packit +- tdudlak # name in upstream package repository/registry (e.g. in PyPI) upstream_package_name: mrack diff --git a/mrack.spec b/mrack.spec index 4e16b54..cde228d 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.12.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -177,6 +177,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Tue Dec 13 2022 Tibor Dudlák - 1.12.3-3 +- chore: Add fmf/version and allowed users to run packit (Tibor Dudlák) + * Tue Dec 13 2022 Tibor Dudlák - 1.12.3-2 - chore: Add ci.fmf to the repo (Tibor Dudlák) From 13ae0ebc4d3cee493131fbe67006c8d5fcd32c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Thu, 15 Dec 2022 08:07:30 +0100 Subject: [PATCH 25/66] chore: Add add tmt tests and plans and add them to sync MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- .packit.yaml | 4 +++ mrack.spec | 5 ++- plans/tests.fmf | 9 ++++++ tests/smoke/main.fmf | 8 +++++ tests/smoke/smoke-test.sh | 67 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 plans/tests.fmf create mode 100644 tests/smoke/main.fmf create mode 100755 tests/smoke/smoke-test.sh diff --git a/.packit.yaml b/.packit.yaml index a2bc0d4..0588b34 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -10,6 +10,10 @@ files_to_sync: - .packit.yaml - gating.yaml - ci.fmf + - src: ./tests/smoke/* + dest: ./tests/smoke/ + - src: ./plans/* + dest: ./plans/ # Allow disgit reactions on packit and tdudlak commits and PRs allowed_pr_authors: diff --git a/mrack.spec b/mrack.spec index cde228d..d50e81a 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.12.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -177,6 +177,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Tue Dec 13 2022 Tibor Dudlák - 1.12.3-4 +- chore: Add add tmt tests and plans and add them to sync (Tibor Dudlák) + * Tue Dec 13 2022 Tibor Dudlák - 1.12.3-3 - chore: Add fmf/version and allowed users to run packit (Tibor Dudlák) diff --git a/plans/tests.fmf b/plans/tests.fmf new file mode 100644 index 0000000..65199d8 --- /dev/null +++ b/plans/tests.fmf @@ -0,0 +1,9 @@ +summary: Smoke test for mrack +discover: + how: fmf +prepare: +- how: shell + script: + - dnf remove -y `rpm -qa | grep mrack` +execute: + how: tmt diff --git a/tests/smoke/main.fmf b/tests/smoke/main.fmf new file mode 100644 index 0000000..b465d57 --- /dev/null +++ b/tests/smoke/main.fmf @@ -0,0 +1,8 @@ +summary: Run Smoke tests +test: ./smoke-test.sh +enabled: true +path: /tests/smoke +require: +- which +framework: beakerlib +duration: 10m diff --git a/tests/smoke/smoke-test.sh b/tests/smoke/smoke-test.sh new file mode 100755 index 0000000..a06d73d --- /dev/null +++ b/tests/smoke/smoke-test.sh @@ -0,0 +1,67 @@ +#!/bin/bash + +# Author: Tibor Dudlák + +. /usr/share/beakerlib/beakerlib.sh || ( echo "FAILED to source beakerlib" && exit 1 ) + +install_package () { + rlPhaseStartSetup "Installing $1" + rlRun "dnf install -y $1" + rlPhaseEnd +} + +print_and_remove_mrack_log(){ + rlPhaseStartTest "Print and remove mrack.log" + rlRun "cat mrack.log && rm -f mrack.log" + rlPhaseEnd +} + +rm_mracklog_run_mrack_up () { + rlPhaseStartTest "Remove mrack.log and run mrack up" + rlRun "rm -f mrack.log" + rlRun "mrack up 2>&1 | grep 'Installed providers:'" + rlPhaseEnd +} + +rlJournalStart + rlPhaseStartSetup "Check required packages and absence of mrack" + rlAssertRpm "which" + rlRun "dnf remove -y `rpm -qa | grep mrack` || true" + rlPhaseEnd + + rlPhaseStartTest "mrack should not be pre-installed on system" + rlRun "python3 -c \"import mrack\"" 1 + rlPhaseEnd + + install_package "python3-mracklib" + + rlPhaseStartTest "mrack command NOT present on system" + rlRun "which mrack 2>&1 | grep -i 'no' | grep 'mrack'" + rlPhaseEnd + + install_package "mrack-cli" + + rlPhaseStartTest "mrack command present on system" + rlRun "which mrack | grep 'bin/mrack'" + rlRun "mrack --version" + rlPhaseEnd + + install_package "python3-mrack-beaker" + + rm_mracklog_run_mrack_up + + install_package "mrack" + + rm_mracklog_run_mrack_up + + print_and_remove_mrack_log + + rlPhaseStartSetup "Reinstall mrack" + rlRun "dnf reinstall mrack -y" + rlPhaseEnd + + rm_mracklog_run_mrack_up + + print_and_remove_mrack_log + +rlJournalEnd From 57b09888454105a69bda77105983bdbef57f44e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Thu, 15 Dec 2022 08:07:30 +0100 Subject: [PATCH 26/66] chore: Add add tmt tests and plans and add them to sync MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tibor Dudlák --- .packit.yaml | 4 +++ mrack.spec | 5 ++- plans/tests.fmf | 9 ++++++ tests/smoke/main.fmf | 8 +++++ tests/smoke/smoke-test.sh | 67 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 plans/tests.fmf create mode 100644 tests/smoke/main.fmf create mode 100755 tests/smoke/smoke-test.sh diff --git a/.packit.yaml b/.packit.yaml index a2bc0d4..0588b34 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -10,6 +10,10 @@ files_to_sync: - .packit.yaml - gating.yaml - ci.fmf + - src: ./tests/smoke/* + dest: ./tests/smoke/ + - src: ./plans/* + dest: ./plans/ # Allow disgit reactions on packit and tdudlak commits and PRs allowed_pr_authors: diff --git a/mrack.spec b/mrack.spec index cde228d..d50e81a 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.12.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -177,6 +177,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Tue Dec 13 2022 Tibor Dudlák - 1.12.3-4 +- chore: Add add tmt tests and plans and add them to sync (Tibor Dudlák) + * Tue Dec 13 2022 Tibor Dudlák - 1.12.3-3 - chore: Add fmf/version and allowed users to run packit (Tibor Dudlák) diff --git a/plans/tests.fmf b/plans/tests.fmf new file mode 100644 index 0000000..65199d8 --- /dev/null +++ b/plans/tests.fmf @@ -0,0 +1,9 @@ +summary: Smoke test for mrack +discover: + how: fmf +prepare: +- how: shell + script: + - dnf remove -y `rpm -qa | grep mrack` +execute: + how: tmt diff --git a/tests/smoke/main.fmf b/tests/smoke/main.fmf new file mode 100644 index 0000000..b465d57 --- /dev/null +++ b/tests/smoke/main.fmf @@ -0,0 +1,8 @@ +summary: Run Smoke tests +test: ./smoke-test.sh +enabled: true +path: /tests/smoke +require: +- which +framework: beakerlib +duration: 10m diff --git a/tests/smoke/smoke-test.sh b/tests/smoke/smoke-test.sh new file mode 100755 index 0000000..a06d73d --- /dev/null +++ b/tests/smoke/smoke-test.sh @@ -0,0 +1,67 @@ +#!/bin/bash + +# Author: Tibor Dudlák + +. /usr/share/beakerlib/beakerlib.sh || ( echo "FAILED to source beakerlib" && exit 1 ) + +install_package () { + rlPhaseStartSetup "Installing $1" + rlRun "dnf install -y $1" + rlPhaseEnd +} + +print_and_remove_mrack_log(){ + rlPhaseStartTest "Print and remove mrack.log" + rlRun "cat mrack.log && rm -f mrack.log" + rlPhaseEnd +} + +rm_mracklog_run_mrack_up () { + rlPhaseStartTest "Remove mrack.log and run mrack up" + rlRun "rm -f mrack.log" + rlRun "mrack up 2>&1 | grep 'Installed providers:'" + rlPhaseEnd +} + +rlJournalStart + rlPhaseStartSetup "Check required packages and absence of mrack" + rlAssertRpm "which" + rlRun "dnf remove -y `rpm -qa | grep mrack` || true" + rlPhaseEnd + + rlPhaseStartTest "mrack should not be pre-installed on system" + rlRun "python3 -c \"import mrack\"" 1 + rlPhaseEnd + + install_package "python3-mracklib" + + rlPhaseStartTest "mrack command NOT present on system" + rlRun "which mrack 2>&1 | grep -i 'no' | grep 'mrack'" + rlPhaseEnd + + install_package "mrack-cli" + + rlPhaseStartTest "mrack command present on system" + rlRun "which mrack | grep 'bin/mrack'" + rlRun "mrack --version" + rlPhaseEnd + + install_package "python3-mrack-beaker" + + rm_mracklog_run_mrack_up + + install_package "mrack" + + rm_mracklog_run_mrack_up + + print_and_remove_mrack_log + + rlPhaseStartSetup "Reinstall mrack" + rlRun "dnf reinstall mrack -y" + rlPhaseEnd + + rm_mracklog_run_mrack_up + + print_and_remove_mrack_log + +rlJournalEnd From dd1b3ddbbe2f92340ed3dcbbd83fdde85b5ee621 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 20:52:31 +0000 Subject: [PATCH 27/66] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mrack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mrack.spec b/mrack.spec index d50e81a..878c869 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.12.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -177,6 +177,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 1.12.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Tue Dec 13 2022 Tibor Dudlák - 1.12.3-4 - chore: Add add tmt tests and plans and add them to sync (Tibor Dudlák) From 8b9a7ed6575bfa279b6e3a3e660b4de3422aabea Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 21 Feb 2023 11:43:54 +0000 Subject: [PATCH 28/66] [packit] 1.13.1 upstream release Upstream tag: v1.13.1 Upstream commit: 469298da Signed-off-by: Packit --- .gitignore | 1 + .packit.yaml | 14 +++++++++----- README.packit | 2 +- mrack.spec | 38 ++++++++++++++++++++++++++++++++++---- sources | 2 +- tests/smoke/smoke-test.sh | 4 +++- 6 files changed, 49 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 6057967..7b297ef 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /mrack-1.12.1.tar.gz /mrack-1.12.2.tar.gz /mrack-1.12.3.tar.gz +/mrack-1.13.1.tar.gz diff --git a/.packit.yaml b/.packit.yaml index 0588b34..ca9e301 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -10,18 +10,19 @@ files_to_sync: - .packit.yaml - gating.yaml - ci.fmf +# we need to sync tmt for TF to work in Fedora updates - src: ./tests/smoke/* dest: ./tests/smoke/ - src: ./plans/* dest: ./plans/ -# Allow disgit reactions on packit and tdudlak commits and PRs +# Allow dist git reactions on packit and tdudlak commits and PRs allowed_pr_authors: -- packit -- tdudlak + - packit + - tdudlak allowed_committers: -- packit -- tdudlak + - packit + - tdudlak # name in upstream package repository/registry (e.g. in PyPI) upstream_package_name: mrack @@ -31,6 +32,8 @@ downstream_package_name: mrack # see: https://packit.dev/docs/configuration/#upstream_tag_template upstream_tag_template: "v{version}" +sync_changelog: true + actions: create-archive: - "python3 setup.py sdist --dist-dir ." @@ -42,6 +45,7 @@ jobs: - job: tests trigger: pull_request targets: [fedora-all, epel-8, epel-9] + release_suffix: "99.dev.{PACKIT_PROJECT_BRANCH}" - job: copr_build trigger: commit diff --git a/README.packit b/README.packit index a26b3a1..590da28 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.65.0. +The file was generated using packit 0.68.0.post2+g8101c6a. diff --git a/mrack.spec b/mrack.spec index 878c869..72b89bb 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack -Version: 1.12.3 -Release: 5%{?dist} +Version: 1.13.1 +Release: 4%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -61,7 +61,12 @@ Requires: python3-botocore %package -n python3-%{name}-beaker Summary: Beaker provider plugin for mrack Requires: python3-%{name}lib = %{version}-%{release} +%if 0%{?rhel} == 8 +# c8s has missing beaker-client package +Recommends: beaker-client +%else Requires: beaker-client +%endif %{?python_provide:%python_provide python3-%{name}-beaker} @@ -177,8 +182,33 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog -* Thu Jan 19 2023 Fedora Release Engineering - 1.12.3-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild +* Tue Feb 21 2023 Tibor Dudlák - 1.13.1-1 +- 1421b37 fix(MrackConfig): Fix MrackConfig class properties (Tibor Dudlák) + +* Fri Feb 17 2023 Tibor Dudlák - 1.13.0-1 +- 72cc2f3 test: add extra dnf options when dealing with rhel/epel 8 (Tibor Dudlák) +- 32a754b chore: set packit to sync changelog as well (Tibor Dudlák) +- b0512b4 chore: sync fedora spec to upstream to maintain changelog history for fedora (Tibor Dudlák) +- be7b50a chore: Generate proper changelog from commit history when releasing (Tibor Dudlák) +- 98f4035 chore: Bump python-semantic-release to latest (Tibor Dudlák) +- a0e76dd test(OpenStack): Fixup the network spread tests (Tibor Dudlák) +- 88b9332 test(OpenStack): rewrite network alloaction tests (Tibor Dudlák) +- 777862f feat(OpenStack): Provide a way to disable network spreading (Tibor Dudlák) +- ff7331d fix(OpenStack): fix condition for network to get in interval (Tibor Dudlák) +- 943316d fix: fqdn in name is ignored and mrack guesses the name instead #237 (Tibor Dudlák) +- 46141dc feat(AWS): Add utilization check method (Tibor Dudlák) +- bb80060 feat(OpenStack): Add utilization check method (Tibor Dudlák) +- 55f9c2c feat: Do not use same sleep for every mrack run (Tibor Dudlák) +- 6ce3927 test(AnsibleInventory): global level output values override (Tibor Dudlák) +- a7a896a feat(AnsibleInventory): Allow additional global level values (Tibor Dudlák) +- 91c562c feat(AnsibleInventory): Allow additional domain level ansible inventory values (Tibor Dudlák) +- 109b03c test(OpenStack): Update calls in openststack tests (Tibor Dudlák) +- 4467cc2 refactor(OpenStack): make private openstack methods truly private (Tibor Dudlák) +- 72b9b9c chore: use custom release_suffix for PR testing via packit (Petr Vobornik) +- f3f734a chore: disable pylint pre-commit hook (Petr Vobornik) +- 4aa9b0a chore(Packit): Add synchronization of tmt plans and tests (Tibor Dudlák) +- 02c3e01 chore(Packit): Configure users on whose actions packit is allowed to be run (Tibor Dudlák) +- cf14ed9 chore(Packit): Add missing ci.fmf to synced files (Tibor Dudlák) * Tue Dec 13 2022 Tibor Dudlák - 1.12.3-4 - chore: Add add tmt tests and plans and add them to sync (Tibor Dudlák) diff --git a/sources b/sources index 8ad92e2..0c377ea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.12.3.tar.gz) = 04b097020264fa0686f38f513156ea97d761769bf68cff564224991bd157632aeda673c8e471c985e1f49657b47f3ed5505867f469dfefa688da1fa42f5a1be8 +SHA512 (mrack-1.13.1.tar.gz) = 351cf647c1376c254cc0642a5287352fa9f3a62a69e87f5d448f0db0f8fa66c1cb60e8820aacae1a04d23ad692d8ce69f0ba7b2399e6c66cde359aeac89674cf diff --git a/tests/smoke/smoke-test.sh b/tests/smoke/smoke-test.sh index a06d73d..b49361c 100755 --- a/tests/smoke/smoke-test.sh +++ b/tests/smoke/smoke-test.sh @@ -4,9 +4,11 @@ . /usr/share/beakerlib/beakerlib.sh || ( echo "FAILED to source beakerlib" && exit 1 ) +export DNF_EXTRA_OPTIONS=$([[ `rpm --eval '%{?dist}' | grep .el8` > /dev/null ]] && echo "--nobest") + install_package () { rlPhaseStartSetup "Installing $1" - rlRun "dnf install -y $1" + rlRun "dnf install -y $1 $DNF_EXTRA_OPTIONS" rlPhaseEnd } From 7319e4d80226d174cf257057ff100c4e996313d5 Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 21 Feb 2023 11:44:17 +0000 Subject: [PATCH 29/66] [packit] 1.13.1 upstream release Upstream tag: v1.13.1 Upstream commit: 469298da Signed-off-by: Packit --- .gitignore | 1 + .packit.yaml | 14 +++++++++----- README.packit | 2 +- mrack.spec | 35 ++++++++++++++++++++++++++++++++++- sources | 2 +- tests/smoke/smoke-test.sh | 4 +++- 6 files changed, 49 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 6057967..7b297ef 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /mrack-1.12.1.tar.gz /mrack-1.12.2.tar.gz /mrack-1.12.3.tar.gz +/mrack-1.13.1.tar.gz diff --git a/.packit.yaml b/.packit.yaml index 0588b34..ca9e301 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -10,18 +10,19 @@ files_to_sync: - .packit.yaml - gating.yaml - ci.fmf +# we need to sync tmt for TF to work in Fedora updates - src: ./tests/smoke/* dest: ./tests/smoke/ - src: ./plans/* dest: ./plans/ -# Allow disgit reactions on packit and tdudlak commits and PRs +# Allow dist git reactions on packit and tdudlak commits and PRs allowed_pr_authors: -- packit -- tdudlak + - packit + - tdudlak allowed_committers: -- packit -- tdudlak + - packit + - tdudlak # name in upstream package repository/registry (e.g. in PyPI) upstream_package_name: mrack @@ -31,6 +32,8 @@ downstream_package_name: mrack # see: https://packit.dev/docs/configuration/#upstream_tag_template upstream_tag_template: "v{version}" +sync_changelog: true + actions: create-archive: - "python3 setup.py sdist --dist-dir ." @@ -42,6 +45,7 @@ jobs: - job: tests trigger: pull_request targets: [fedora-all, epel-8, epel-9] + release_suffix: "99.dev.{PACKIT_PROJECT_BRANCH}" - job: copr_build trigger: commit diff --git a/README.packit b/README.packit index a26b3a1..590da28 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.65.0. +The file was generated using packit 0.68.0.post2+g8101c6a. diff --git a/mrack.spec b/mrack.spec index d50e81a..72b89bb 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.12.3 +Version: 1.13.1 Release: 4%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -61,7 +61,12 @@ Requires: python3-botocore %package -n python3-%{name}-beaker Summary: Beaker provider plugin for mrack Requires: python3-%{name}lib = %{version}-%{release} +%if 0%{?rhel} == 8 +# c8s has missing beaker-client package +Recommends: beaker-client +%else Requires: beaker-client +%endif %{?python_provide:%python_provide python3-%{name}-beaker} @@ -177,6 +182,34 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Tue Feb 21 2023 Tibor Dudlák - 1.13.1-1 +- 1421b37 fix(MrackConfig): Fix MrackConfig class properties (Tibor Dudlák) + +* Fri Feb 17 2023 Tibor Dudlák - 1.13.0-1 +- 72cc2f3 test: add extra dnf options when dealing with rhel/epel 8 (Tibor Dudlák) +- 32a754b chore: set packit to sync changelog as well (Tibor Dudlák) +- b0512b4 chore: sync fedora spec to upstream to maintain changelog history for fedora (Tibor Dudlák) +- be7b50a chore: Generate proper changelog from commit history when releasing (Tibor Dudlák) +- 98f4035 chore: Bump python-semantic-release to latest (Tibor Dudlák) +- a0e76dd test(OpenStack): Fixup the network spread tests (Tibor Dudlák) +- 88b9332 test(OpenStack): rewrite network alloaction tests (Tibor Dudlák) +- 777862f feat(OpenStack): Provide a way to disable network spreading (Tibor Dudlák) +- ff7331d fix(OpenStack): fix condition for network to get in interval (Tibor Dudlák) +- 943316d fix: fqdn in name is ignored and mrack guesses the name instead #237 (Tibor Dudlák) +- 46141dc feat(AWS): Add utilization check method (Tibor Dudlák) +- bb80060 feat(OpenStack): Add utilization check method (Tibor Dudlák) +- 55f9c2c feat: Do not use same sleep for every mrack run (Tibor Dudlák) +- 6ce3927 test(AnsibleInventory): global level output values override (Tibor Dudlák) +- a7a896a feat(AnsibleInventory): Allow additional global level values (Tibor Dudlák) +- 91c562c feat(AnsibleInventory): Allow additional domain level ansible inventory values (Tibor Dudlák) +- 109b03c test(OpenStack): Update calls in openststack tests (Tibor Dudlák) +- 4467cc2 refactor(OpenStack): make private openstack methods truly private (Tibor Dudlák) +- 72b9b9c chore: use custom release_suffix for PR testing via packit (Petr Vobornik) +- f3f734a chore: disable pylint pre-commit hook (Petr Vobornik) +- 4aa9b0a chore(Packit): Add synchronization of tmt plans and tests (Tibor Dudlák) +- 02c3e01 chore(Packit): Configure users on whose actions packit is allowed to be run (Tibor Dudlák) +- cf14ed9 chore(Packit): Add missing ci.fmf to synced files (Tibor Dudlák) + * Tue Dec 13 2022 Tibor Dudlák - 1.12.3-4 - chore: Add add tmt tests and plans and add them to sync (Tibor Dudlák) diff --git a/sources b/sources index 8ad92e2..0c377ea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.12.3.tar.gz) = 04b097020264fa0686f38f513156ea97d761769bf68cff564224991bd157632aeda673c8e471c985e1f49657b47f3ed5505867f469dfefa688da1fa42f5a1be8 +SHA512 (mrack-1.13.1.tar.gz) = 351cf647c1376c254cc0642a5287352fa9f3a62a69e87f5d448f0db0f8fa66c1cb60e8820aacae1a04d23ad692d8ce69f0ba7b2399e6c66cde359aeac89674cf diff --git a/tests/smoke/smoke-test.sh b/tests/smoke/smoke-test.sh index a06d73d..b49361c 100755 --- a/tests/smoke/smoke-test.sh +++ b/tests/smoke/smoke-test.sh @@ -4,9 +4,11 @@ . /usr/share/beakerlib/beakerlib.sh || ( echo "FAILED to source beakerlib" && exit 1 ) +export DNF_EXTRA_OPTIONS=$([[ `rpm --eval '%{?dist}' | grep .el8` > /dev/null ]] && echo "--nobest") + install_package () { rlPhaseStartSetup "Installing $1" - rlRun "dnf install -y $1" + rlRun "dnf install -y $1 $DNF_EXTRA_OPTIONS" rlPhaseEnd } From e417dcdcf89b5ea32003ef42d0f67d2b4bedd4b0 Mon Sep 17 00:00:00 2001 From: Packit Date: Wed, 1 Mar 2023 10:07:53 +0000 Subject: [PATCH 30/66] [packit] 1.13.3 upstream release Upstream tag: v1.13.3 Upstream commit: acf943e2 Signed-off-by: Packit --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 14 ++++++++++++-- sources | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 7b297ef..f0ba04c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /mrack-1.12.2.tar.gz /mrack-1.12.3.tar.gz /mrack-1.13.1.tar.gz +/mrack-1.13.3.tar.gz diff --git a/README.packit b/README.packit index 590da28..2d4b293 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.68.0.post2+g8101c6a. +The file was generated using packit 0.68.0.post15+g49c3920. diff --git a/mrack.spec b/mrack.spec index 72b89bb..97f1945 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack -Version: 1.13.1 -Release: 4%{?dist} +Version: 1.13.3 +Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -182,6 +182,16 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Wed Mar 01 2023 Tibor Dudlák - 1.13.3-1 +- 0f62237 fix(OpenStack): await loading limits to not break provisioning (Tibor Dudlák) + +* Wed Mar 01 2023 Tibor Dudlák - 1.13.2-1 +- 06f18d1 fix: Use get method when host error object is a dictionary (Tibor Dudlák) +- fd33d68 fix(Beaker): rerurn common dictionary when validation fails (Tibor Dudlák) +- b6c5ef4 fix(OpenStack): Add exception parameter when validation fails (Tibor Dudlák) +- fa2c779 fix(OpenStack): load limits properly by one method (Tibor Dudlák) +- 61e515f chore: change back mrack dist release to 1 (Tibor Dudlák) + * Tue Feb 21 2023 Tibor Dudlák - 1.13.1-1 - 1421b37 fix(MrackConfig): Fix MrackConfig class properties (Tibor Dudlák) diff --git a/sources b/sources index 0c377ea..9313431 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.13.1.tar.gz) = 351cf647c1376c254cc0642a5287352fa9f3a62a69e87f5d448f0db0f8fa66c1cb60e8820aacae1a04d23ad692d8ce69f0ba7b2399e6c66cde359aeac89674cf +SHA512 (mrack-1.13.3.tar.gz) = 7677664900d478b8afb8d03d7f2a9fa55bdf3744e97d37ba0a2f39adfefd80618f2ca5fb510c3fe7bf660c348e12e2688a4c9888ad32ea769bd1cb065cec73a9 From 0e5f7da6bcfa316997bd581cb2e4e2a7a75aa3c4 Mon Sep 17 00:00:00 2001 From: Packit Date: Wed, 1 Mar 2023 10:09:15 +0000 Subject: [PATCH 31/66] [packit] 1.13.3 upstream release Upstream tag: v1.13.3 Upstream commit: acf943e2 Signed-off-by: Packit --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 14 ++++++++++++-- sources | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 7b297ef..f0ba04c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /mrack-1.12.2.tar.gz /mrack-1.12.3.tar.gz /mrack-1.13.1.tar.gz +/mrack-1.13.3.tar.gz diff --git a/README.packit b/README.packit index 590da28..2d4b293 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.68.0.post2+g8101c6a. +The file was generated using packit 0.68.0.post15+g49c3920. diff --git a/mrack.spec b/mrack.spec index 72b89bb..97f1945 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack -Version: 1.13.1 -Release: 4%{?dist} +Version: 1.13.3 +Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -182,6 +182,16 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Wed Mar 01 2023 Tibor Dudlák - 1.13.3-1 +- 0f62237 fix(OpenStack): await loading limits to not break provisioning (Tibor Dudlák) + +* Wed Mar 01 2023 Tibor Dudlák - 1.13.2-1 +- 06f18d1 fix: Use get method when host error object is a dictionary (Tibor Dudlák) +- fd33d68 fix(Beaker): rerurn common dictionary when validation fails (Tibor Dudlák) +- b6c5ef4 fix(OpenStack): Add exception parameter when validation fails (Tibor Dudlák) +- fa2c779 fix(OpenStack): load limits properly by one method (Tibor Dudlák) +- 61e515f chore: change back mrack dist release to 1 (Tibor Dudlák) + * Tue Feb 21 2023 Tibor Dudlák - 1.13.1-1 - 1421b37 fix(MrackConfig): Fix MrackConfig class properties (Tibor Dudlák) diff --git a/sources b/sources index 0c377ea..9313431 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.13.1.tar.gz) = 351cf647c1376c254cc0642a5287352fa9f3a62a69e87f5d448f0db0f8fa66c1cb60e8820aacae1a04d23ad692d8ce69f0ba7b2399e6c66cde359aeac89674cf +SHA512 (mrack-1.13.3.tar.gz) = 7677664900d478b8afb8d03d7f2a9fa55bdf3744e97d37ba0a2f39adfefd80618f2ca5fb510c3fe7bf660c348e12e2688a4c9888ad32ea769bd1cb065cec73a9 From 639a00f58a3505d52f5ad120706f5eacbf542610 Mon Sep 17 00:00:00 2001 From: Packit Date: Wed, 8 Mar 2023 14:13:05 +0000 Subject: [PATCH 32/66] [packit] 1.14.0 upstream release Upstream tag: v1.14.0 Upstream commit: c209923b Signed-off-by: Packit --- .gitignore | 1 + README.md | 2 +- README.packit | 2 +- mrack.spec | 15 ++++++++++++++- sources | 2 +- 5 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index f0ba04c..76e3d31 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /mrack-1.12.3.tar.gz /mrack-1.13.1.tar.gz /mrack-1.13.3.tar.gz +/mrack-1.14.0.tar.gz diff --git a/README.md b/README.md index 2895974..1b411e6 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ![pypi_badge](https://img.shields.io/pypi/v/mrack?label=PyPI&logo=pypi) ![readthedocs_badge](https://img.shields.io/readthedocs/mrack?label=Read%20the%20Docs&logo=read-the-docs) ![badge](https://copr.fedorainfracloud.org/coprs/g/freeipa/neoave/package/mrack/status_image/last_build.png) Provisioning library for CI and local multi-host testing supporting multiple -provisioning providers e.g. OpenStack, libvirt, containers, Beaker). +provisioning providers (OpenStack, AWS, libvirt, podman containers, Beaker). But in comparison to multi-cloud libraries, the aim is to be able to describe host from application perspective. E.g.: diff --git a/README.packit b/README.packit index 2d4b293..e135a47 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.68.0.post15+g49c3920. +The file was generated using packit 0.69.0. diff --git a/mrack.spec b/mrack.spec index 97f1945..c8d6aec 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.13.3 +Version: 1.14.0 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -182,6 +182,19 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Wed Mar 08 2023 Tibor Dudlák - 1.14.0-1 +- e319b73 refactor(AWS): change variable name typo in get_ip_addresses (Tibor Dudlák) +- d95e65f fix(OpenStack): Add missing await for self._load_limits() method call (Tibor Dudlák) +- d0c2d8f refactor: Update supported providers (Tibor Dudlák) +- 13ad3df fix(outputs): remove config section from pytest-multihost (Tibor Dudlák) +- d3da251 feat(outputs): allow to overwrite ansible layout (Tibor Dudlák) +- d3ac20d feat(outputs): allow to choose which outputs should be generated (Tibor Dudlák) +- 66f2877 feat(outputs): add support for pytest-mh (Tibor Dudlák) +- db633b7 feat(utils): relax condition in get_fqdn (Tibor Dudlák) +- 0735e36 fix(outputs): add host to correct group in layout (Tibor Dudlák) +- b1f5318 feat(utils): add get_os_type (Tibor Dudlák) +- 0ab88e6 refactor(black): reformat code (Tibor Dudlák) + * Wed Mar 01 2023 Tibor Dudlák - 1.13.3-1 - 0f62237 fix(OpenStack): await loading limits to not break provisioning (Tibor Dudlák) diff --git a/sources b/sources index 9313431..fc4ede6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.13.3.tar.gz) = 7677664900d478b8afb8d03d7f2a9fa55bdf3744e97d37ba0a2f39adfefd80618f2ca5fb510c3fe7bf660c348e12e2688a4c9888ad32ea769bd1cb065cec73a9 +SHA512 (mrack-1.14.0.tar.gz) = 4cad29bffc9e3cf735b2b0480081b0214d628ea84836fa83aa2a7e1d0d65693557806921cb0ed320ac6aec74b52df0b0b9296b033056e0e3e03ed2c1bf9d4e33 From d2c8689e3b15c22f5cc729b7885677abd7e33960 Mon Sep 17 00:00:00 2001 From: Packit Date: Wed, 8 Mar 2023 14:14:13 +0000 Subject: [PATCH 33/66] [packit] 1.14.0 upstream release Upstream tag: v1.14.0 Upstream commit: c209923b Signed-off-by: Packit --- .gitignore | 1 + README.md | 2 +- README.packit | 2 +- mrack.spec | 15 ++++++++++++++- sources | 2 +- 5 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index f0ba04c..76e3d31 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /mrack-1.12.3.tar.gz /mrack-1.13.1.tar.gz /mrack-1.13.3.tar.gz +/mrack-1.14.0.tar.gz diff --git a/README.md b/README.md index 2895974..1b411e6 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ![pypi_badge](https://img.shields.io/pypi/v/mrack?label=PyPI&logo=pypi) ![readthedocs_badge](https://img.shields.io/readthedocs/mrack?label=Read%20the%20Docs&logo=read-the-docs) ![badge](https://copr.fedorainfracloud.org/coprs/g/freeipa/neoave/package/mrack/status_image/last_build.png) Provisioning library for CI and local multi-host testing supporting multiple -provisioning providers e.g. OpenStack, libvirt, containers, Beaker). +provisioning providers (OpenStack, AWS, libvirt, podman containers, Beaker). But in comparison to multi-cloud libraries, the aim is to be able to describe host from application perspective. E.g.: diff --git a/README.packit b/README.packit index 2d4b293..e135a47 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.68.0.post15+g49c3920. +The file was generated using packit 0.69.0. diff --git a/mrack.spec b/mrack.spec index 97f1945..c8d6aec 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.13.3 +Version: 1.14.0 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -182,6 +182,19 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Wed Mar 08 2023 Tibor Dudlák - 1.14.0-1 +- e319b73 refactor(AWS): change variable name typo in get_ip_addresses (Tibor Dudlák) +- d95e65f fix(OpenStack): Add missing await for self._load_limits() method call (Tibor Dudlák) +- d0c2d8f refactor: Update supported providers (Tibor Dudlák) +- 13ad3df fix(outputs): remove config section from pytest-multihost (Tibor Dudlák) +- d3da251 feat(outputs): allow to overwrite ansible layout (Tibor Dudlák) +- d3ac20d feat(outputs): allow to choose which outputs should be generated (Tibor Dudlák) +- 66f2877 feat(outputs): add support for pytest-mh (Tibor Dudlák) +- db633b7 feat(utils): relax condition in get_fqdn (Tibor Dudlák) +- 0735e36 fix(outputs): add host to correct group in layout (Tibor Dudlák) +- b1f5318 feat(utils): add get_os_type (Tibor Dudlák) +- 0ab88e6 refactor(black): reformat code (Tibor Dudlák) + * Wed Mar 01 2023 Tibor Dudlák - 1.13.3-1 - 0f62237 fix(OpenStack): await loading limits to not break provisioning (Tibor Dudlák) diff --git a/sources b/sources index 9313431..fc4ede6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.13.3.tar.gz) = 7677664900d478b8afb8d03d7f2a9fa55bdf3744e97d37ba0a2f39adfefd80618f2ca5fb510c3fe7bf660c348e12e2688a4c9888ad32ea769bd1cb065cec73a9 +SHA512 (mrack-1.14.0.tar.gz) = 4cad29bffc9e3cf735b2b0480081b0214d628ea84836fa83aa2a7e1d0d65693557806921cb0ed320ac6aec74b52df0b0b9296b033056e0e3e03ed2c1bf9d4e33 From ffd9e6d65f22b163e4b5e9ab431cb6e86abf3653 Mon Sep 17 00:00:00 2001 From: Packit Date: Thu, 16 Mar 2023 15:31:14 +0000 Subject: [PATCH 34/66] [packit] 1.14.1 upstream release Upstream tag: v1.14.1 Upstream commit: af38b707 Signed-off-by: Packit --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 6 +++++- sources | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 76e3d31..e8cf0e0 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /mrack-1.13.1.tar.gz /mrack-1.13.3.tar.gz /mrack-1.14.0.tar.gz +/mrack-1.14.1.tar.gz diff --git a/README.packit b/README.packit index e135a47..680aef1 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.69.0. +The file was generated using packit 0.69.0.post12+g060b82c. diff --git a/mrack.spec b/mrack.spec index c8d6aec..de9eac7 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.14.0 +Version: 1.14.1 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -182,6 +182,10 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Thu Mar 16 2023 Tibor Dudlák - 1.14.1-1 +- a9c4e62 fix: mrack not re-provisioning hosts which were destroyed (Tibor Dudlák) +- 17b45e4 fix: Replace coroutines with tasks to avoid RuntimeError (David Pascual) + * Wed Mar 08 2023 Tibor Dudlák - 1.14.0-1 - e319b73 refactor(AWS): change variable name typo in get_ip_addresses (Tibor Dudlák) - d95e65f fix(OpenStack): Add missing await for self._load_limits() method call (Tibor Dudlák) diff --git a/sources b/sources index fc4ede6..6980420 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.14.0.tar.gz) = 4cad29bffc9e3cf735b2b0480081b0214d628ea84836fa83aa2a7e1d0d65693557806921cb0ed320ac6aec74b52df0b0b9296b033056e0e3e03ed2c1bf9d4e33 +SHA512 (mrack-1.14.1.tar.gz) = 0fd7c4ca68f9270e177188d4da4c75872b82c6ff9be03d634ab78d816634564643075fc86f82a08782ef040c9520ee865fff320de4c5366e0427f382985e9e8b From 473143d266ef1db1160457427e8310092bada32a Mon Sep 17 00:00:00 2001 From: Packit Date: Thu, 16 Mar 2023 15:31:42 +0000 Subject: [PATCH 35/66] [packit] 1.14.1 upstream release Upstream tag: v1.14.1 Upstream commit: af38b707 Signed-off-by: Packit --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 6 +++++- sources | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 76e3d31..e8cf0e0 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /mrack-1.13.1.tar.gz /mrack-1.13.3.tar.gz /mrack-1.14.0.tar.gz +/mrack-1.14.1.tar.gz diff --git a/README.packit b/README.packit index e135a47..680aef1 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.69.0. +The file was generated using packit 0.69.0.post12+g060b82c. diff --git a/mrack.spec b/mrack.spec index c8d6aec..de9eac7 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.14.0 +Version: 1.14.1 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -182,6 +182,10 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Thu Mar 16 2023 Tibor Dudlák - 1.14.1-1 +- a9c4e62 fix: mrack not re-provisioning hosts which were destroyed (Tibor Dudlák) +- 17b45e4 fix: Replace coroutines with tasks to avoid RuntimeError (David Pascual) + * Wed Mar 08 2023 Tibor Dudlák - 1.14.0-1 - e319b73 refactor(AWS): change variable name typo in get_ip_addresses (Tibor Dudlák) - d95e65f fix(OpenStack): Add missing await for self._load_limits() method call (Tibor Dudlák) diff --git a/sources b/sources index fc4ede6..6980420 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.14.0.tar.gz) = 4cad29bffc9e3cf735b2b0480081b0214d628ea84836fa83aa2a7e1d0d65693557806921cb0ed320ac6aec74b52df0b0b9296b033056e0e3e03ed2c1bf9d4e33 +SHA512 (mrack-1.14.1.tar.gz) = 0fd7c4ca68f9270e177188d4da4c75872b82c6ff9be03d634ab78d816634564643075fc86f82a08782ef040c9520ee865fff320de4c5366e0427f382985e9e8b From 4d2da6aa4a39700edabd7e036b0b93deb256b4f1 Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 18 Apr 2023 15:47:40 +0000 Subject: [PATCH 36/66] [packit] 1.15.0 upstream release Upstream tag: v1.15.0 Upstream commit: 5903fb92 --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 16 +++++++++++++++- sources | 2 +- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e8cf0e0..919dd58 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /mrack-1.13.3.tar.gz /mrack-1.14.0.tar.gz /mrack-1.14.1.tar.gz +/mrack-1.15.0.tar.gz diff --git a/README.packit b/README.packit index 680aef1..91a0cf8 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.69.0.post12+g060b82c. +The file was generated using packit 0.74.0.post3+g82517c4. diff --git a/mrack.spec b/mrack.spec index de9eac7..e6af881 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.14.1 +Version: 1.15.0 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -182,6 +182,20 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Tue Apr 18 2023 Tibor Dudlák - 1.15.0-1 +- f9f0e33 test: Add missing strategy_retry test (Tibor Dudlák) +- 121c5db refactor(provider): take max_utilization out to method to ease mocking (Tibor Dudlák) +- dc74ced test: Add missing tests for fixed code from https://github.com/neoave/mrack/pull/245 (Tibor Dudlák) +- 86393ab feat(outputs): preset username and password for windows host in pytest-mh (Tibor Dudlák) +- 4c26b5f feat(outputs): merge nested dictionary instead of overriding it (Tibor Dudlák) +- 4dde2e5 feat(utils): add merge_dict (Tibor Dudlák) +- 5440be1 refactor: fixes _openstack_gather_responses test warnings and exec time (David Pascual) +- e29031b fix: Handle 403 AuthError (out of quota) in openstack provisioning (David Pascual) +- a4e5075 feat: configurable ssh options (Petr Vobornik) +- e9d716e chore: fix docs dependencies in tox run (Petr Vobornik) +- 6f1943b chore: add Markdown support to docs and add design section (Petr Vobornik) +- 88458e1 docs: SSH options design (Petr Vobornik) + * Thu Mar 16 2023 Tibor Dudlák - 1.14.1-1 - a9c4e62 fix: mrack not re-provisioning hosts which were destroyed (Tibor Dudlák) - 17b45e4 fix: Replace coroutines with tasks to avoid RuntimeError (David Pascual) diff --git a/sources b/sources index 6980420..d24c6ee 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.14.1.tar.gz) = 0fd7c4ca68f9270e177188d4da4c75872b82c6ff9be03d634ab78d816634564643075fc86f82a08782ef040c9520ee865fff320de4c5366e0427f382985e9e8b +SHA512 (mrack-1.15.0.tar.gz) = 7e28f033bc29a5b0d12b44088ac7d43a25020afb4997eb510e7603c0ecf037d82b805edbd1ac629933020fbc1387e0c0c892c58b5e964773d1f69cb6304d4d25 From 2955a7b82388211b4e3c81a342b68233eb764e2c Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 18 Apr 2023 15:49:01 +0000 Subject: [PATCH 37/66] [packit] 1.15.0 upstream release Upstream tag: v1.15.0 Upstream commit: 5903fb92 --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 16 +++++++++++++++- sources | 2 +- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e8cf0e0..919dd58 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /mrack-1.13.3.tar.gz /mrack-1.14.0.tar.gz /mrack-1.14.1.tar.gz +/mrack-1.15.0.tar.gz diff --git a/README.packit b/README.packit index 680aef1..91a0cf8 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.69.0.post12+g060b82c. +The file was generated using packit 0.74.0.post3+g82517c4. diff --git a/mrack.spec b/mrack.spec index de9eac7..e6af881 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.14.1 +Version: 1.15.0 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -182,6 +182,20 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Tue Apr 18 2023 Tibor Dudlák - 1.15.0-1 +- f9f0e33 test: Add missing strategy_retry test (Tibor Dudlák) +- 121c5db refactor(provider): take max_utilization out to method to ease mocking (Tibor Dudlák) +- dc74ced test: Add missing tests for fixed code from https://github.com/neoave/mrack/pull/245 (Tibor Dudlák) +- 86393ab feat(outputs): preset username and password for windows host in pytest-mh (Tibor Dudlák) +- 4c26b5f feat(outputs): merge nested dictionary instead of overriding it (Tibor Dudlák) +- 4dde2e5 feat(utils): add merge_dict (Tibor Dudlák) +- 5440be1 refactor: fixes _openstack_gather_responses test warnings and exec time (David Pascual) +- e29031b fix: Handle 403 AuthError (out of quota) in openstack provisioning (David Pascual) +- a4e5075 feat: configurable ssh options (Petr Vobornik) +- e9d716e chore: fix docs dependencies in tox run (Petr Vobornik) +- 6f1943b chore: add Markdown support to docs and add design section (Petr Vobornik) +- 88458e1 docs: SSH options design (Petr Vobornik) + * Thu Mar 16 2023 Tibor Dudlák - 1.14.1-1 - a9c4e62 fix: mrack not re-provisioning hosts which were destroyed (Tibor Dudlák) - 17b45e4 fix: Replace coroutines with tasks to avoid RuntimeError (David Pascual) diff --git a/sources b/sources index 6980420..d24c6ee 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.14.1.tar.gz) = 0fd7c4ca68f9270e177188d4da4c75872b82c6ff9be03d634ab78d816634564643075fc86f82a08782ef040c9520ee865fff320de4c5366e0427f382985e9e8b +SHA512 (mrack-1.15.0.tar.gz) = 7e28f033bc29a5b0d12b44088ac7d43a25020afb4997eb510e7603c0ecf037d82b805edbd1ac629933020fbc1387e0c0c892c58b5e964773d1f69cb6304d4d25 From b8d24889dde539ad1d4763f5c44a5d469812fb5d Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 13 Jun 2023 14:03:13 +0000 Subject: [PATCH 38/66] [packit] 1.15.1 upstream release Upstream tag: v1.15.1 Upstream commit: 0135d465 --- .gitignore | 1 + .packit.yaml | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++- README.packit | 2 +- mrack.spec | 11 ++++++- sources | 2 +- 5 files changed, 97 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 919dd58..aacb3e8 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /mrack-1.14.0.tar.gz /mrack-1.14.1.tar.gz /mrack-1.15.0.tar.gz +/mrack-1.15.1.tar.gz diff --git a/.packit.yaml b/.packit.yaml index ca9e301..c2ddda4 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -42,10 +42,15 @@ actions: - "python3 setup.py --version" jobs: + - job: copr_build + trigger: pull_request + release_suffix: "99.dev.{PACKIT_PROJECT_BRANCH}" + targets: [fedora-all, epel-8, epel-9] + - job: tests trigger: pull_request + identifier: "upstream-smoke" targets: [fedora-all, epel-8, epel-9] - release_suffix: "99.dev.{PACKIT_PROJECT_BRANCH}" - job: copr_build trigger: commit @@ -68,3 +73,81 @@ jobs: - job: bodhi_update trigger: commit dist_git_branches: [fedora-branched, epel-8, epel-9] # rawhide updates are created automatically + + # pr_osp + - &internal_test # use openstack (osp) tests as template for other test cases + job: tests + fmf_url: "https://gitlab.cee.redhat.com/idm-ops/mrack-internal-tests" + fmf_ref: "main" + use_internal_tf: True + targets: [fedora-latest-stable] + identifier: "internal-provisioning-osp" + trigger: pull_request + env: + MRACK_TEST_CASE: "provisioning-osp" + + - &pr_aws + <<: *internal_test + identifier: "internal-provisioning-aws" + env: + MRACK_TEST_CASE: "provisioning-aws" + + - &pr_bkr_cpu + <<: *internal_test + identifier: "internal-provisioning-bkr-c9s-req1cpu" + env: + MRACK_TEST_CASE: "provisioning-bkr-c9s-req1cpu" + + - &pr_bkr_ppc64le + <<: *internal_test + identifier: "internal-provisioning-bkr-fedora-ppc64le" + env: + MRACK_TEST_CASE: "provisioning-bkr-fedora-ppc64le" + + - &pr_bkr_mem_cpu + <<: *internal_test + identifier: "internal-provisioning-bkr-rhel-8-req-2048mem-2cpu" + env: + MRACK_TEST_CASE: "provisioning-bkr-rhel-8-req-2048mem-2cpu" + + - &pr_bkr_mem + <<: *internal_test + identifier: "internal-provisioning-bkr-rhel-9-req-4069mem" + env: + MRACK_TEST_CASE: "provisioning-bkr-rhel-9-req-4069mem" + + - &pr_mrack_all_ssh + <<: *internal_test + identifier: "internal-all-providers-ssh" + trigger: pull_request + env: + MRACK_TEST_CASE: "all-providers-ssh" + +# run the same internal tests as in PR for commit in main + - &main_osp + <<: *internal_test # pr_osp + trigger: commit + + - &main_aws + <<: *pr_aws + trigger: commit + + - &main_bkr_ppc64le + <<: *pr_bkr_ppc64le + trigger: commit + + - &main_bkr_cpu + <<: *pr_bkr_cpu + trigger: commit + + - &main_bkr_mem_cpu + <<: *pr_bkr_mem_cpu + trigger: commit + + - &main_bkr_mem + <<: *pr_bkr_mem + trigger: commit + + - &main_mrack_all_ssh + <<: *pr_mrack_all_ssh + trigger: commit diff --git a/README.packit b/README.packit index 91a0cf8..07bc213 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.74.0.post3+g82517c4. +The file was generated using packit 0.76.0.post10+g0dcb396. diff --git a/mrack.spec b/mrack.spec index e6af881..5dfd052 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.15.0 +Version: 1.15.1 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -182,6 +182,15 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Tue Jun 13 2023 Tibor Dudlák - 1.15.1-1 +- 608c763 chore(Packit): Use yaml magic to run same internal tests for PRs and commits to main (Tibor Dudlák) +- 8062a20 refactor: more verbose output when (re)provisioning (Tibor Dudlák) +- 19b52f8 test(OpenStack): Add reprovision with dynamic result tests (Tibor Dudlák) +- fd111f5 fix: Do not reprovision all hosts when server error is detected (Tibor Dudlák) +- 6e499f6 fix: Use lower cooldown time to not be too slow in re-provisioning (Tibor Dudlák) +- e03793c chore(Packit): Add internalt tests per pull request (Tibor Dudlák) +- 44023eb chore(Packit): add missing build job(s) to Packit config (Tibor Dudlák) + * Tue Apr 18 2023 Tibor Dudlák - 1.15.0-1 - f9f0e33 test: Add missing strategy_retry test (Tibor Dudlák) - 121c5db refactor(provider): take max_utilization out to method to ease mocking (Tibor Dudlák) diff --git a/sources b/sources index d24c6ee..19f868d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.15.0.tar.gz) = 7e28f033bc29a5b0d12b44088ac7d43a25020afb4997eb510e7603c0ecf037d82b805edbd1ac629933020fbc1387e0c0c892c58b5e964773d1f69cb6304d4d25 +SHA512 (mrack-1.15.1.tar.gz) = 40306867def7c56da1e916a8968bc3d5e6e236cb4de63cc9fd5144ecf136d6e9cee2e5879b46a09c01ee625f787c750ec9e7ef4531b164ea46c7090d7a955f22 From ff71fa8f3bdd1ca1f0c67bcc2d9df6e032aee390 Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 13 Jun 2023 14:03:33 +0000 Subject: [PATCH 39/66] [packit] 1.15.1 upstream release Upstream tag: v1.15.1 Upstream commit: 0135d465 --- .gitignore | 1 + .packit.yaml | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++- README.packit | 2 +- mrack.spec | 11 ++++++- sources | 2 +- 5 files changed, 97 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 919dd58..aacb3e8 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /mrack-1.14.0.tar.gz /mrack-1.14.1.tar.gz /mrack-1.15.0.tar.gz +/mrack-1.15.1.tar.gz diff --git a/.packit.yaml b/.packit.yaml index ca9e301..c2ddda4 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -42,10 +42,15 @@ actions: - "python3 setup.py --version" jobs: + - job: copr_build + trigger: pull_request + release_suffix: "99.dev.{PACKIT_PROJECT_BRANCH}" + targets: [fedora-all, epel-8, epel-9] + - job: tests trigger: pull_request + identifier: "upstream-smoke" targets: [fedora-all, epel-8, epel-9] - release_suffix: "99.dev.{PACKIT_PROJECT_BRANCH}" - job: copr_build trigger: commit @@ -68,3 +73,81 @@ jobs: - job: bodhi_update trigger: commit dist_git_branches: [fedora-branched, epel-8, epel-9] # rawhide updates are created automatically + + # pr_osp + - &internal_test # use openstack (osp) tests as template for other test cases + job: tests + fmf_url: "https://gitlab.cee.redhat.com/idm-ops/mrack-internal-tests" + fmf_ref: "main" + use_internal_tf: True + targets: [fedora-latest-stable] + identifier: "internal-provisioning-osp" + trigger: pull_request + env: + MRACK_TEST_CASE: "provisioning-osp" + + - &pr_aws + <<: *internal_test + identifier: "internal-provisioning-aws" + env: + MRACK_TEST_CASE: "provisioning-aws" + + - &pr_bkr_cpu + <<: *internal_test + identifier: "internal-provisioning-bkr-c9s-req1cpu" + env: + MRACK_TEST_CASE: "provisioning-bkr-c9s-req1cpu" + + - &pr_bkr_ppc64le + <<: *internal_test + identifier: "internal-provisioning-bkr-fedora-ppc64le" + env: + MRACK_TEST_CASE: "provisioning-bkr-fedora-ppc64le" + + - &pr_bkr_mem_cpu + <<: *internal_test + identifier: "internal-provisioning-bkr-rhel-8-req-2048mem-2cpu" + env: + MRACK_TEST_CASE: "provisioning-bkr-rhel-8-req-2048mem-2cpu" + + - &pr_bkr_mem + <<: *internal_test + identifier: "internal-provisioning-bkr-rhel-9-req-4069mem" + env: + MRACK_TEST_CASE: "provisioning-bkr-rhel-9-req-4069mem" + + - &pr_mrack_all_ssh + <<: *internal_test + identifier: "internal-all-providers-ssh" + trigger: pull_request + env: + MRACK_TEST_CASE: "all-providers-ssh" + +# run the same internal tests as in PR for commit in main + - &main_osp + <<: *internal_test # pr_osp + trigger: commit + + - &main_aws + <<: *pr_aws + trigger: commit + + - &main_bkr_ppc64le + <<: *pr_bkr_ppc64le + trigger: commit + + - &main_bkr_cpu + <<: *pr_bkr_cpu + trigger: commit + + - &main_bkr_mem_cpu + <<: *pr_bkr_mem_cpu + trigger: commit + + - &main_bkr_mem + <<: *pr_bkr_mem + trigger: commit + + - &main_mrack_all_ssh + <<: *pr_mrack_all_ssh + trigger: commit diff --git a/README.packit b/README.packit index 91a0cf8..07bc213 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.74.0.post3+g82517c4. +The file was generated using packit 0.76.0.post10+g0dcb396. diff --git a/mrack.spec b/mrack.spec index e6af881..5dfd052 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.15.0 +Version: 1.15.1 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -182,6 +182,15 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Tue Jun 13 2023 Tibor Dudlák - 1.15.1-1 +- 608c763 chore(Packit): Use yaml magic to run same internal tests for PRs and commits to main (Tibor Dudlák) +- 8062a20 refactor: more verbose output when (re)provisioning (Tibor Dudlák) +- 19b52f8 test(OpenStack): Add reprovision with dynamic result tests (Tibor Dudlák) +- fd111f5 fix: Do not reprovision all hosts when server error is detected (Tibor Dudlák) +- 6e499f6 fix: Use lower cooldown time to not be too slow in re-provisioning (Tibor Dudlák) +- e03793c chore(Packit): Add internalt tests per pull request (Tibor Dudlák) +- 44023eb chore(Packit): add missing build job(s) to Packit config (Tibor Dudlák) + * Tue Apr 18 2023 Tibor Dudlák - 1.15.0-1 - f9f0e33 test: Add missing strategy_retry test (Tibor Dudlák) - 121c5db refactor(provider): take max_utilization out to method to ease mocking (Tibor Dudlák) diff --git a/sources b/sources index d24c6ee..19f868d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.15.0.tar.gz) = 7e28f033bc29a5b0d12b44088ac7d43a25020afb4997eb510e7603c0ecf037d82b805edbd1ac629933020fbc1387e0c0c892c58b5e964773d1f69cb6304d4d25 +SHA512 (mrack-1.15.1.tar.gz) = 40306867def7c56da1e916a8968bc3d5e6e236cb4de63cc9fd5144ecf136d6e9cee2e5879b46a09c01ee625f787c750ec9e7ef4531b164ea46c7090d7a955f22 From 9d3064cd7bcc84cf4d1d1bd18119bcf3f74cd28f Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 14 Jun 2023 20:21:28 +0200 Subject: [PATCH 40/66] Rebuilt for Python 3.12 --- mrack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mrack.spec b/mrack.spec index 5dfd052..4b99a9b 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.15.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -182,6 +182,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Wed Jun 14 2023 Python Maint - 1.15.1-2 +- Rebuilt for Python 3.12 + * Tue Jun 13 2023 Tibor Dudlák - 1.15.1-1 - 608c763 chore(Packit): Use yaml magic to run same internal tests for PRs and commits to main (Tibor Dudlák) - 8062a20 refactor: more verbose output when (re)provisioning (Tibor Dudlák) From a20dd66540db9a421b13a48bd790092054391042 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 15:56:50 +0000 Subject: [PATCH 41/66] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- mrack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mrack.spec b/mrack.spec index 4b99a9b..a48de21 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.15.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -182,6 +182,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 1.15.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Wed Jun 14 2023 Python Maint - 1.15.1-2 - Rebuilt for Python 3.12 From c21dad9a543a2274368d1ba5075e5b94e6aa233b Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 17 Oct 2023 18:21:29 +0000 Subject: [PATCH 42/66] [packit] 1.16.0 upstream release Upstream tag: v1.16.0 Upstream commit: 8e30c75c --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 27 ++++++++++++++++++++++++++- sources | 2 +- 4 files changed, 29 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index aacb3e8..5807604 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /mrack-1.14.1.tar.gz /mrack-1.15.0.tar.gz /mrack-1.15.1.tar.gz +/mrack-1.16.0.tar.gz diff --git a/README.packit b/README.packit index 07bc213..2a3acd4 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.76.0.post10+g0dcb396. +The file was generated using packit 0.84.0. diff --git a/mrack.spec b/mrack.spec index 5dfd052..9b2c8eb 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.15.1 +Version: 1.16.0 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -74,6 +74,8 @@ Requires: beaker-client %package -n python3-%{name}-openstack Summary: Openstack provider plugin for mrack Requires: python3-%{name}lib = %{version}-%{release} +Recommends: python3-aiofiles +Recommends: python3-os-client-config Recommends: python3-AsyncOpenStackClient %{?python_provide:%python_provide python3-%{name}-openstack} @@ -182,6 +184,29 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Mon Oct 09 2023 David Pascual Hernandez - 1.16.0-1 +- e8e20f1 chore(ci): Fix release workflow build step checking out wrong commit (David Pascual) +- 97a7cd0 chore: Bump asyncopenstackclient dependency version (David Pascual) +- 41b12e7 chore: Release version 1.16.0 (github-actions) +- 278d1b1 chore(release): Add PyPI action & extract copr step (Tibor Dudlák) +- 9bbd987 chore: Bump python-semantic-release to v7.34.4 (Tibor Dudlák) +- d6b7298 feat: Add new dependecies to mrack.spec file (David Pascual) +- 7bbda34 feat(OpenStack): Add clouds.yaml as an authentication method (David Pascual) +- a5b32e3 feat(OpenStack): Import publick key on provision (David Pascual) +- 1a29d86 test: fix pylint issues and use isinstance (Tibor Dudlák) +- db74ae0 fix(Beaker): Exception has been thrown as raise missed argument (Tibor Dudlák) +- de027fa docs(Beaker): Add hostRequires documentation section to guides (David Pascual) + +* Tue Sep 19 2023 Tibor Dudlák - 1.16.0-1 +- 278d1b1 chore(release): Add PyPI action & extract copr step (Tibor Dudlák) +- 9bbd987 chore: Bump python-semantic-release to v7.34.4 (Tibor Dudlák) +- d6b7298 feat: Add new dependecies to mrack.spec file (David Pascual) +- 7bbda34 feat(OpenStack): Add clouds.yaml as an authentication method (David Pascual) +- a5b32e3 feat(OpenStack): Import publick key on provision (David Pascual) +- 1a29d86 test: fix pylint issues and use isinstance (Tibor Dudlák) +- db74ae0 fix(Beaker): Exception has been thrown as raise missed argument (Tibor Dudlák) +- de027fa docs(Beaker): Add hostRequires documentation section to guides (David Pascual) + * Tue Jun 13 2023 Tibor Dudlák - 1.15.1-1 - 608c763 chore(Packit): Use yaml magic to run same internal tests for PRs and commits to main (Tibor Dudlák) - 8062a20 refactor: more verbose output when (re)provisioning (Tibor Dudlák) diff --git a/sources b/sources index 19f868d..1b9558b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.15.1.tar.gz) = 40306867def7c56da1e916a8968bc3d5e6e236cb4de63cc9fd5144ecf136d6e9cee2e5879b46a09c01ee625f787c750ec9e7ef4531b164ea46c7090d7a955f22 +SHA512 (mrack-1.16.0.tar.gz) = 012725487b39995f079eb7eea32de6e93e1f64f915baae37cedc9c41609b9e8df0aaf9a386c764bdf2561794fc26ecffd1c57ca039d9667f21645580c98a8591 From d37ba19d48d572898e995726d2075b93155ed42b Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 17 Oct 2023 18:21:47 +0000 Subject: [PATCH 43/66] [packit] 1.16.0 upstream release Upstream tag: v1.16.0 Upstream commit: 8e30c75c --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 31 +++++++++++++++++++++++++------ sources | 2 +- 4 files changed, 28 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index aacb3e8..5807604 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /mrack-1.14.1.tar.gz /mrack-1.15.0.tar.gz /mrack-1.15.1.tar.gz +/mrack-1.16.0.tar.gz diff --git a/README.packit b/README.packit index 07bc213..2a3acd4 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.76.0.post10+g0dcb396. +The file was generated using packit 0.84.0. diff --git a/mrack.spec b/mrack.spec index a48de21..9b2c8eb 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack -Version: 1.15.1 -Release: 3%{?dist} +Version: 1.16.0 +Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -74,6 +74,8 @@ Requires: beaker-client %package -n python3-%{name}-openstack Summary: Openstack provider plugin for mrack Requires: python3-%{name}lib = %{version}-%{release} +Recommends: python3-aiofiles +Recommends: python3-os-client-config Recommends: python3-AsyncOpenStackClient %{?python_provide:%python_provide python3-%{name}-openstack} @@ -182,11 +184,28 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog -* Thu Jul 20 2023 Fedora Release Engineering - 1.15.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild +* Mon Oct 09 2023 David Pascual Hernandez - 1.16.0-1 +- e8e20f1 chore(ci): Fix release workflow build step checking out wrong commit (David Pascual) +- 97a7cd0 chore: Bump asyncopenstackclient dependency version (David Pascual) +- 41b12e7 chore: Release version 1.16.0 (github-actions) +- 278d1b1 chore(release): Add PyPI action & extract copr step (Tibor Dudlák) +- 9bbd987 chore: Bump python-semantic-release to v7.34.4 (Tibor Dudlák) +- d6b7298 feat: Add new dependecies to mrack.spec file (David Pascual) +- 7bbda34 feat(OpenStack): Add clouds.yaml as an authentication method (David Pascual) +- a5b32e3 feat(OpenStack): Import publick key on provision (David Pascual) +- 1a29d86 test: fix pylint issues and use isinstance (Tibor Dudlák) +- db74ae0 fix(Beaker): Exception has been thrown as raise missed argument (Tibor Dudlák) +- de027fa docs(Beaker): Add hostRequires documentation section to guides (David Pascual) -* Wed Jun 14 2023 Python Maint - 1.15.1-2 -- Rebuilt for Python 3.12 +* Tue Sep 19 2023 Tibor Dudlák - 1.16.0-1 +- 278d1b1 chore(release): Add PyPI action & extract copr step (Tibor Dudlák) +- 9bbd987 chore: Bump python-semantic-release to v7.34.4 (Tibor Dudlák) +- d6b7298 feat: Add new dependecies to mrack.spec file (David Pascual) +- 7bbda34 feat(OpenStack): Add clouds.yaml as an authentication method (David Pascual) +- a5b32e3 feat(OpenStack): Import publick key on provision (David Pascual) +- 1a29d86 test: fix pylint issues and use isinstance (Tibor Dudlák) +- db74ae0 fix(Beaker): Exception has been thrown as raise missed argument (Tibor Dudlák) +- de027fa docs(Beaker): Add hostRequires documentation section to guides (David Pascual) * Tue Jun 13 2023 Tibor Dudlák - 1.15.1-1 - 608c763 chore(Packit): Use yaml magic to run same internal tests for PRs and commits to main (Tibor Dudlák) diff --git a/sources b/sources index 19f868d..1b9558b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.15.1.tar.gz) = 40306867def7c56da1e916a8968bc3d5e6e236cb4de63cc9fd5144ecf136d6e9cee2e5879b46a09c01ee625f787c750ec9e7ef4531b164ea46c7090d7a955f22 +SHA512 (mrack-1.16.0.tar.gz) = 012725487b39995f079eb7eea32de6e93e1f64f915baae37cedc9c41609b9e8df0aaf9a386c764bdf2561794fc26ecffd1c57ca039d9667f21645580c98a8591 From 5bb1b245444de92042758b8f48b437c91827e5a7 Mon Sep 17 00:00:00 2001 From: Packit Date: Mon, 23 Oct 2023 15:07:53 +0000 Subject: [PATCH 44/66] [packit] 1.17.0 upstream release Upstream tag: v1.17.0 Upstream commit: 859d911f --- .gitignore | 1 + .packit.yaml | 128 +++++++++++++++++++++++++-------------------------- mrack.spec | 8 +++- sources | 2 +- 4 files changed, 73 insertions(+), 66 deletions(-) diff --git a/.gitignore b/.gitignore index 5807604..e3693c9 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /mrack-1.15.0.tar.gz /mrack-1.15.1.tar.gz /mrack-1.16.0.tar.gz +/mrack-1.17.0.tar.gz diff --git a/.packit.yaml b/.packit.yaml index c2ddda4..83f3dee 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -74,80 +74,80 @@ jobs: trigger: commit dist_git_branches: [fedora-branched, epel-8, epel-9] # rawhide updates are created automatically - # pr_osp - - &internal_test # use openstack (osp) tests as template for other test cases - job: tests - fmf_url: "https://gitlab.cee.redhat.com/idm-ops/mrack-internal-tests" - fmf_ref: "main" - use_internal_tf: True - targets: [fedora-latest-stable] - identifier: "internal-provisioning-osp" - trigger: pull_request - env: - MRACK_TEST_CASE: "provisioning-osp" +# # pr_osp +# - &internal_test # use openstack (osp) tests as template for other test cases +# job: tests +# fmf_url: "https://gitlab.cee.redhat.com/idm-ops/mrack-internal-tests" +# fmf_ref: "main" +# use_internal_tf: True +# targets: [fedora-latest-stable] +# identifier: "internal-provisioning-osp" +# trigger: pull_request +# env: +# MRACK_TEST_CASE: "provisioning-osp" - - &pr_aws - <<: *internal_test - identifier: "internal-provisioning-aws" - env: - MRACK_TEST_CASE: "provisioning-aws" +# - &pr_aws +# <<: *internal_test +# identifier: "internal-provisioning-aws" +# env: +# MRACK_TEST_CASE: "provisioning-aws" - - &pr_bkr_cpu - <<: *internal_test - identifier: "internal-provisioning-bkr-c9s-req1cpu" - env: - MRACK_TEST_CASE: "provisioning-bkr-c9s-req1cpu" +# - &pr_bkr_cpu +# <<: *internal_test +# identifier: "internal-provisioning-bkr-c9s-req1cpu" +# env: +# MRACK_TEST_CASE: "provisioning-bkr-c9s-req1cpu" - - &pr_bkr_ppc64le - <<: *internal_test - identifier: "internal-provisioning-bkr-fedora-ppc64le" - env: - MRACK_TEST_CASE: "provisioning-bkr-fedora-ppc64le" +# - &pr_bkr_ppc64le +# <<: *internal_test +# identifier: "internal-provisioning-bkr-fedora-ppc64le" +# env: +# MRACK_TEST_CASE: "provisioning-bkr-fedora-ppc64le" - - &pr_bkr_mem_cpu - <<: *internal_test - identifier: "internal-provisioning-bkr-rhel-8-req-2048mem-2cpu" - env: - MRACK_TEST_CASE: "provisioning-bkr-rhel-8-req-2048mem-2cpu" +# - &pr_bkr_mem_cpu +# <<: *internal_test +# identifier: "internal-provisioning-bkr-rhel-8-req-2048mem-2cpu" +# env: +# MRACK_TEST_CASE: "provisioning-bkr-rhel-8-req-2048mem-2cpu" - - &pr_bkr_mem - <<: *internal_test - identifier: "internal-provisioning-bkr-rhel-9-req-4069mem" - env: - MRACK_TEST_CASE: "provisioning-bkr-rhel-9-req-4069mem" +# - &pr_bkr_mem +# <<: *internal_test +# identifier: "internal-provisioning-bkr-rhel-9-req-4069mem" +# env: +# MRACK_TEST_CASE: "provisioning-bkr-rhel-9-req-4069mem" - - &pr_mrack_all_ssh - <<: *internal_test - identifier: "internal-all-providers-ssh" - trigger: pull_request - env: - MRACK_TEST_CASE: "all-providers-ssh" +# - &pr_mrack_all_ssh +# <<: *internal_test +# identifier: "internal-all-providers-ssh" +# trigger: pull_request +# env: +# MRACK_TEST_CASE: "all-providers-ssh" -# run the same internal tests as in PR for commit in main - - &main_osp - <<: *internal_test # pr_osp - trigger: commit +# # run the same internal tests as in PR for commit in main +# - &main_osp +# <<: *internal_test # pr_osp +# trigger: commit - - &main_aws - <<: *pr_aws - trigger: commit +# - &main_aws +# <<: *pr_aws +# trigger: commit - - &main_bkr_ppc64le - <<: *pr_bkr_ppc64le - trigger: commit +# - &main_bkr_ppc64le +# <<: *pr_bkr_ppc64le +# trigger: commit - - &main_bkr_cpu - <<: *pr_bkr_cpu - trigger: commit +# - &main_bkr_cpu +# <<: *pr_bkr_cpu +# trigger: commit - - &main_bkr_mem_cpu - <<: *pr_bkr_mem_cpu - trigger: commit +# - &main_bkr_mem_cpu +# <<: *pr_bkr_mem_cpu +# trigger: commit - - &main_bkr_mem - <<: *pr_bkr_mem - trigger: commit +# - &main_bkr_mem +# <<: *pr_bkr_mem +# trigger: commit - - &main_mrack_all_ssh - <<: *pr_mrack_all_ssh - trigger: commit +# - &main_mrack_all_ssh +# <<: *pr_mrack_all_ssh +# trigger: commit diff --git a/mrack.spec b/mrack.spec index 9b2c8eb..5411d19 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.16.0 +Version: 1.17.0 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -184,6 +184,12 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Mon Oct 23 2023 David Pascual Hernandez - 1.17.0-1 +- 5251d90 chore(ci): Temporarely remove packit tests (David Pascual) +- 3a59761 feat(openstack): Append API version to auth_url in credentials (David Pascual) +- 97a5355 chore(release): Update semantic release action name and version (David Pascual) +- 6d6cdc6 chore(release): Upload distribution package to release assets (David Pascual) + * Mon Oct 09 2023 David Pascual Hernandez - 1.16.0-1 - e8e20f1 chore(ci): Fix release workflow build step checking out wrong commit (David Pascual) - 97a7cd0 chore: Bump asyncopenstackclient dependency version (David Pascual) diff --git a/sources b/sources index 1b9558b..3cc046c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.16.0.tar.gz) = 012725487b39995f079eb7eea32de6e93e1f64f915baae37cedc9c41609b9e8df0aaf9a386c764bdf2561794fc26ecffd1c57ca039d9667f21645580c98a8591 +SHA512 (mrack-1.17.0.tar.gz) = 719e7bb52683da16718de246ca92d93fe887136d0783c7c79b4630b92318108c73038e1822cc1aa90225e542d4371564ce8e87e1504fcd93c518262b0db437fa From 4727d57ca64d8127381da38b979567b94a5b84f5 Mon Sep 17 00:00:00 2001 From: Packit Date: Mon, 23 Oct 2023 15:08:27 +0000 Subject: [PATCH 45/66] [packit] 1.17.0 upstream release Upstream tag: v1.17.0 Upstream commit: 859d911f --- .gitignore | 1 + .packit.yaml | 128 +++++++++++++++++++++++++-------------------------- mrack.spec | 8 +++- sources | 2 +- 4 files changed, 73 insertions(+), 66 deletions(-) diff --git a/.gitignore b/.gitignore index 5807604..e3693c9 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /mrack-1.15.0.tar.gz /mrack-1.15.1.tar.gz /mrack-1.16.0.tar.gz +/mrack-1.17.0.tar.gz diff --git a/.packit.yaml b/.packit.yaml index c2ddda4..83f3dee 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -74,80 +74,80 @@ jobs: trigger: commit dist_git_branches: [fedora-branched, epel-8, epel-9] # rawhide updates are created automatically - # pr_osp - - &internal_test # use openstack (osp) tests as template for other test cases - job: tests - fmf_url: "https://gitlab.cee.redhat.com/idm-ops/mrack-internal-tests" - fmf_ref: "main" - use_internal_tf: True - targets: [fedora-latest-stable] - identifier: "internal-provisioning-osp" - trigger: pull_request - env: - MRACK_TEST_CASE: "provisioning-osp" +# # pr_osp +# - &internal_test # use openstack (osp) tests as template for other test cases +# job: tests +# fmf_url: "https://gitlab.cee.redhat.com/idm-ops/mrack-internal-tests" +# fmf_ref: "main" +# use_internal_tf: True +# targets: [fedora-latest-stable] +# identifier: "internal-provisioning-osp" +# trigger: pull_request +# env: +# MRACK_TEST_CASE: "provisioning-osp" - - &pr_aws - <<: *internal_test - identifier: "internal-provisioning-aws" - env: - MRACK_TEST_CASE: "provisioning-aws" +# - &pr_aws +# <<: *internal_test +# identifier: "internal-provisioning-aws" +# env: +# MRACK_TEST_CASE: "provisioning-aws" - - &pr_bkr_cpu - <<: *internal_test - identifier: "internal-provisioning-bkr-c9s-req1cpu" - env: - MRACK_TEST_CASE: "provisioning-bkr-c9s-req1cpu" +# - &pr_bkr_cpu +# <<: *internal_test +# identifier: "internal-provisioning-bkr-c9s-req1cpu" +# env: +# MRACK_TEST_CASE: "provisioning-bkr-c9s-req1cpu" - - &pr_bkr_ppc64le - <<: *internal_test - identifier: "internal-provisioning-bkr-fedora-ppc64le" - env: - MRACK_TEST_CASE: "provisioning-bkr-fedora-ppc64le" +# - &pr_bkr_ppc64le +# <<: *internal_test +# identifier: "internal-provisioning-bkr-fedora-ppc64le" +# env: +# MRACK_TEST_CASE: "provisioning-bkr-fedora-ppc64le" - - &pr_bkr_mem_cpu - <<: *internal_test - identifier: "internal-provisioning-bkr-rhel-8-req-2048mem-2cpu" - env: - MRACK_TEST_CASE: "provisioning-bkr-rhel-8-req-2048mem-2cpu" +# - &pr_bkr_mem_cpu +# <<: *internal_test +# identifier: "internal-provisioning-bkr-rhel-8-req-2048mem-2cpu" +# env: +# MRACK_TEST_CASE: "provisioning-bkr-rhel-8-req-2048mem-2cpu" - - &pr_bkr_mem - <<: *internal_test - identifier: "internal-provisioning-bkr-rhel-9-req-4069mem" - env: - MRACK_TEST_CASE: "provisioning-bkr-rhel-9-req-4069mem" +# - &pr_bkr_mem +# <<: *internal_test +# identifier: "internal-provisioning-bkr-rhel-9-req-4069mem" +# env: +# MRACK_TEST_CASE: "provisioning-bkr-rhel-9-req-4069mem" - - &pr_mrack_all_ssh - <<: *internal_test - identifier: "internal-all-providers-ssh" - trigger: pull_request - env: - MRACK_TEST_CASE: "all-providers-ssh" +# - &pr_mrack_all_ssh +# <<: *internal_test +# identifier: "internal-all-providers-ssh" +# trigger: pull_request +# env: +# MRACK_TEST_CASE: "all-providers-ssh" -# run the same internal tests as in PR for commit in main - - &main_osp - <<: *internal_test # pr_osp - trigger: commit +# # run the same internal tests as in PR for commit in main +# - &main_osp +# <<: *internal_test # pr_osp +# trigger: commit - - &main_aws - <<: *pr_aws - trigger: commit +# - &main_aws +# <<: *pr_aws +# trigger: commit - - &main_bkr_ppc64le - <<: *pr_bkr_ppc64le - trigger: commit +# - &main_bkr_ppc64le +# <<: *pr_bkr_ppc64le +# trigger: commit - - &main_bkr_cpu - <<: *pr_bkr_cpu - trigger: commit +# - &main_bkr_cpu +# <<: *pr_bkr_cpu +# trigger: commit - - &main_bkr_mem_cpu - <<: *pr_bkr_mem_cpu - trigger: commit +# - &main_bkr_mem_cpu +# <<: *pr_bkr_mem_cpu +# trigger: commit - - &main_bkr_mem - <<: *pr_bkr_mem - trigger: commit +# - &main_bkr_mem +# <<: *pr_bkr_mem +# trigger: commit - - &main_mrack_all_ssh - <<: *pr_mrack_all_ssh - trigger: commit +# - &main_mrack_all_ssh +# <<: *pr_mrack_all_ssh +# trigger: commit diff --git a/mrack.spec b/mrack.spec index 9b2c8eb..5411d19 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.16.0 +Version: 1.17.0 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -184,6 +184,12 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Mon Oct 23 2023 David Pascual Hernandez - 1.17.0-1 +- 5251d90 chore(ci): Temporarely remove packit tests (David Pascual) +- 3a59761 feat(openstack): Append API version to auth_url in credentials (David Pascual) +- 97a5355 chore(release): Update semantic release action name and version (David Pascual) +- 6d6cdc6 chore(release): Upload distribution package to release assets (David Pascual) + * Mon Oct 09 2023 David Pascual Hernandez - 1.16.0-1 - e8e20f1 chore(ci): Fix release workflow build step checking out wrong commit (David Pascual) - 97a7cd0 chore: Bump asyncopenstackclient dependency version (David Pascual) diff --git a/sources b/sources index 1b9558b..3cc046c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.16.0.tar.gz) = 012725487b39995f079eb7eea32de6e93e1f64f915baae37cedc9c41609b9e8df0aaf9a386c764bdf2561794fc26ecffd1c57ca039d9667f21645580c98a8591 +SHA512 (mrack-1.17.0.tar.gz) = 719e7bb52683da16718de246ca92d93fe887136d0783c7c79b4630b92318108c73038e1822cc1aa90225e542d4371564ce8e87e1504fcd93c518262b0db437fa From 56d78b051f61fdb3e4beac72d67e6736ec46c96a Mon Sep 17 00:00:00 2001 From: Packit Date: Fri, 3 Nov 2023 11:06:18 +0000 Subject: [PATCH 46/66] [packit] 1.17.1 upstream release Upstream tag: v1.17.1 Upstream commit: 06a401e4 --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 5 ++++- sources | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e3693c9..d3bea54 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /mrack-1.15.1.tar.gz /mrack-1.16.0.tar.gz /mrack-1.17.0.tar.gz +/mrack-1.17.1.tar.gz diff --git a/README.packit b/README.packit index 2a3acd4..5998f60 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.84.0. +The file was generated using packit 0.85.0. diff --git a/mrack.spec b/mrack.spec index 5411d19..0255a78 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.17.0 +Version: 1.17.1 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -184,6 +184,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Fri Nov 03 2023 David Pascual Hernandez - 1.17.1-1 +- 583193a fix: curate_auth func changed to non-async (Kaleemullah Siddiqui) + * Mon Oct 23 2023 David Pascual Hernandez - 1.17.0-1 - 5251d90 chore(ci): Temporarely remove packit tests (David Pascual) - 3a59761 feat(openstack): Append API version to auth_url in credentials (David Pascual) diff --git a/sources b/sources index 3cc046c..0ab84cf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.17.0.tar.gz) = 719e7bb52683da16718de246ca92d93fe887136d0783c7c79b4630b92318108c73038e1822cc1aa90225e542d4371564ce8e87e1504fcd93c518262b0db437fa +SHA512 (mrack-1.17.1.tar.gz) = e58427f8468db7d41c7a0cd5e3dd109293049871bdb974dec6f3330a6d37b0335aa41659fca6f161ec10307844eaa0223de5445a635ae4d436241803f82dffda From 6246f53d8a2cd241cc16d7b3888922e70455de17 Mon Sep 17 00:00:00 2001 From: Packit Date: Wed, 17 Jan 2024 21:45:26 +0000 Subject: [PATCH 47/66] [packit] 1.18.0 upstream release Upstream tag: v1.18.0 Upstream commit: ab412cc9 --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 6 +++++- sources | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d3bea54..8ae6620 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /mrack-1.16.0.tar.gz /mrack-1.17.0.tar.gz /mrack-1.17.1.tar.gz +/mrack-1.18.0.tar.gz diff --git a/README.packit b/README.packit index 5998f60..115b422 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.85.0. +The file was generated using packit 0.88.0.post1.dev4+gc070191b. diff --git a/mrack.spec b/mrack.spec index 0255a78..c94b8a0 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.17.1 +Version: 1.18.0 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -77,6 +77,7 @@ Requires: python3-%{name}lib = %{version}-%{release} Recommends: python3-aiofiles Recommends: python3-os-client-config Recommends: python3-AsyncOpenStackClient +Recommends: python3-async-timeout %{?python_provide:%python_provide python3-%{name}-openstack} @@ -184,6 +185,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Mon Nov 27 2023 David Pascual Hernandez - 1.18.0-1 +- c158474 feat: Add async_timeout dependency (David Pascual) + * Fri Nov 03 2023 David Pascual Hernandez - 1.17.1-1 - 583193a fix: curate_auth func changed to non-async (Kaleemullah Siddiqui) diff --git a/sources b/sources index 0ab84cf..f94928c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.17.1.tar.gz) = e58427f8468db7d41c7a0cd5e3dd109293049871bdb974dec6f3330a6d37b0335aa41659fca6f161ec10307844eaa0223de5445a635ae4d436241803f82dffda +SHA512 (mrack-1.18.0.tar.gz) = 2a75e92a7c7b0316cb8ffb544dc33a2ceb729c5ca76743a4fa12d8873ff3764baeb7156b06647e43bfbcf45763277e3eb1cfecd4f60d76e236dca239a887586b From a81391b6cb7fc0e5bd6aaf2f51f70cc98ea5fa63 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 08:47:45 +0000 Subject: [PATCH 48/66] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- mrack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mrack.spec b/mrack.spec index c94b8a0..8ec4e87 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.18.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -185,6 +185,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 1.18.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Nov 27 2023 David Pascual Hernandez - 1.18.0-1 - c158474 feat: Add async_timeout dependency (David Pascual) From d65c84fdf510101b22b1e114818caec65ced443e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 08:14:14 +0000 Subject: [PATCH 49/66] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- mrack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mrack.spec b/mrack.spec index 8ec4e87..d309bba 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.18.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -185,6 +185,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 1.18.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 1.18.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From a80e67eb73b0ce6515a75db63d792a758b7222f2 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 11:10:44 +0200 Subject: [PATCH 50/66] Rebuilt for Python 3.13 --- mrack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mrack.spec b/mrack.spec index d309bba..3305471 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.18.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -185,6 +185,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Fri Jun 07 2024 Python Maint - 1.18.0-4 +- Rebuilt for Python 3.13 + * Thu Jan 25 2024 Fedora Release Engineering - 1.18.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From f272c8c854268d2984ef9c60e58eaf2d142143d3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 18:48:31 +0000 Subject: [PATCH 51/66] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- mrack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mrack.spec b/mrack.spec index 3305471..3f95e25 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.18.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -185,6 +185,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 1.18.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jun 07 2024 Python Maint - 1.18.0-4 - Rebuilt for Python 3.13 From 9b320b736178439bde6a38b9a639595cd438bf80 Mon Sep 17 00:00:00 2001 From: Packit Date: Thu, 30 May 2024 12:51:13 +0000 Subject: [PATCH 52/66] Update to 1.19.0 upstream release Upstream tag: v1.19.0 Upstream commit: 47fc2068 Commit authored by Packit automation (https://packit.dev/) --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 15 +++++++++++++-- sources | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 8ae6620..8b2afda 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /mrack-1.17.0.tar.gz /mrack-1.17.1.tar.gz /mrack-1.18.0.tar.gz +/mrack-1.19.0.tar.gz diff --git a/README.packit b/README.packit index 115b422..2fa216c 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.88.0.post1.dev4+gc070191b. +The file was generated using packit 0.97.1.post1.dev4+g1268842e. diff --git a/mrack.spec b/mrack.spec index 3f95e25..a0f3ea7 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack -Version: 1.18.0 -Release: 5%{?dist} +Version: 1.19.0 +Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -185,6 +185,17 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Thu Oct 03 2024 David Pascual Hernandez - 1.19.0-1 +- 6f81e37 test: speed-up tests by mocking gethostbyaddr (Petr Vobornik) +- 587a9c7 fix(beaker): supress 10_avc_check restraint plugin (Petr Vobornik) +- 2c0c2bb test: Add add_dict_to_node test (Petr Vobornik) +- f4324bf feat: handle list value for add_dict_to_node function (Petr Vobornik) +- f1e7590 fix: make delete_host function more robust (Petr Vobornik) +- 784d24b chore: bump black in pre-commit (David Pascual) +- f6f9131 chore(deps): bump black from 22.3.0 to 24.3.0 (David Pascual) +- a7db867 test: Add test for _get_recipe_info function (Petr Vobornik) +- aa25ff3 feat: Provide beaker log links (Petr Vobornik) + * Thu Jul 18 2024 Fedora Release Engineering - 1.18.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild diff --git a/sources b/sources index f94928c..4875fce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.18.0.tar.gz) = 2a75e92a7c7b0316cb8ffb544dc33a2ceb729c5ca76743a4fa12d8873ff3764baeb7156b06647e43bfbcf45763277e3eb1cfecd4f60d76e236dca239a887586b +SHA512 (mrack-1.19.0.tar.gz) = f7cf37dff95a11a833f785c3ae8e778bc25aa547276bf84c27c3f2aba6e885ba97221b511fd42ddc51902d91f47cd5dc5a771ca599be4ba7a2bd78534f63d11e From b75ceb94aacf6240a76851b29dcf74bc3edbffe3 Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 6 Aug 2024 05:22:44 +0000 Subject: [PATCH 53/66] Update to 1.21.0 upstream release Upstream tag: v1.21.0 Upstream commit: f65f5ece Commit authored by Packit automation (https://packit.dev/) --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 23 +++++++++-------------- sources | 2 +- 4 files changed, 12 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 8b2afda..27f164f 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /mrack-1.17.1.tar.gz /mrack-1.18.0.tar.gz /mrack-1.19.0.tar.gz +/mrack-1.21.0.tar.gz diff --git a/README.packit b/README.packit index 2fa216c..4df53f3 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.97.1.post1.dev4+g1268842e. +The file was generated using packit 0.100.1. diff --git a/mrack.spec b/mrack.spec index a0f3ea7..b4db982 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.19.0 +Version: 1.21.0 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -185,7 +185,14 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog -* Thu Oct 03 2024 David Pascual Hernandez - 1.19.0-1 +* Tue Aug 06 2024 Kaleemullah Siddiqui - 1.21.0-1 +- b3e0f7d feat: update pytest-mh output to work with latest version (Kaleemullah Siddiqui) + +* Tue Jul 16 2024 David Pascual Hernandez - 1.20.0-1 +- feeae04 feat: Add support for translanting %pre and main body part of kickstart (David Pascual) +- 236393c chore: Update deprecated actions (David Pascual) + +* Thu May 30 2024 David Pascual Hernandez - 1.19.0-1 - 6f81e37 test: speed-up tests by mocking gethostbyaddr (Petr Vobornik) - 587a9c7 fix(beaker): supress 10_avc_check restraint plugin (Petr Vobornik) - 2c0c2bb test: Add add_dict_to_node test (Petr Vobornik) @@ -196,18 +203,6 @@ rm -r src/%{name}.egg-info - a7db867 test: Add test for _get_recipe_info function (Petr Vobornik) - aa25ff3 feat: Provide beaker log links (Petr Vobornik) -* Thu Jul 18 2024 Fedora Release Engineering - 1.18.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Fri Jun 07 2024 Python Maint - 1.18.0-4 -- Rebuilt for Python 3.13 - -* Thu Jan 25 2024 Fedora Release Engineering - 1.18.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sun Jan 21 2024 Fedora Release Engineering - 1.18.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - * Mon Nov 27 2023 David Pascual Hernandez - 1.18.0-1 - c158474 feat: Add async_timeout dependency (David Pascual) diff --git a/sources b/sources index 4875fce..899d506 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.19.0.tar.gz) = f7cf37dff95a11a833f785c3ae8e778bc25aa547276bf84c27c3f2aba6e885ba97221b511fd42ddc51902d91f47cd5dc5a771ca599be4ba7a2bd78534f63d11e +SHA512 (mrack-1.21.0.tar.gz) = 43fae97604edfc6a647fe0988d144f90325e17c60c8530d1f520ac0bbf98ddcceb6d1b5d7a3064bc4fb78935b2d8a0b699891c0b09271c146e448703e34c04b7 From f8e3feb0ee6846d73bbc30e165ed6b4ba8c552c7 Mon Sep 17 00:00:00 2001 From: Packit Date: Thu, 17 Oct 2024 11:13:58 +0000 Subject: [PATCH 54/66] Update to 1.22.0 upstream release Upstream tag: v1.22.0 Upstream commit: aa2e3858 Commit authored by Packit automation (https://packit.dev/) --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 9 ++++++++- sources | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 27f164f..ca998f2 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /mrack-1.18.0.tar.gz /mrack-1.19.0.tar.gz /mrack-1.21.0.tar.gz +/mrack-1.22.0.tar.gz diff --git a/README.packit b/README.packit index 4df53f3..2bd3f40 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.100.1. +The file was generated using packit 0.102.1.post1.dev6+g64f7460b. diff --git a/mrack.spec b/mrack.spec index b4db982..12f9396 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.21.0 +Version: 1.22.0 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -185,6 +185,13 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Thu Oct 17 2024 David Pascual Hernandez - 1.22.0-1 +- f43d20f style: Reformat by black (David Pascual) +- 768bba5 fix: podman: set podman connection information for ansible (David Pascual) +- 4d0b63c chore: setup: package seccomp filter (David Pascual) +- 9b2d980 docs: Update seccomp configuration example (David Pascual) +- f3deca1 feat: podman: handle custom network configuration (David Pascual) + * Tue Aug 06 2024 Kaleemullah Siddiqui - 1.21.0-1 - b3e0f7d feat: update pytest-mh output to work with latest version (Kaleemullah Siddiqui) diff --git a/sources b/sources index 899d506..055dc9f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.21.0.tar.gz) = 43fae97604edfc6a647fe0988d144f90325e17c60c8530d1f520ac0bbf98ddcceb6d1b5d7a3064bc4fb78935b2d8a0b699891c0b09271c146e448703e34c04b7 +SHA512 (mrack-1.22.0.tar.gz) = 90b8c35cff5debf098b49cdb1521676502047f1c7747038fc8031b4f8b4ea1da6d3185f631e2c45adc1e28779636439a2767794f358ee02ef65258d6eded0e9f From 11899afe97398495f245e8c1a4509c8099eb667d Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 5 Nov 2024 12:40:06 +0000 Subject: [PATCH 55/66] Update to 1.23.0 upstream release Upstream tag: v1.23.0 Upstream commit: 962bcd00 Commit authored by Packit automation (https://packit.dev/) --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 6 +++++- sources | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index ca998f2..e98935c 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /mrack-1.19.0.tar.gz /mrack-1.21.0.tar.gz /mrack-1.22.0.tar.gz +/mrack-1.23.0.tar.gz diff --git a/README.packit b/README.packit index 2bd3f40..1b4760d 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.102.1.post1.dev6+g64f7460b. +The file was generated using packit 0.102.2.post1.dev4+g3142fcf8. diff --git a/mrack.spec b/mrack.spec index 12f9396..80f050c 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.22.0 +Version: 1.23.0 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -185,6 +185,10 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Tue Nov 05 2024 David Pascual Hernandez - 1.23.0-1 +- 64a84db feat: Add support for translanting job-owner of kickstart (David Pascual) +- 868523c feat: Add translantion for kernel_options and kernel_options_post (David Pascual) + * Thu Oct 17 2024 David Pascual Hernandez - 1.22.0-1 - f43d20f style: Reformat by black (David Pascual) - 768bba5 fix: podman: set podman connection information for ansible (David Pascual) diff --git a/sources b/sources index 055dc9f..afc9cbd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.22.0.tar.gz) = 90b8c35cff5debf098b49cdb1521676502047f1c7747038fc8031b4f8b4ea1da6d3185f631e2c45adc1e28779636439a2767794f358ee02ef65258d6eded0e9f +SHA512 (mrack-1.23.0.tar.gz) = 29e8bcdf8a074922ba6c980e7525b97995bd27009d38c8ae47683241bf1717cd4ad1a47ac7a058633e5b25a1309afbab9834d4647d4911304d6533c004951f1e From ac739649e4e894b91c83169e300792019ed96fc0 Mon Sep 17 00:00:00 2001 From: Packit Date: Mon, 16 Dec 2024 13:21:24 +0000 Subject: [PATCH 56/66] Update to 1.23.1 upstream release Upstream tag: v1.23.1 Upstream commit: bf24bc06 Commit authored by Packit automation (https://packit.dev/) --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 6 +++++- sources | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e98935c..ce915d9 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /mrack-1.21.0.tar.gz /mrack-1.22.0.tar.gz /mrack-1.23.0.tar.gz +/mrack-1.23.1.tar.gz diff --git a/README.packit b/README.packit index 1b4760d..5c0e101 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.102.2.post1.dev4+g3142fcf8. +The file was generated using packit 0.105.0.post1.dev2+g4453c0ec. diff --git a/mrack.spec b/mrack.spec index 80f050c..6e2e69a 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.23.0 +Version: 1.23.1 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -185,6 +185,10 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Mon Dec 16 2024 David Pascual Hernandez - 1.23.1-1 +- 0cabc75 fix: Translate job-group properly (David Pascual) +- 70e07c1 fix: Return empty list when there is no content in res_ks_list (David Pascual) + * Tue Nov 05 2024 David Pascual Hernandez - 1.23.0-1 - 64a84db feat: Add support for translanting job-owner of kickstart (David Pascual) - 868523c feat: Add translantion for kernel_options and kernel_options_post (David Pascual) diff --git a/sources b/sources index afc9cbd..f61daac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.23.0.tar.gz) = 29e8bcdf8a074922ba6c980e7525b97995bd27009d38c8ae47683241bf1717cd4ad1a47ac7a058633e5b25a1309afbab9834d4647d4911304d6533c004951f1e +SHA512 (mrack-1.23.1.tar.gz) = 012f5dbe37ee32258a70897de5b0fde5291f134b0db7ebcd822243ba0cefe3c33792b857958a3de44f9ef39358f886ba946be96d1eb8f059a02bbb4dad5b2fef From eb26389a31b74b8e84694a488d29f2189ab372a7 Mon Sep 17 00:00:00 2001 From: Packit Date: Thu, 9 Jan 2025 09:15:22 +0000 Subject: [PATCH 57/66] Update to 1.23.2 upstream release Upstream tag: v1.23.2 Upstream commit: 7bfeb845 Commit authored by Packit automation (https://packit.dev/) --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 5 ++++- sources | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index ce915d9..8cfd990 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /mrack-1.22.0.tar.gz /mrack-1.23.0.tar.gz /mrack-1.23.1.tar.gz +/mrack-1.23.2.tar.gz diff --git a/README.packit b/README.packit index 5c0e101..8c905b9 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.105.0.post1.dev2+g4453c0ec. +The file was generated using packit 0.106.0.post1.dev8+g521f1e1d. diff --git a/mrack.spec b/mrack.spec index 6e2e69a..10ce07d 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.23.1 +Version: 1.23.2 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -185,6 +185,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Thu Jan 09 2025 David Pascual Hernandez - 1.23.2-1 +- 600203c fix: Translate host_requires properly (David Pascual) + * Mon Dec 16 2024 David Pascual Hernandez - 1.23.1-1 - 0cabc75 fix: Translate job-group properly (David Pascual) - 70e07c1 fix: Return empty list when there is no content in res_ks_list (David Pascual) diff --git a/sources b/sources index f61daac..91cee89 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.23.1.tar.gz) = 012f5dbe37ee32258a70897de5b0fde5291f134b0db7ebcd822243ba0cefe3c33792b857958a3de44f9ef39358f886ba946be96d1eb8f059a02bbb4dad5b2fef +SHA512 (mrack-1.23.2.tar.gz) = 0fe3456d01550c2a1808d77ea62ad283e3fabc8cf5bf1acbefb2d2a7779838cb6f37010fa5b7fd7eef51912bf75c4695bd434eea87b0bdfc7460254dc530b1dd From c42f182ff9a47adcb332e4f9dc6d0253c2c23d26 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 19:16:58 +0000 Subject: [PATCH 58/66] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- mrack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mrack.spec b/mrack.spec index 10ce07d..1a97715 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.23.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -185,6 +185,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 1.23.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jan 09 2025 David Pascual Hernandez - 1.23.2-1 - 600203c fix: Translate host_requires properly (David Pascual) From 3d04fb333ed8446154aa54c70f656ba7413ec605 Mon Sep 17 00:00:00 2001 From: Packit Date: Fri, 21 Mar 2025 15:52:35 +0000 Subject: [PATCH 59/66] Update to 1.23.3 upstream release Upstream tag: v1.23.3 Upstream commit: 75eb8ea4 Commit authored by Packit automation (https://packit.dev/) --- .gitignore | 1 + README.packit | 2 +- mrack.spec | 10 ++++++---- sources | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 8cfd990..a84b3a9 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ /mrack-1.23.0.tar.gz /mrack-1.23.1.tar.gz /mrack-1.23.2.tar.gz +/mrack-1.23.3.tar.gz diff --git a/README.packit b/README.packit index 8c905b9..33d5f21 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.106.0.post1.dev8+g521f1e1d. +The file was generated using packit 1.2.0.post1.dev19+g772be563. diff --git a/mrack.spec b/mrack.spec index 1a97715..61a3114 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack -Version: 1.23.2 -Release: 2%{?dist} +Version: 1.23.3 +Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -185,8 +185,10 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog -* Fri Jan 17 2025 Fedora Release Engineering - 1.23.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild +* Fri Mar 21 2025 David Pascual Hernandez - 1.23.3-1 +- 4da221c fix: Translate nested or/and constraint properly (David Pascual) +- 60275ee fix: Make distro_variants working as patterns (David Pascual) +- c02cc90 docs: Update maintainer email (David Pascual) * Thu Jan 09 2025 David Pascual Hernandez - 1.23.2-1 - 600203c fix: Translate host_requires properly (David Pascual) diff --git a/sources b/sources index 91cee89..9bbe0a7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.23.2.tar.gz) = 0fe3456d01550c2a1808d77ea62ad283e3fabc8cf5bf1acbefb2d2a7779838cb6f37010fa5b7fd7eef51912bf75c4695bd434eea87b0bdfc7460254dc530b1dd +SHA512 (mrack-1.23.3.tar.gz) = 42641754442c75db806086804b9581a49ed2c2c2755b2cc0e63c00cf8858bcd1f56016fad6baf0293e047868aec0f7e0f2a6227555ac6573aca7c90c9a05db6e From aa63646d9637424acd9fe455c14ee2eacb7e1cf3 Mon Sep 17 00:00:00 2001 From: Packit Date: Wed, 28 May 2025 14:55:45 +0000 Subject: [PATCH 60/66] Update to 1.23.4 upstream release Upstream tag: v1.23.4 Upstream commit: 64f69c1e Commit authored by Packit automation (https://packit.dev/) --- .gitignore | 1 + .packit.yaml | 12 ++++++------ README.packit | 2 +- mrack.spec | 13 ++++++++++++- sources | 2 +- 5 files changed, 21 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index a84b3a9..6661fa1 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ /mrack-1.23.1.tar.gz /mrack-1.23.2.tar.gz /mrack-1.23.3.tar.gz +/mrack-1.23.4.tar.gz diff --git a/.packit.yaml b/.packit.yaml index 83f3dee..e3612f7 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -45,7 +45,7 @@ jobs: - job: copr_build trigger: pull_request release_suffix: "99.dev.{PACKIT_PROJECT_BRANCH}" - targets: [fedora-all, epel-8, epel-9] + targets: [fedora-all, epel-all] - job: tests trigger: pull_request @@ -54,25 +54,25 @@ jobs: - job: copr_build trigger: commit - targets: [fedora-all, epel-8, epel-9] + targets: [fedora-all, epel-all] - job: copr_build trigger: release owner: "@freeipa" project: neoave - targets: [fedora-all, epel-8, epel-9] + targets: [fedora-all, epel-all] - job: propose_downstream trigger: release - dist_git_branches: [fedora-all, epel-8, epel-9] + dist_git_branches: [fedora-all, epel-all] - job: koji_build trigger: commit - dist_git_branches: [fedora-all, epel-8, epel-9] + dist_git_branches: [fedora-all, epel-all] - job: bodhi_update trigger: commit - dist_git_branches: [fedora-branched, epel-8, epel-9] # rawhide updates are created automatically + dist_git_branches: [fedora-branched, epel-all] # rawhide updates are created automatically # # pr_osp # - &internal_test # use openstack (osp) tests as template for other test cases diff --git a/README.packit b/README.packit index 33d5f21..7e268b5 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 1.2.0.post1.dev19+g772be563. +The file was generated using packit 1.8.0.post1.dev15+g39511efc. diff --git a/mrack.spec b/mrack.spec index 61a3114..4ee323b 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.23.3 +Version: 1.23.4 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -185,6 +185,17 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Wed May 28 2025 David Pascual Hernandez - 1.23.4-1 +- 75d8c3b chore: Enable epel-10 builds in Packit (David Pascual) +- 4a98123 fix: Support pass fetch_url to task (David Pascual) + +* Fri Apr 25 2025 David Pascual Hernandez - 1.23.3-1 +- cee2f5b fix : Not try to login beaker hub unless needed (David Pascual) +- 75eb8ea chore: Release version 1.23.3 (github-actions) +- 4da221c fix: Translate nested or/and constraint properly (David Pascual) +- 60275ee fix: Make distro_variants working as patterns (David Pascual) +- c02cc90 docs: Update maintainer email (David Pascual) + * Fri Mar 21 2025 David Pascual Hernandez - 1.23.3-1 - 4da221c fix: Translate nested or/and constraint properly (David Pascual) - 60275ee fix: Make distro_variants working as patterns (David Pascual) diff --git a/sources b/sources index 9bbe0a7..3fa9d0e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.23.3.tar.gz) = 42641754442c75db806086804b9581a49ed2c2c2755b2cc0e63c00cf8858bcd1f56016fad6baf0293e047868aec0f7e0f2a6227555ac6573aca7c90c9a05db6e +SHA512 (mrack-1.23.4.tar.gz) = 4bab63947e92a2d6e7de5d9abb1229740b93bbd2e935b91e65beae7ac15f6fd2b848bc6bae7d6e2e755605bd7420f5c425ef98f78d656c91f4fe8ff80819416f From 8dabca6f5f4ad73027fd81ba79b4134a98398fec Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 23:21:05 +0200 Subject: [PATCH 61/66] Rebuilt for Python 3.14 --- mrack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mrack.spec b/mrack.spec index 4ee323b..0a14a22 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.23.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -185,6 +185,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Mon Jun 02 2025 Python Maint - 1.23.4-2 +- Rebuilt for Python 3.14 + * Wed May 28 2025 David Pascual Hernandez - 1.23.4-1 - 75d8c3b chore: Enable epel-10 builds in Packit (David Pascual) - 4a98123 fix: Support pass fetch_url to task (David Pascual) From c509b2c23339c4bd3c3a1021ec2796a63fa8aef4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 22:25:53 +0000 Subject: [PATCH 62/66] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- mrack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mrack.spec b/mrack.spec index 0a14a22..8dbad45 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.23.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -185,6 +185,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 1.23.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Mon Jun 02 2025 Python Maint - 1.23.4-2 - Rebuilt for Python 3.14 From de1a68f2e7c600ea5b4e4c0f832725a0241877b7 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 13:00:52 +0200 Subject: [PATCH 63/66] Rebuilt for Python 3.14.0rc2 bytecode --- mrack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mrack.spec b/mrack.spec index 8dbad45..cb4aa5b 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.23.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -185,6 +185,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Fri Aug 15 2025 Python Maint - 1.23.4-4 +- Rebuilt for Python 3.14.0rc2 bytecode + * Thu Jul 24 2025 Fedora Release Engineering - 1.23.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From d00f1a756ab84c3d4aa5503d8c105b24f8a3b430 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 12:31:48 +0200 Subject: [PATCH 64/66] Rebuilt for Python 3.14.0rc3 bytecode --- mrack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mrack.spec b/mrack.spec index cb4aa5b..247babb 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack Version: 1.23.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -185,6 +185,9 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Fri Sep 19 2025 Python Maint - 1.23.4-5 +- Rebuilt for Python 3.14.0rc3 bytecode + * Fri Aug 15 2025 Python Maint - 1.23.4-4 - Rebuilt for Python 3.14.0rc2 bytecode From b525b8bb68ffa74982f9620dc8d4c92413f4c915 Mon Sep 17 00:00:00 2001 From: Packit Date: Thu, 25 Sep 2025 07:07:31 +0000 Subject: [PATCH 65/66] Update to 1.24.0 upstream release Upstream tag: v1.24.0 Upstream commit: a0e84a2f Commit authored by Packit automation (https://packit.dev/) --- .gitignore | 1 + .packit.yaml | 12 ++++++------ README.packit | 2 +- mrack.spec | 22 ++++++++++------------ sources | 2 +- 5 files changed, 19 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 6661fa1..18da2c4 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /mrack-1.23.2.tar.gz /mrack-1.23.3.tar.gz /mrack-1.23.4.tar.gz +/mrack-1.24.0.tar.gz diff --git a/.packit.yaml b/.packit.yaml index e3612f7..59e7a85 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -45,7 +45,7 @@ jobs: - job: copr_build trigger: pull_request release_suffix: "99.dev.{PACKIT_PROJECT_BRANCH}" - targets: [fedora-all, epel-all] + targets: [fedora-all, epel-9, epel-10] - job: tests trigger: pull_request @@ -54,25 +54,25 @@ jobs: - job: copr_build trigger: commit - targets: [fedora-all, epel-all] + targets: [fedora-all, epel-9, epel-10] - job: copr_build trigger: release owner: "@freeipa" project: neoave - targets: [fedora-all, epel-all] + targets: [fedora-all, epel-9, epel-10] - job: propose_downstream trigger: release - dist_git_branches: [fedora-all, epel-all] + dist_git_branches: [fedora-all, epel-9, epel-10] - job: koji_build trigger: commit - dist_git_branches: [fedora-all, epel-all] + dist_git_branches: [fedora-all, epel-9, epel-10] - job: bodhi_update trigger: commit - dist_git_branches: [fedora-branched, epel-all] # rawhide updates are created automatically + dist_git_branches: [fedora-branched, epel-9, epel-10] # rawhide updates are created automatically # # pr_osp # - &internal_test # use openstack (osp) tests as template for other test cases diff --git a/README.packit b/README.packit index 7e268b5..fb341a1 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 1.8.0.post1.dev15+g39511efc. +The file was generated using packit 1.11.0.post1.dev7+gfdcdf3a32. diff --git a/mrack.spec b/mrack.spec index 247babb..710ff2e 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,6 +1,6 @@ Name: mrack -Version: 1.23.4 -Release: 5%{?dist} +Version: 1.24.0 +Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner License: Apache-2.0 @@ -185,17 +185,15 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog -* Fri Sep 19 2025 Python Maint - 1.23.4-5 -- Rebuilt for Python 3.14.0rc3 bytecode +* Thu Sep 25 2025 David Pascual Hernandez - 1.24.0-1 +- 39e9d79 feat: Add support to pass watchdog panic="ignore" in Beaker recipe (David Pascual) +- 801ef4b fix: Fix nested and/or issue (David Pascual) +- fad14c2 test: Add _translate_constraint test (David Pascual) -* Fri Aug 15 2025 Python Maint - 1.23.4-4 -- Rebuilt for Python 3.14.0rc2 bytecode - -* Thu Jul 24 2025 Fedora Release Engineering - 1.23.4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Mon Jun 02 2025 Python Maint - 1.23.4-2 -- Rebuilt for Python 3.14 +* Tue Sep 09 2025 David Pascual Hernandez - 1.23.5-1 +- b46c7c4 chore: Bump python-semantic-release to fix release issue (David Pascual) +- 033e1f7 chore(packit): Update epel spec for fedora propose upstream (David Pascual) +- aeb12fe fix: Enforce beaker-client 29.2 to fix fetch_url error (David Pascual) * Wed May 28 2025 David Pascual Hernandez - 1.23.4-1 - 75d8c3b chore: Enable epel-10 builds in Packit (David Pascual) diff --git a/sources b/sources index 3fa9d0e..6157ccb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.23.4.tar.gz) = 4bab63947e92a2d6e7de5d9abb1229740b93bbd2e935b91e65beae7ac15f6fd2b848bc6bae7d6e2e755605bd7420f5c425ef98f78d656c91f4fe8ff80819416f +SHA512 (mrack-1.24.0.tar.gz) = 0a44e4dd401bd28b8a12a3f885c7833670bcf05bd5ec99932e32293e3bafd2d0dc1047c4fe9a9370490cfafc788429fcdc490da485c5c4232563b7b6e01be204 From 7e9796cacf6e61f23d19f49dce3a7342413d129a Mon Sep 17 00:00:00 2001 From: Packit Date: Tue, 21 Oct 2025 09:49:48 +0000 Subject: [PATCH 66/66] Update to 1.25.0 upstream release Upstream tag: v1.25.0 Upstream commit: 5c9c9ccb Commit authored by Packit automation (https://packit.dev/) --- .gitignore | 1 + mrack.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 18da2c4..4965df3 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /mrack-1.23.3.tar.gz /mrack-1.23.4.tar.gz /mrack-1.24.0.tar.gz +/mrack-1.25.0.tar.gz diff --git a/mrack.spec b/mrack.spec index 710ff2e..05e6443 100644 --- a/mrack.spec +++ b/mrack.spec @@ -1,5 +1,5 @@ Name: mrack -Version: 1.24.0 +Version: 1.25.0 Release: 1%{?dist} Summary: Multicloud use-case based multihost async provisioner @@ -185,6 +185,10 @@ rm -r src/%{name}.egg-info %{python3_sitelib}/%{name}/providers/utils/{,__pycache__/}testcloud.* %changelog +* Tue Oct 21 2025 David Pascual Hernandez - 1.25.0-1 +- 8ed12e7 feat: Add support for Beaker group key (David Pascual) +- 8e6ab07 fix: Revert commit 0cabc75 (David Pascual) + * Thu Sep 25 2025 David Pascual Hernandez - 1.24.0-1 - 39e9d79 feat: Add support to pass watchdog panic="ignore" in Beaker recipe (David Pascual) - 801ef4b fix: Fix nested and/or issue (David Pascual) diff --git a/sources b/sources index 6157ccb..5d89186 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mrack-1.24.0.tar.gz) = 0a44e4dd401bd28b8a12a3f885c7833670bcf05bd5ec99932e32293e3bafd2d0dc1047c4fe9a9370490cfafc788429fcdc490da485c5c4232563b7b6e01be204 +SHA512 (mrack-1.25.0.tar.gz) = 29ddf0b75a989682193e8078780495ea2b8cf61c106d28700361ac18f061a4e3f8e102e932eacf90eace5e2c731765e65a5eac2f499e24e2188e34743f981328