Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
c10a2e6
fix - spell AllowZoneDrifting correctly
joeashcraft Mar 4, 2025
c3c041d
cli(upgrade): allow users to enable entire experimental features
Feb 27, 2025
33cb4a4
feat(livemode): exclude DNF cache from the created squashfs image
Feb 27, 2025
85b9678
livemode(cfg): add declaration of livemode config fields
Feb 28, 2025
a21c802
livemode(cfg): use framework's configurability instead of ad-hoc INI
Mar 6, 2025
e365377
fix(livemode): do not stop if dbus already appears to be enabled
Mar 20, 2025
54ffc9c
feat(livemode): remove the use of LEAPP_DEVEL_ENABLE_LIVEMODE
Apr 11, 2025
73c8b8a
spec: require leapp-framework 6.1 for default CLI vals
Apr 11, 2025
0bb128e
docs(configuring-ipu): add experimental features section
Apr 14, 2025
2d09767
docs(livemode): add LiveMode documentation
Apr 14, 2025
8f9437c
DOC: rename configuring-ipu.md to envars.md
pirat89 Apr 16, 2025
b44d6a4
fix(userspacegen): add exeception handling to swapping of RHUI clients
Mar 4, 2025
0f42e30
selinux: do not run "semodule" when no modules are selected
vmojzis Mar 4, 2025
20b8526
feat(ipuconfig): provide info about supported upgrade paths
Mar 29, 2025
6e14fbd
feat(upgrade_paths): include information about distro id
Mar 29, 2025
01daeb6
cleanup(ipupaths): remove IPUPaths message
Mar 29, 2025
256ee81
libs(version): use supported_upgrade_paths
Mar 31, 2025
df618c1
Remove 7to8 CI tests
tomasfratrik Apr 14, 2025
21732dd
Fix lint in Makefile for docs
karolinku Apr 25, 2025
537df3f
Improve report of removed kernel drivers
tomasfratrik Apr 28, 2025
4eb6ca0
Improve report of unsupported network configuration
tomasfratrik Apr 28, 2025
834d140
DOCS: add missing envar LEAPP_OVL_IMG_FS_EXT4
pirat89 Apr 30, 2025
dee43a1
Updates to the upgrade path:
yuravk May 5, 2025
60e4a66
data: update data files: stream 3.3 (#1358)
leapp-bot May 5, 2025
5830c65
Add RHEL 10.1 and 9.7 product certificates
pirat89 May 5, 2025
298cf17
Add handling of shorten PCI ID and lowercases
karolinku Apr 10, 2025
787f1a5
Prevent device list from containing incorrent content
karolinku May 7, 2025
57daab0
feat(command_utils): allow missing minor/major version for CentOS
Apr 14, 2025
024c604
refactor(versions/config): rename _simple_versions
Apr 21, 2025
2ce3122
fix(lib/version): broken _validate_version on RHEL 10
Apr 21, 2025
bd74df6
upgrade_paths: add information about centos virtual versions
May 2, 2025
499c07e
models(ipuconfig): extend Version class to contain virtual versions
May 2, 2025
a274255
libs(common, version): autocorrect centos versions into MAJOR.MINOR
May 2, 2025
2ff42c0
Introduce distro-based rpm-gpg trusted directory
pirat89 May 7, 2025
b804053
Add official Centos Stream 9 and 10 RPM GPG keys
pirat89 May 7, 2025
1e48997
Deprecate is_rhel_alt from share libraries
pirat89 May 7, 2025
f192b80
data: update data files: stream 3.3 (#1380)
leapp-bot May 13, 2025
339bb27
Revert convert dot-less CentOS Stream release to X.999
yuravk May 19, 2025
5e9b4ce
Change the upgrade path:
yuravk May 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@v2
with:
ignore_words_list: ro,fo,couldn,repositor,zeor
ignore_words_list: ro,fo,couldn,repositor,zeor,bootup
skip: "./repos/system_upgrade/common/actors/storagescanner/tests/files/mounts,\
./repos/system_upgrade/common/actors/networkmanagerreadconfig/tests/files/nm_cfg_file_error,\
./repos/system_upgrade/el8toel9/actors/xorgdrvfact/tests/files/journalctl-xorg-intel,\
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reuse-copr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
id: copr_build
env:
COPR_CONFIG: "copr_fedora.conf"
COPR_CHROOT: "epel-7-x86_64,epel-8-x86_64"
COPR_CHROOT: "epel-8-x86_64"
COPR_REPO: "@oamg/leapp"
run: |
cat << EOF > $COPR_CONFIG
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
if: ${{ steps.leapp_pr_regex_match.outputs.match != '' }}
env:
COPR_CONFIG: "copr_fedora.conf"
COPR_CHROOT: "epel-7-x86_64,epel-8-x86_64"
COPR_CHROOT: "epel-8-x86_64"
COPR_REPO: "@oamg/leapp"
run: |
cat << EOF > $COPR_CONFIG
Expand Down
59 changes: 0 additions & 59 deletions .github/workflows/tmt-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,65 +10,6 @@ jobs:
uses: ./.github/workflows/reuse-copr-build.yml
secrets: inherit

call_workflow_tests_79to88_integration:
needs: call_workflow_copr_build
uses: oamg/leapp/.github/workflows/reuse-tests-7to8.yml@main
secrets: inherit
with:
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
tmt_plan_regex: "^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*8to9)(?!.*max_sst)"
pull_request_status_name: "7.9to8.8"
variables: 'SOURCE_RELEASE=7.9;TARGET_RELEASE=8.8;LEAPPDATA_BRANCH=upstream'
if: |
github.event.issue.pull_request
&& ! startsWith(github.event.comment.body, '/rerun-sst')
&& contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)

call_workflow_tests_79to86_integration:
needs: call_workflow_copr_build
uses: oamg/leapp/.github/workflows/reuse-tests-7to8.yml@main
secrets: inherit
with:
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
tmt_plan_regex: "^(?!.*max_sst)(.*tier1)"
variables: 'SOURCE_RELEASE=7.9;TARGET_RELEASE=8.6;LEAPPDATA_BRANCH=upstream'
pull_request_status_name: "7.9to8.6"
if: |
github.event.issue.pull_request
&& ! startsWith(github.event.comment.body, '/rerun-sst')
&& contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)

call_workflow_tests_79to88_sst:
needs: call_workflow_copr_build
uses: oamg/leapp/.github/workflows/reuse-tests-7to8.yml@main
secrets: inherit
with:
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
tmt_plan_regex: "^(?!.*tier[2-3].*)(.*max_sst.*)"
pull_request_status_name: "7.9to8.8-sst"
update_pull_request_status: 'false'
variables: 'SOURCE_RELEASE=7.9;TARGET_RELEASE=8.8;LEAPPDATA_BRANCH=upstream'
if: |
github.event.issue.pull_request
&& startsWith(github.event.comment.body, '/rerun-sst')
&& contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)

call_workflow_tests_7to8_aws:
needs: call_workflow_copr_build
uses: oamg/leapp/.github/workflows/reuse-tests-7to8.yml@main
secrets: inherit
with:
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
tmt_plan_regex: "^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*8to9)(.*e2e)"
compose: "RHEL-7.9-rhui"
environment_settings: '{"provisioning": {"post_install_script": "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys; echo 42; yum-config-manager --enable rhel-7-server-rhui-optional-rpms"}}'
pull_request_status_name: "7to8-aws-e2e"
variables: "SOURCE_RELEASE=7.9;TARGET_RELEASE=8.6;RHUI=aws;LEAPPDATA_BRANCH=upstream"
if: |
github.event.issue.pull_request
&& ! startsWith(github.event.comment.body, '/rerun-sst')
&& contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)

call_workflow_tests_86to90_integration:
needs: call_workflow_copr_build
uses: oamg/leapp/.github/workflows/reuse-tests-8to9.yml@main
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,6 @@ jobs:
python: python3.6
repos: 'el8toel9,common'
container: ubi8-lint
# 7to8
- name: Run unit tests for el7toel8 and common repositories on python 3.6
python: python3.6
repos: 'el7toel8,common'
container: ubi8
- name: Run python linters for el7toel8 and common repositories on python 3.6
python: python3.6
repos: 'el7toel8,common'
container: ubi8-lint
- name: Run unit tests for el7toel8 and common repositories on python 2.7
python: python2.7
repos: 'el7toel8,common'
container: ubi7
- name: Run python linters for el7toel8 and common repositories on python 2.7
python: python2.7
repos: 'el7toel8,common'
container: ubi7-lint

steps:
- name: Checkout code
Expand Down
152 changes: 0 additions & 152 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
owner: "@oamg"
project: leapp
targets:
- epel-7-x86_64
- epel-8-x86_64
- epel-9-x86_64
actions:
Expand All @@ -53,7 +52,6 @@ jobs:
owner: "@oamg"
project: leapp
targets:
- epel-7-x86_64
- epel-8-x86_64
- epel-9-x86_64
actions:
Expand All @@ -73,7 +71,6 @@ jobs:
owner: "@oamg"
project: leapp
targets:
- epel-7-x86_64
- epel-8-x86_64
- epel-9-x86_64
actions:
Expand All @@ -95,155 +92,6 @@ jobs:
# >7tox path https://gitlab.cee.redhat.com/oamg/leapp-tests/-/blob/main/config.yaml
# Available only to RH Employees.

# ###################################################################### #
# ############################### 7 TO 8 ############################### #
# ###################################################################### #

# ###################################################################### #
# ### Abstract job definitions to make individual tests/jobs smaller ### #
# ###################################################################### #
- &sanity-abstract-7to8
job: tests
trigger: ignore
fmf_url: "https://gitlab.cee.redhat.com/oamg/leapp-tests"
fmf_ref: "rhel7"
use_internal_tf: True
labels:
- sanity
targets:
epel-7-x86_64:
distros: [RHEL-7.9-ZStream]
identifier: sanity-abstract-7to8
tmt_plan: ""

- &sanity-abstract-7to8-aws
<<: *sanity-abstract-7to8
labels:
- sanity
- aws
targets:
epel-7-x86_64:
distros: [RHEL-7.9-rhui]
identifier: sanity-abstract-7to8-aws

# On-demand minimal beaker tests
- &beaker-minimal-7to8-abstract-ondemand
<<: *sanity-abstract-7to8
manual_trigger: True
labels:
- beaker-minimal
identifier: beaker-minimal-7to8-abstract-ondemand

# On-demand kernel-rt tests
- &kernel-rt-abstract-7to8-ondemand
<<: *beaker-minimal-7to8-abstract-ondemand
labels:
- kernel-rt
identifier: sanity-7to8-kernel-rt-abstract-ondemand

# ###################################################################### #
# ######################### Individual tests ########################### #
# ###################################################################### #

# Tests: 7.9 -> 8.10
- &sanity-79to810
<<: *sanity-abstract-7to8
trigger: pull_request
identifier: sanity-7.9to8.10
tf_extra_params:
test:
tmt:
plan_filter: 'tag:7to8 & tag:sanity & enabled:true'
environments:
- tmt:
context:
distro: "rhel-7.9"
distro_target: "rhel-8.10"
settings:
provisioning:
tags:
BusinessUnit: sst_upgrades@leapp_upstream_test
env:
SOURCE_RELEASE: "7.9"
TARGET_RELEASE: "8.10"

- &sanity-79to810-aws
<<: *sanity-abstract-7to8-aws
trigger: pull_request
identifier: sanity-7.9to8.10-aws
tf_extra_params:
test:
tmt:
plan_filter: 'tag:7to8 & tag:upgrade_happy_path & enabled:true'
environments:
- tmt:
context:
distro: "rhel-7.9"
distro_target: "rhel-8.10"
settings:
provisioning:
post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys"
tags:
BusinessUnit: sst_upgrades@leapp_upstream_test
env:
SOURCE_RELEASE: "7.9"
TARGET_RELEASE: "8.10"
RHUI: "aws"
LEAPPDATA_BRANCH: "upstream"
LEAPP_NO_RHSM: "1"
USE_CUSTOM_REPOS: rhui

- &beaker-minimal-79to810
<<: *beaker-minimal-7to8-abstract-ondemand
trigger: pull_request
labels:
- beaker-minimal
- beaker-minimal-7.9to8.10
- 7.9to8.10
identifier: sanity-7.9to8.10-beaker-minimal-ondemand
tf_extra_params:
test:
tmt:
plan_filter: 'tag:7to8 & tag:partitioning & enabled:true'
environments:
- tmt:
context:
distro: "rhel-7.9"
distro_target: "rhel-8.10"
settings:
provisioning:
tags:
BusinessUnit: sst_upgrades@leapp_upstream_test
env:
SOURCE_RELEASE: "7.9"
TARGET_RELEASE: "8.10"

- &kernel-rt-79to810
<<: *kernel-rt-abstract-7to8-ondemand
trigger: pull_request
labels:
- kernel-rt
- kernel-rt-7.9to8.10
- 7.9to8.10
identifier: sanity-7.9to8.10-kernel-rt-ondemand
tf_extra_params:
test:
tmt:
plan_filter: 'tag:7to8 & tag:kernel-rt & enabled:true'
environments:
- tmt:
context:
distro: "rhel-7.9"
distro_target: "rhel-8.10"
settings:
provisioning:
tags:
BusinessUnit: sst_upgrades@leapp_upstream_test
env:
SOURCE_RELEASE: "7.9"
TARGET_RELEASE: "8.10"


# ###################################################################### #
# ############################## 8 TO 9 ################################ #
# ###################################################################### #
Expand Down
13 changes: 7 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -356,16 +356,17 @@ lint:
echo "--- Linting done. ---"; \
fi

if [[ "`git rev-parse --abbrev-ref HEAD`" != "$(MASTER_BRANCH)" ]] && [[ -n "`git diff $(MASTER_BRANCH) --name-only --diff-filter AMR`" ]]; then \
if [[ "`git rev-parse --abbrev-ref HEAD`" != "$(MASTER_BRANCH)" ]]; then \
. $(VENVNAME)/bin/activate; \
git diff $(MASTER_BRANCH) --name-only --diff-filter AMR | grep -v "^docs/" | xargs isort -c --diff || \
{ \
files_to_sort=`git diff main --name-only --diff-filter AMR | grep -v "^docs/"`; \
if [ -n "$$files_to_sort" ]; then \
echo "$$files_to_sort" | xargs isort -c --diff || { \
echo; \
echo "------------------------------------------------------------------------------"; \
echo "Hint: Apply the required changes."; \
echo "Hint: Apply the required changes.";\
echo " Execute the following command to apply them automatically: make lint_fix"; \
exit 1; \
} && echo "--- isort check done. ---"; \
} && echo "--- isort check done. ---"; \
fi \
fi

lint_fix:
Expand Down
Loading