diff --git a/.gitignore b/.gitignore index 7cf64a1..0521058 100644 --- a/.gitignore +++ b/.gitignore @@ -53,3 +53,4 @@ /tmt-1.37.0.tar.gz /tmt-1.38.0.tar.gz /tmt-1.39.0.tar.gz +/tmt-1.40.0.tar.gz diff --git a/.packit.yaml b/.packit.yaml index d9e8467..d758b6a 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -28,142 +28,130 @@ targets: &all-targets # Uncomment below line if OpenScanHub scans are failing # osh_diff_scan_after_copr_build: false -jobs: - # Build pull requests - - &copr_build - job: copr_build - trigger: pull_request - actions: - <<: *base-actions - get-current-version: - # Use `dev888` instead of the last version digit to make - # builds older than the final release and newer than - # copr builds from main. Remove the remaining suffix - # generated by `hatch version` as well so that build - # with the latest timestamp always wins. - - bash -c "hatch version | sed -E 's/\\.[0-9]+\\.dev.*/.dev888/'" - # Test core - - &tests +# Common definitions +_: + # Copr jobs under the packit project + - &copr-under-packit + job: copr_build + + # Copr jobs under the teemtee project + - &copr-under-teemtee + <<: *copr-under-packit + list_on_homepage: True + preserve_project: True + owner: "@teemtee" + + # Test jobs base setup + - &test-base job: tests trigger: pull_request - targets: &latest-targets - - fedora-latest-stable - - epel-9 - identifier: core - tf_extra_params: - test: - tmt: - name: /plans/features/(core|basic) - # Test full - # Do not run extended unit tests, that plan gets its own job because - # of podman vs systemd-resolved flakiness. - - <<: *tests - targets: *all-targets - require: &require-full-tests - label: - present: - - ci | full test - absent: - - status | discuss - identifier: full - tf_extra_params: - test: - tmt: - name: '^(?!/plans/features/extended-unit-tests).*$' + # Latest fedora & epel targets + - &latest-targets + - fedora-latest-stable + - epel-9 - # Extended unit tests - - <<: *tests - targets: [ fedora-latest-stable ] - require: *require-full-tests - identifier: extended-unit-tests - tf_extra_params: - test: - tmt: - name: '/plans/features/extended-unit-tests$' - - # Test virtual provision - - <<: *tests + # Internal jobs + - &internal use_internal_tf: True - targets: &internal-targets + targets: - fedora-latest-stable - require: *require-full-tests - identifier: provision tf_extra_params: - test: - tmt: - name: /plans/provision/(bootc|virtual) environments: - - tmt: - context: - how: provision - &tmt-cloud-resources settings: provisioning: tags: BusinessUnit: tmt - # Test internal plugins - - <<: *tests - use_internal_tf: True - targets: *internal-targets - require: *require-full-tests - identifier: internal-plugins - fmf_url: "https://gitlab.cee.redhat.com/baseos-qe/tmt.git" - # Tag cloud resources for tmt - tf_extra_params: - environments: - - *tmt-cloud-resources + # Full test requires + - &require-full-tests + require: + label: + present: + - ci | full test + absent: + - status | discuss - # Test internal wow - - <<: *tests - use_internal_tf: True - targets: *internal-targets - require: *require-full-tests - identifier: internal-wow - fmf_url: "https://gitlab.cee.redhat.com/baseos-qe/integration_scripts.git" - tmt_plan: "/tmt/integration/plan" - tf_extra_params: - environments: - - *tmt-cloud-resources - # Build commits to main - - <<: *copr_build +jobs: + # Build released bits to stable + - <<: *copr-under-teemtee + trigger: release + project: stable + + # Build commits merged to main to latest + - <<: *copr-under-teemtee trigger: commit branch: main - list_on_homepage: True - preserve_project: True - owner: "@teemtee" - project: tmt - release_suffix: "{PACKIT_PROJECT_BRANCH}" - actions: - <<: *base-actions - get-current-version: - # Get rid of the the final version digit to make copr - # builds older than the final release - - bash -c "hatch version | sed -E 's/\\.[0-9]+\\.dev/.dev/'" + project: latest - # Release to copr - - <<: *copr_build - trigger: release - list_on_homepage: True - preserve_project: True - owner: "@teemtee" - project: tmt - actions: *base-actions + # Build pull requests + - <<: *copr-under-packit + trigger: pull_request - # Fedora releases + # Test core + - <<: *test-base + targets: *latest-targets + identifier: core + tmt_plan: '/plans/features/(core|basic)' + + # Test full + - <<: *test-base + <<: *require-full-tests + identifier: full + # Do not run extended unit tests. That plan gets its own job + # because of podman vs systemd-resolved flakiness. + tmt_plan: '^(?!/plans/features/extended-unit-tests).*$' + + # Extended unit tests + - <<: *test-base + <<: *require-full-tests + targets: [ fedora-latest-stable ] + identifier: extended-unit-tests + tmt_plan: '/plans/features/extended-unit-tests$' + + # Test virtual & bootc provision plugins + - <<: *test-base + <<: *internal + <<: *require-full-tests + identifier: provision + tmt_plan: '/plans/provision/(bootc|virtual)' + tf_extra_params: + environments: + - tmt: + context: + how: provision + - *tmt-cloud-resources + + # Test internal plugins + - <<: *test-base + <<: *internal + <<: *require-full-tests + identifier: internal-plugins + fmf_url: "https://gitlab.cee.redhat.com/baseos-qe/tmt.git" + + # Test internal wow + - <<: *test-base + <<: *internal + <<: *require-full-tests + identifier: internal-wow + fmf_url: "https://gitlab.cee.redhat.com/baseos-qe/integration_scripts.git" + tmt_plan: '/tmt/integration/plan' + + # Propose downstream pull requests - job: propose_downstream trigger: release dist_git_branches: *all-targets + # Create koji builds - job: koji_build trigger: commit - allowed_pr_authors: [ "packit", "psss", "lzachar" ] - allowed_committers: [ "packit", "psss", "lzachar" ] + allowed_pr_authors: ["packit", "all_committers"] dist_git_branches: *all-targets + # Create bodhi updates - job: bodhi_update trigger: commit dist_git_branches: diff --git a/README.packit b/README.packit index 58044ba..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.104.0. +The file was generated using packit 0.105.0.post1.dev2+g4453c0ec. diff --git a/sources b/sources index 39f674d..dc80228 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tmt-1.39.0.tar.gz) = 859707d9bb9378abd1fa266f215e204995c4d811f7ddff5dcc6e12a0ec0c511e01f91deac3a6284abb10aa12a8ef5a65c344265bb6169ec5ca929d9216fccbb8 +SHA512 (tmt-1.40.0.tar.gz) = 904ef1c3edabc608db54b120df0696f6ad33c97a14256597832b8fead4cdafbe9dd237be905eab8466db9c427cc085b4c61003477ad499ff5bfca66ee48312a2 diff --git a/tmt.spec b/tmt.spec index 11bf69a..fa50271 100644 --- a/tmt.spec +++ b/tmt.spec @@ -1,5 +1,5 @@ Name: tmt -Version: 1.39.0 +Version: 1.40.0 Release: %autorelease Summary: Test Management Tool @@ -169,6 +169,9 @@ install -pm 644 %{name}/steps/provision/mrack/mrack* %{buildroot}/etc/%{name}/ %files -n tmt+all -f %{_pyproject_ghost_distinfo} %changelog +* Thu Dec 12 2024 Packit - 1.40.0-1 +- Update to version 1.40.0 + * Fri Nov 22 2024 Packit - 1.39.0-1 - Update to version 1.39.0