Compare commits

...

No commits in common. "c8" and "c10s" have entirely different histories.
c8 ... c10s

7 changed files with 86 additions and 24 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/leapp-0.19.0.tar.gz /leapp-0.18.0.tar.gz

View File

@ -1 +0,0 @@
03632cf33458ec52b7fea2b8c7a5da68d953d4eb SOURCES/leapp-0.19.0.tar.gz

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -7,11 +7,11 @@
# it. In case of upstream, dependencies are set differently, but YUM is not # it. In case of upstream, dependencies are set differently, but YUM is not
# capable enough to deal with them correctly all the time; we continue to use # capable enough to deal with them correctly all the time; we continue to use
# simplified deps in RHEL to ensure that YUM can deal with it. # simplified deps in RHEL to ensure that YUM can deal with it.
%global framework_version 6.0 %global framework_version 5.0
# IMPORTANT: everytime the requirements are changed, increment number by one # IMPORTANT: everytime the requirements are changed, increment number by one
# - same for Provides in deps subpackage # - same for Provides in deps subpackage
%global framework_dependencies 6 %global framework_dependencies 5
# Do not build bindings for python3 for RHEL == 7 # Do not build bindings for python3 for RHEL == 7
# # Currently Py2 is dead on Fedora and we don't have to support it. As well, # # Currently Py2 is dead on Fedora and we don't have to support it. As well,
@ -36,7 +36,7 @@
%endif %endif
Name: leapp Name: leapp
Version: 0.19.0 Version: 0.18.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: OS & Application modernization framework Summary: OS & Application modernization framework
@ -130,7 +130,6 @@ Provides: leapp-framework-dependencies = %{framework_dependencies}
Requires: python-six Requires: python-six
Requires: python-setuptools Requires: python-setuptools
Requires: python-requests Requires: python-requests
Requires: PyYAML
%else # <> rhel 7 %else # <> rhel 7
# for Fedora & RHEL 8+ deliver just python3 stuff # for Fedora & RHEL 8+ deliver just python3 stuff
# NOTE: requirement on python3 refers to the general version of Python # NOTE: requirement on python3 refers to the general version of Python
@ -141,7 +140,6 @@ Requires: python3
Requires: python3-six Requires: python3-six
Requires: python3-setuptools Requires: python3-setuptools
Requires: python3-requests Requires: python3-requests
Requires: python3-PyYAML
%endif %endif
Requires: findutils Requires: findutils
################################################## ##################################################
@ -160,7 +158,6 @@ Requires: findutils
# APPLY REGISTERED PATCHES HERE # APPLY REGISTERED PATCHES HERE
# %%patch -P 0001 -p1
################################################## ##################################################
@ -184,7 +181,6 @@ install -m 0755 -d %{buildroot}%{_datadir}/leapp/report_schema
install -m 0644 -p report-schema-v110.json %{buildroot}%{_datadir}/leapp/report_schema/report-schema.json install -m 0644 -p report-schema-v110.json %{buildroot}%{_datadir}/leapp/report_schema/report-schema.json
install -m 0700 -d %{buildroot}%{_sharedstatedir}/leapp install -m 0700 -d %{buildroot}%{_sharedstatedir}/leapp
install -m 0755 -d %{buildroot}%{_sysconfdir}/leapp install -m 0755 -d %{buildroot}%{_sysconfdir}/leapp
install -m 0755 -d %{buildroot}%{_sysconfdir}/leapp/actor_conf.d/
install -m 0755 -d %{buildroot}%{_sysconfdir}/leapp/repos.d install -m 0755 -d %{buildroot}%{_sysconfdir}/leapp/repos.d
install -m 0600 -d %{buildroot}%{_sysconfdir}/leapp/answers install -m 0600 -d %{buildroot}%{_sysconfdir}/leapp/answers
# standard directory should have permission set to 0755, however this directory # standard directory should have permission set to 0755, however this directory
@ -209,7 +205,6 @@ install -m 0644 -p man/leapp.1 %{buildroot}%{_mandir}/man1/
%config(noreplace) %{_sysconfdir}/leapp/leapp.conf %config(noreplace) %{_sysconfdir}/leapp/leapp.conf
%config(noreplace) %{_sysconfdir}/leapp/logger.conf %config(noreplace) %{_sysconfdir}/leapp/logger.conf
%dir %{_sysconfdir}/leapp %dir %{_sysconfdir}/leapp
%dir %{_sysconfdir}/leapp/actor_conf.d
%dir %{_sysconfdir}/leapp/answers %dir %{_sysconfdir}/leapp/answers
%dir %{_sysconfdir}/leapp/repos.d %dir %{_sysconfdir}/leapp/repos.d
%{_bindir}/leapp %{_bindir}/leapp
@ -246,20 +241,6 @@ install -m 0644 -p man/leapp.1 %{buildroot}%{_mandir}/man1/
# no files here # no files here
%changelog %changelog
* Fri Feb 14 2025 Petr Stodulka <pstodulk@redhat.com> - 0.19.0-1
- Rebase to new upstream version 0.19.0
- Add possibility to use a specified execution context for snactor run in an existing leapp.db
- Increase limits on the number of opened file descriptors and maximum size
of manipulated files when running leapp
- Resolves: RHEL-67622, RHEL-79411
* Mon Nov 18 2024 Petr Stodulka <pstodulk@redhat.com> - 0.18.0-2
- Bump leapp-framework to 6.0
- Bump leapp-framework-dependencies to 6
- Require python3-PyYAML
- [Technical preview] Introduce configurability for leapp actors
- Resolves: RHEL-67622
* Fri Aug 16 2024 Toshio Kuratomi <toshio@fedoraproject.org> - 0.18.0-1 * Fri Aug 16 2024 Toshio Kuratomi <toshio@fedoraproject.org> - 0.18.0-1
- Rebase to new upstream version 0.18.0. - Rebase to new upstream version 0.18.0.
- Properly close file descriptors for executed shell commands. - Properly close file descriptors for executed shell commands.

73
plans/tier0.fmf Normal file
View File

@ -0,0 +1,73 @@
# These test plans were created manually based on information taken from
# https://gitlab.cee.redhat.com/oamg/leapp-tests/-/blob/main/config.yaml. The tmt definitions can be simplified, once
# https://github.com/teemtee/tmt/issues/1770 is implemented.
summary: Internal Tier0 tests
environment:
SOURCE_RELEASE: '8.10'
TARGET_RELEASE: '9.5'
context:
distro: rhel-8.10
distro_target: rhel-9.5
adjust:
enabled: false
when: distro == centos-stream-8
/customrepos_upgrade_happy_path:
plan:
import:
url: https://gitlab.cee.redhat.com/oamg/leapp-tests
name: /plans/destructive/customrepos/basic_upgrade/upgrade_happy_path
ref: main
/oamg3661_two_reboots:
plan:
import:
url: https://gitlab.cee.redhat.com/oamg/leapp-tests
name: /plans/destructive/customrepos/oamg/oamg3661_two_reboots
ref: main
/oamg9094_datainrpm_predownload_then_install:
plan:
import:
url: https://gitlab.cee.redhat.com/oamg/leapp-tests
name: /plans/destructive/customrepos/oamg/oamg9094_datainrpm_predownload_then_install
ref: main
/oamg9299_devtmpfs_in_fstab:
plan:
import:
url: https://gitlab.cee.redhat.com/oamg/leapp-tests
name: /plans/destructive/customrepos/oamg/oamg9299_devtmpfs_in_fstab
ref: main
/rhsm_upgrade_happy_path:
plan:
import:
url: https://gitlab.cee.redhat.com/oamg/leapp-tests
name: /plans/destructive/rhsm/upgrade_happy_path
ref: main
/customrepos_tier0only:
plan:
import:
url: https://gitlab.cee.redhat.com/oamg/leapp-tests
name: /plans/nondestructive/customrepos/tier0only
ref: main
/none_tier0only:
plan:
import:
url: https://gitlab.cee.redhat.com/oamg/leapp-tests
name: /plans/nondestructive/none/tier0only
ref: main
/rhsm_tier0only:
plan:
import:
url: https://gitlab.cee.redhat.com/oamg/leapp-tests
name: /plans/nondestructive/rhsm/tier0only
ref: main

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (leapp-0.18.0.tar.gz) = 9539d4fed20f3a5e6772a1365bbd8fdbf6b9246c75d64f937b9048010704d66936e994bd421c466200393bf10b437370bc46aff1684c88c57dbed2695df93a68