Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ELevate 0.21.0 #124

Merged
merged 112 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
fead7b3
Packit: Drop tests for obsoleted upgrade paths + restructuralization
pirat89 Feb 9, 2024
f7fe092
silence use-yield-from from pylint 3.1
evgeni Mar 1, 2024
6ed954c
rocescanner: Actually call process() in test_roce_notibmz test
matejmatuska Mar 11, 2024
6d4337f
Fix incorrect parsing of `lscpu` output
dkubek Feb 20, 2024
91adb97
Add unit tests for actor udevamdinfo
tomasfratrik Mar 4, 2024
6127345
Add unit tests for scansourcefiles actor (#1190)
tomasfratrik Apr 11, 2024
735ac3b
pes_events_scanner: overwrite repositories when applying an event
Apr 2, 2024
1938f7d
Modify upgrade not terminate after lockfile detected
dkubek Apr 10, 2024
fef9331
Make the reboot required text more visible in the console output
matejmatuska Feb 2, 2024
17bc2cb
check_grub_legacy: inhibit when GRUB legacy is present
Apr 21, 2024
3e7d49a
Default channel to GA is not specified otherwise (#1205)
matejmatuska Apr 23, 2024
1b7f812
Enhance grub2 install failure message.
abadger Apr 23, 2024
b82eede
boot: check first partition offset on GRUB devices
Apr 2, 2024
9ad1f0b
boot: Skip checks of first partition offset for for gpt partition table
pirat89 Apr 23, 2024
f603b5e
repomapping: Add RHEL7 ELS repos
matejmatuska Apr 11, 2024
5adbe09
bump required repomap version
matejmatuska Apr 15, 2024
7f52536
fixup! bump required repomap version
matejmatuska Apr 15, 2024
b35b376
Fix incorrect command formulation
dkubek Apr 24, 2024
53bea19
mention `Report` in produces of transitionsystemdservicesstates (#1210)
evgeni Apr 25, 2024
1b02a61
Update packit config after tier redefinition
fernflower Apr 25, 2024
f9bfdb2
Update reboot msg: Note the console access
pirat89 Apr 26, 2024
d6fa42f
Fix kernel cmdline args we add not being propogated to newly installe…
abadger Apr 30, 2024
8ecbd36
kernelcmdlineconfig: add newline in /etc/kernel/cmdline
pirat89 Apr 30, 2024
1ae37a9
Data: Update DDDD.json: fixed incorrect data + add crafted draft for …
pirat89 Apr 25, 2024
78479b8
Data: Update PES data to cover up-to-date changes
pirat89 Apr 29, 2024
49a5aaf
Move common Satellite Upgrade code to "common"
evgeni Feb 19, 2024
8c5065f
Add el8toel9 upgrade facts for Satellite
evgeni Feb 19, 2024
9efc887
Refresh collation version if pulp-ansible is present
evgeni Apr 24, 2024
d2c1f6f
Refactor satellite_upgrade_services to use SystemdServicesTasks
evgeni Apr 26, 2024
d69903e
mount /usr: Implement try-sleep loop - add time for storage initialis…
pirat89 May 3, 2024
e929263
Add additional KB resources
Rezney May 3, 2024
9b72f72
storage initialisation: apply sleep always
pirat89 May 4, 2024
e872dfb
Add renovate to track github-actions deps
r0x0d May 7, 2024
0d70a41
chore(deps): update redhat-plumbers-in-action/differential-shellcheck…
renovate[bot] May 11, 2024
cc7637c
chore(deps): update actions/checkout action to v4
renovate[bot] May 8, 2024
0c5192e
chore(deps): update dependency ubuntu to v22
renovate[bot] May 10, 2024
1a7adf9
Fix E0606 errors reported by pylint
pirat89 May 14, 2024
dbcd972
Fix W0135 reported by pylint
pirat89 May 14, 2024
60018c2
chore(deps): update peter-evans/create-or-update-comment digest to v4…
renovate[bot] May 16, 2024
dc8cd32
properly indent the list of supported OSes
evgeni May 16, 2024
9625d14
report which OS release was detected as unsupported
evgeni May 16, 2024
4c4e05a
Fix typo in .packit.yaml
mkluson May 20, 2024
b5ee084
drop unused packager field from distro metadata
evgeni May 16, 2024
eb8995e
Import RepositoriesMapping
yuravk Aug 16, 2024
38d4fd8
Add environment information to leappdb
dkubek Nov 21, 2023
2c2f610
chore(deps): update actions/github-script action to v7
renovate[bot] May 10, 2024
c3681ff
fix some typos spotted by codespell
evgeni May 27, 2024
380e6e4
BZ#2283067 - don't remove Tomcat during Satellite 7to8 upgrade
evgeni May 27, 2024
5fb6e50
Add product certs and target for 9.5
matejmatuska May 28, 2024
046c03e
packit: Enable 8.10to9.5 tests
matejmatuska May 28, 2024
72ae23f
dnf-plugin-data: sort intput lists
pirat89 May 14, 2024
221697d
rhui setups support alibaba cloud
Jun 3, 2024
e96be52
check_rhui: allow minor versions in the RHUI table
May 23, 2024
9021f9e
rhui(google): add RHEL7 ELS setup into RHUI_SETUPS
May 28, 2024
451f34d
rhui(aws-arm): fix incorrect client names
May 29, 2024
2b07da0
rhui(azure): hardcore client repoids changes for RHEL8.10 SAP
May 30, 2024
58d7afb
fix rhui package collection
Jun 7, 2024
1a41c5d
.packit.yaml: update ENV variables
mkluson Jun 4, 2024
0d98425
.packit.yaml: adjust `post_install_script` for RHEL 7.9
mkluson May 20, 2024
be8e77b
Additional .packit.yaml fixes
mm0ran Jun 6, 2024
72e2a4e
Add PR review changes
mm0ran Jun 7, 2024
945deb6
rhui(gcp): add SAP RHEL 8.10 client (#1253)
MichalHe Jun 10, 2024
ca05566
PR welcome msg: update the msg to cover additional Packit cmds
pirat89 May 6, 2024
baebea8
Add RHEL 7 for SAP ELS to the RHUI config (#1254)
Rezney Jun 19, 2024
f0a51af
Revert "Add RHEL 7 for SAP ELS to the RHUI config (#1254)"
Rezney Jun 21, 2024
8eeff4b
codespell: Use specific version instead of master
matejmatuska Jul 1, 2024
d5df509
Demote "Attempted to both enable and disable" message to warning
evgeni Apr 26, 2024
9204749
Don't enable services that will be afterwards disabled
evgeni Apr 26, 2024
062b2a2
Use frozen branch for rhel7 downstream testing (#1263)
dupliaka Jul 12, 2024
9adbf3a
load obsoleted gpg keys from gpg-signatures.json
evgeni May 27, 2024
ce6f9ec
rhui: do not bootstrap target client on aws
Feb 15, 2024
68caea9
refactor distributionsignedrpmscanner to use common distro helper
evgeni May 27, 2024
fb5aaeb
IPU 9 -> 10: Initial preparation: upgrade paths and leapp packages def
pirat89 Jan 23, 2024
a101bb0
Packaging: Introduce EL 9 builds for IPU 9 -> 10
pirat89 Apr 2, 2024
fc37879
Add RHEL9 container for building and testing
matejmatuska Jun 24, 2024
3564fb9
tests: update pytest requirements to Py3.6+ compat
pirat89 Jul 17, 2024
6c1f486
IPU 9 -> 10: Add (FAKE) RHEL 10 certs and GPG keys
pirat89 Apr 19, 2024
ba65703
Install util-linux into the target container
Rezney Jun 7, 2024
19500a7
Fix LEAPP_IPU_IN_PROGRESS (9to1 -> 9to10)
matejmatuska Jun 28, 2024
f4b7563
Add unit tests for config.version.get_major_version()
pirat89 Jul 15, 2024
4a0ff30
Add artificial 9->10 repomaping data
pirat89 Apr 19, 2024
9f38d10
Update PES data
Rezney May 30, 2024
3db6b0a
IPU 9 -> 10: Specify default PESIDS for el10
pirat89 Apr 19, 2024
7811660
Skip "directory-hash" files
Rezney Jun 6, 2024
069b410
IPU 9 -> 10: Migrate & rebuild RPM DB
Rezney Apr 20, 2024
c180a29
Define empty obsoleted RPM GPG keys for RHEL 10
matejmatuska Jun 27, 2024
2d39f4b
Add 9to10 to GH unit test action
matejmatuska Jun 27, 2024
09b0518
Fix or TODO some version specific actions in actors
matejmatuska Jun 28, 2024
8a2b3bf
Replace deprecated shutil.rmtree onerror kwarg
matejmatuska Jul 11, 2024
0b2fd2b
UpgradeInitramfsGenerator: drop distutils dependency
pirat89 Jul 15, 2024
1ad1fcd
Fix detection when a bootable partition in on RAID
mscherer Jul 3, 2024
7046737
GPG check: do not raise an error when TargetUserSpaceInfo is missing
pirat89 Jul 4, 2024
23cb704
OpenSSHConfigScanner: Include directive is supported since RHEL 8.6
Jakuje Apr 25, 2024
532da87
NetworkManagerConfig: move from el7toel8 to common
lkundrak Jul 20, 2024
1fb3fff
NetworkManagerReadConfig: move from el7toel8 to common
lkundrak Jul 20, 2024
1d17dcf
el0toel10: Add actor that scans for deprecated network settings
lkundrak Jul 20, 2024
ca427f3
Fix incorrect mock in updategrubcore tests
matejmatuska Aug 8, 2024
305df2e
userspacegen: Mock setup_target_rhui_access_if_needed as no-op
matejmatuska Aug 9, 2024
1b6db96
ipa actor: add shortened url for 9-to-10 migration guide
flo-renaud Aug 1, 2024
fb5bc01
targetuserspacecreator: stop skipping `directory-hash` (#1278)
t184256 Aug 13, 2024
51bbe2a
Explicitly show the directory creation.
lonicerae Aug 8, 2024
046e5de
Inhibit incompatible ARM upgrades
dkubek Jul 22, 2024
e359ece
Data: Update to fresh data files
pirat89 Aug 15, 2024
6ce7bde
Add unit tests for leftover packages actors and move them to common repo
tomasfratrik Apr 9, 2024
e514394
Update repos/system_upgrade/common/actors/reportleftoverpackages/repo…
pirat89 Aug 16, 2024
664fe31
First draft of running linting and unit tests separately.
abadger Aug 16, 2024
2b435db
fix
abadger Aug 16, 2024
436b5c0
live_mode: introduce new models required by the feature
Aug 15, 2024
ecdfe7a
live_mode: add support in the already-existing core actors
Aug 15, 2024
a5fa19d
live_mode: add new actors implementing the live mode functionality
Aug 15, 2024
3ef49b8
# Release 0.21.0 (#1282)
pirat89 Aug 16, 2024
2df1167
Move RepoMapData class to Vendors code (repomaputils.py)
yuravk Aug 23, 2024
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
8 changes: 8 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": [
"config:base"
],
"enabledManagers": [
"github-actions"
]
}
10 changes: 5 additions & 5 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: codespell-project/actions-codespell@master
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@v2
with:
ignore_words_list: ro,fo,couldn,repositor
ignore_words_list: ro,fo,couldn,repositor,zeor
skip: "./repos/system_upgrade/common/actors/storagescanner/tests/files/mounts,\
./repos/system_upgrade/el7toel8/actors/networkmanagerreadconfig/tests/files/nm_cfg_file_error,\
./repos/system_upgrade/common/actors/networkmanagerreadconfig/tests/files/nm_cfg_file_error,\
./repos/system_upgrade/el8toel9/actors/xorgdrvfact/tests/files/journalctl-xorg-intel,\
./repos/system_upgrade/el8toel9/actors/xorgdrvfact/tests/files/journalctl-xorg-qxl,\
./repos/system_upgrade/el8toel9/actors/xorgdrvfact/tests/files/journalctl-xorg-without-qxl,\
./repos/system_upgrade/common/actors/scancpu/tests/files/lscpu_s390x,\
./repos/system_upgrade/common/actors/scancpu/tests/files,\
./etc/leapp/files/device_driver_deprecation_data.json,\
./etc/leapp/files/pes-events.json,\
./etc/leapp/files/repomap.json,\
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/differential-shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:

steps:
- name: Repository checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v3
uses: redhat-plumbers-in-action/differential-shellcheck@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
26 changes: 14 additions & 12 deletions .github/workflows/pr-welcome-msg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,30 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Create comment
uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
## **Thank you for contributing to the Leapp project!**
Please note that every PR needs to comply with the [Leapp Guidelines](https://leapp.readthedocs.io/en/latest/contributing.html#) and must pass all tests in order to be mergeable.
If you want to request a review or rebuild a package in copr, you can use following commands as a comment:
- **review please @oamg/developers** to notify leapp developers of the review request
- **/packit copr-build** to submit a public copr build using packit
- **`review please @oamg/developers`** to notify leapp developers of the review request
- **`/packit copr-build`** to submit a public copr build using packit

Packit will automatically schedule regression tests for this PR's build and latest upstream leapp build. If you need a different version of leapp from PR#42, use `/packit test oamg/leapp#42`
Packit will automatically schedule regression tests for this PR's build and latest upstream leapp build.
However, here are additional useful commands for packit:
- **`/packit test`** to re-run manually the default tests
- **`/packit retest-failed`** to re-run failed tests manually
- **`/packit test oamg/leapp#42`** to run tests with leapp builds for the leapp PR#42 (default is latest upstream - master - build)

Note that first time contributors cannot run tests automatically - they need to be started by a reviewer.

It is possible to schedule specific on-demand tests as well. Currently 2 test sets are supported, `beaker-minimal` and `kernel-rt`, both can be used to be run on all upgrade paths or just a couple of specific ones.
To launch on-demand tests with packit:
- **/packit test --labels kernel-rt** to schedule `kernel-rt` tests set for all upgrade paths
- **/packit test --labels beaker-minimal-8.9to9.3,kernel-rt-8.9to9.3** to schedule `kernel-rt` and `beaker-minimal` test sets for 8.9->9.3 upgrade path

[Deprecated] To launch on-demand regression testing public members of oamg organization can leave the following comment:
- **/rerun** to schedule basic regression tests using this pr build and latest upstream leapp build as artifacts
- **/rerun 42** to schedule basic regression tests using this pr build and leapp\*PR42\* as artifacts
- **/rerun-sst** to schedule sst tests using this pr build and latest upstream leapp build as artifacts
- **/rerun-sst 42** to schedule sst tests using this pr build and leapp\*PR42\* as artifacts
- **`/packit test --labels kernel-rt`** to schedule `kernel-rt` tests set for all upgrade paths
- **`/packit test --labels beaker-minimal-8.10to9.4,kernel-rt-8.10to9.4`** to schedule `kernel-rt` and `beaker-minimal` test sets for 8.10->9.4 upgrade path

See other labels for particular jobs defined in the `.packit.yaml` file.

Please [open ticket](https://url.corp.redhat.com/oamg-ci-issue) in case you experience technical problem with the CI. (RH internal only)

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/reuse-copr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
reusable_workflow_copr_build_job:
# This job only runs for '/rerun' pull request comments by owner, member, or collaborator of the repo/organization.
name: Build copr builds for tft tests
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
outputs:
artifacts: ${{ steps.gen_artifacts.outputs.artifacts }}
if: |
Expand All @@ -42,7 +42,7 @@ jobs:
# TODO: The correct way to checkout would be to use similar approach as in get_commit_by_timestamp function of
# the github gluetool module (i.e. do not use HEAD but the last commit before comment).
id: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: "refs/pull/${{ steps.pr_nr.outputs.pr_nr }}/head"

Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Add comment with copr build url
# TODO: Create comment when copr build fails.
id: link_copr
uses: actions/github-script@v4
uses: actions/github-script@v7
with:
script: |
github.issues.createComment({
Expand All @@ -105,7 +105,7 @@ jobs:
- name: Checkout leapp
id: checkout_leapp
if: ${{ steps.leapp_pr_regex_match.outputs.match != '' }}
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: "oamg/leapp"
ref: "refs/pull/${{ steps.leapp_pr.outputs.leapp_pr }}/head"
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
# TODO: Create comment when copr build fails.
id: link_copr_leapp
if: ${{ steps.leapp_pr_regex_match.outputs.match != '' }}
uses: actions/github-script@v4
uses: actions/github-script@v7
with:
script: |
github.issues.createComment({
Expand Down
43 changes: 39 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,61 @@ jobs:
fail-fast: false
matrix:
scenarios:
# 9to10
- name: Run unit tests for el9toel10 and common repositories on python 3.12
python: python3.12
repos: 'el9toel10,common'
container: ubi9
- name: Run python linters for el9toel10 and common repositories on python 3.12
python: python3.12
repos: 'el9toel10,common'
container: ubi9-lint
- name: Run unit tests for el9toel10 and common repositories on python 3.9
python: python3.9
repos: 'el9toel10,common'
container: ubi9
- name: Run python linters for el9toel10 and common repositories on python 3.9
python: python3.9
repos: 'el9toel10,common'
container: ubi9-lint
# 8to9
- name: Run unit tests for el8toel9 and common repositories on python 3.9
python: python3.9
repos: 'el8toel9,common'
container: ubi9
- name: Run python linters for el8toel9 and common repositories on python 3.9
python: python3.9
repos: 'el8toel9,common'
container: ubi9-lint
- name: Run unit tests for el8toel9 and common repositories on python 3.6
python: python3.6
repos: 'el8toel9,common'
container: ubi8
- name: Run python linters for el8toel9 and common repositories on python 3.6
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 unit tests for el8toel9 and common repositories on python 3.6
- name: Run python linters for el7toel8 and common repositories on python 3.6
python: python3.6
repos: 'el8toel9,common'
container: ubi8
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
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
# NOTE(ivasilev) fetch-depth 0 is critical here as leapp deps discovery depends on specific substring in
# commit message and default 1 option will get us just merge commit which has an unrelevant message.
Expand Down
Loading