From 2ccd21c839d5a703bef284da0bf4f7cf2a4bc1ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Mon, 23 Mar 2020 11:01:16 +0100 Subject: [PATCH] Import tmt-0.11 --- .gitignore | 1 + sources | 2 +- tmt.spec | 159 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 153 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 6b76558..0da340a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /tmt-0.1.tar.gz /tmt-0.7.tar.gz /tmt-0.8.tar.gz +/tmt-0.11.tar.gz diff --git a/sources b/sources index dedcbc6..d16f417 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tmt-0.8.tar.gz) = 631fc3b02bed5727bacff46d75ce69a0368a23bd7a36c08cd2672026c661763f69fb1087094fb9b74a2aae6dd50388fe99de18d8751649f1ee9512d76a31c51f +SHA512 (tmt-0.11.tar.gz) = 7875eef5f8fe7c7433884f18c94b94be1aa2b919a8f2ec06bcd8ba8dfb1dceb7bad1a69cb9e4bcfdb597b2496f28719ba3f8bf0f2f976d533ea6454485421d22 diff --git a/tmt.spec b/tmt.spec index 2b51c4a..10c9f93 100644 --- a/tmt.spec +++ b/tmt.spec @@ -1,6 +1,6 @@ Name: tmt -Version: 0.8 -Release: 2%{?dist} +Version: 0.11 +Release: 1%{?dist} Summary: Test Management Tool License: MIT @@ -37,13 +37,15 @@ This package contains the command line tool. %package -n python%{python3_pkgversion}-%{name} -Summary: %{summary} +Summary: Python library for the %{summary} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-click BuildRequires: python%{python3_pkgversion}-fmf BuildRequires: python%{python3_pkgversion}-mock +BuildRequires: python%{python3_pkgversion}-requests +BuildRequires: python%{python3_pkgversion}-testcloud %{?python_provide:%python_provide python%{python3_pkgversion}-%{name}} %if %{with oldreqs} Requires: python%{python3_pkgversion}-PyYAML @@ -54,11 +56,30 @@ The tmt Python module and command line tool implement the test metadata specification (L1 and L2) and allows easy test execution. This package contains the Python 3 module. +%package container +Summary: Container provisioner for the Test Management Tool +Requires: tmt == %{version}-%{release} +Requires: ansible podman + +%description container +All dependencies of the Test Management Tool required to run tests +in a container environment. + +%package testcloud +Summary: Libvirt (via testcloud) provisioner for the Test Management Tool +Requires: tmt == %{version}-%{release} +Requires: ansible python%{python3_pkgversion}-testcloud openssh-clients rsync + +%description testcloud +All dependencies of the Test Management Tool required to run tests +in a libvirt environment provisioned using testcloud. %package all -Summary: %{summary} -Requires: tmt == %{version}-%{release} -Requires: vagrant vagrant-libvirt python3-nitrate +Summary: Extra dependencies for the Test Management Tool +Requires: tmt >= %{version} +Requires: tmt-container >= %{version} +Requires: tmt-testcloud >= %{version} +Requires: vagrant python3-nitrate make %description all All extra dependencies of the Test Management Tool. Install this @@ -114,13 +135,135 @@ export LANG=en_US.utf-8 %license LICENSE +%files container +%license LICENSE + + +%files testcloud +%license LICENSE + + %files all %license LICENSE %changelog -* Fri Jan 31 2020 Fedora Release Engineering - 0.8-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild +* Mon Mar 23 2020 Petr Šplíchal - 0.11-1 +- Merge default images for podman/testcloud [#169] +- Do not export empty environment to run.sh +- Merge vagrant check for running connection [#156] +- Adjust vagrant check for running connection +- Merge test export into nitrate [#118] +- Adjust 'tmt test export --nitrate' implementation +- Use fedora as a default image for podman/testcloud +- Move testcloud back to the extra requires +- Always copy directory tree to the workdir +- Add an example with test and plan in a single file +- Do not run tests with an empty environment +- Check for non-zero status upon yaml syntax errors +- Export test cases to nitrate +- Merge test import using testinfo.desc [#160] +- Adjust test import using testinfo.desc +- Use testinfo.desc as source of metadata +- Add environment support to the discover step (#145) +- Add a new story describing user and system config (#143) +- Check if connection is running in Vagrant Provision + +* Wed Mar 11 2020 Petr Šplíchal - 0.10-1 +- Merge fixed environment support in run.sh [#99] +- Add container and testcloud to tmt-all requires (#157) +- Rename dict_to_shell() to better match content +- Make path mandatory in run.sh. +- Handle execution better in run.sh +- Implement --env for testcloud provisioner +- Merge run --environment support for podman [#132] +- Fix container destroy, plus some minor adjustments +- Use cache 'unsafe' for testcloud (#150) +- Add --env option and support in podman provisioner +- Warn about missing metadata tree before importing +- Move testcloud to base requires, update README (#153) +- Destroy container in finish only if there is any +- Merge tmt test import --nitrate --disabled [#146] +- Adjust the disabled test import implementation +- Add an overview of classes (where are we heading) +- Import non-disabled tests +- Add a 'Provision Options' section, update coverage +- Support selecting objects under the current folder +- Add a link to details about fmf inheritance +- Move requirements under the Install section +- Mock testcloud modules to successfully build docs +- Include examples of plan inheritance [fix #127] +- Update implementation coverage for cli stories +- Add testcloud provisioner (#134) +- Merge the new story for 'tmt run --latest' [#136] +- Move run --latest story under run, fix code block +- Fix invalid variable name in the convert example +- Use 'skip' instead of 'without', simplify default +- Add rerun cli shortcut +- Make sure we run finish always +- Update the docs making '--name=' necessary (#138) +- Clarify environment priority, fix release typo +- Add environment specification +- Remove copr build job from packit (not necessary) +- Use the 'extra-summary' in the output as well +- Use 'nitrate' consistently for tcms-related stuff +- Prefix all non-specification keys [fix #120] +- Show a nice error for an invalid yaml [fix #121] +- Move container plan to common provision examples +- Remove tmt-all dependency on vagrant-libvirt +- Do not use red for import info messages [fix #125] +- Show a nice error for weird Makefiles [fix #108] + +* Mon Feb 24 2020 Petr Šplíchal - 0.9-1 +- Rename the 'test convert' command to 'test import' +- Include 'path' when importing virtual test cases +- Extract test script from Makefile during convert +- Do not import 'fmf-export' tag from nitrate [#119] +- Merge the improved component import [#115] +- Several adjustments to the component import +- Merge the improved requires parsing [#113] +- Fix parsing multiple requires from Makefile +- Fail nicely if executed without provision (#112) +- Make sure the copr command is available in dnf +- Fix handling defaults for options, adjust wording +- Read 'components' from nitrate when converting +- Read requires as list when converting tests +- Make it possible to pass script on cmdline +- Mention libvirt and rsync in Fedora 30 workaround +- Move podman image check and pull under go() +- Simple destroy implementation for podman provision +- Add Fedora 30 installation instructions [fix #105] +- Merge podman support for the provision step [#106] +- Several adjustments to the podman implementation +- Fix _prepare_shell in podman provisioner +- Add podman provisioner +- Update the test case relevancy specification (#102) +- Move copy_from_guest to provision/base.py (#75) +- Several minor adjustments to the restraint story +- Add user story for restraint +- Merge different summaries for subpackages [#97] +- Remove macro from the tmt-all subpackage summary +- Add different summaries for sub-packages +- Mention 'fmf-export' tag in the test export story +- Merge optional PURPOSE in test convert [#89] +- Handle missing duration or nitrate case in convert +- Add support for wrap='auto' in utils.format() +- Use local fmf repository for the basic plan (#94) +- Merge test import documentation updates [#90] +- Merge tag, status, pepa & hardware for test import +- Several test import adjustments related to #91 +- Fix deduplication bug when converting tests +- Read more attributes from nitrate when converting +- Update examples doc for converting tests +- Update execute step examples for shell +- Simplify packit configuration using 'fedora-all' (#88) +- Optional attributes when converting. +- Update execute and report step specification +- Add spec for results.yaml and report.yaml (#66) +- Add a story for exporting tests into nitrate (#83) +- Add the 'require' attribute into the L1 Metadata +- Update the Metadata Specification link in README +- Improve 'tmt test convert' command implementation * Wed Jan 15 2020 Petr Šplíchal - 0.8-1 - Do not create bash completion script during build