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

Add package requirements #24

Closed
wants to merge 521 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
521 commits
Select commit Hold shift + click to select a range
6fdb5b0
Add support for upgrade with custom https repos (#1106)
dkubek Aug 22, 2023
d6498b8
update URLs to docs: fix links and use shortened URLs when needed
pirat89 Jun 5, 2023
4fc0d0b
refactor handling of kernel-related information (#1107)
MichalHe Aug 22, 2023
46289e0
load data files: update hints in error messages and prepare for the d…
pirat89 Aug 23, 2023
3bc4203
Use new leapp output apis
matejmatuska Aug 11, 2023
57515f4
Update leapp data files (stream 2.0 only)
pirat89 Aug 22, 2023
db25c79
Release 0.19.0
pirat89 Aug 23, 2023
d86ddcd
Display path to up2date config file in report message
prilr Sep 22, 2023
93906ab
Don't block the upgrade if up2date version override is set to accepta…
prilr Sep 25, 2023
b0e1403
Update gitignore VSCode list
prilr Sep 25, 2023
05c26ac
Bump release to 0.16.0-2-cloudlinux
prilr Sep 25, 2023
926a060
Replace illegal character in release string
prilr Sep 25, 2023
ce8de75
Log the problematic versionOverride value
prilr Sep 26, 2023
ad72fa5
Don't inhibit the upgrade if the versionOverride value is not the one…
prilr Sep 27, 2023
eb041c9
Log vendor files being processed by name
prilr Sep 28, 2023
dad8878
Extend alt-ruby-rubygem-rack package workaround
prilr Sep 28, 2023
979087c
Modify the release suffix to use . instead of + for separator
prilr Sep 29, 2023
6ce1975
Update DNF vars in addition to YUM vars
prilr Sep 29, 2023
cb7cfc8
Improve logging for actor clear_package_conflicts
prilr Sep 29, 2023
0b6d906
Modify the "unknown repo" warning for CL case
prilr Sep 29, 2023
5f2c381
Update MySQL repo URLs unconditionally during Leapp copy generation
prilr Sep 29, 2023
8bf0038
Inhibit upgrade when enabled CL Rollout repositories are detected
prilr Dec 4, 2023
f44ec58
Raise errors from caught in dnfplugin
prilr Dec 4, 2023
57e95f6
Reduce min memory requirements for cPanel systems
prilr Dec 4, 2023
10b8f7b
Revert "Raise errors from caught in dnfplugin"
prilr Dec 4, 2023
1497123
Modify the rollout-detected report to not require actions
prilr Dec 5, 2023
7b3ef39
Update leapp-repository release
prilr Dec 7, 2023
b2fc4d4
Merge pull request #3 from cloudlinux/cl-dev
helldotcat Dec 14, 2023
b420c25
Add AlmaLinux and CentOS keys
andrewlukoshko Jul 26, 2021
6567652
Change GRUB entry name to AlmaLinux-Upgrade-Initramfs
andrewlukoshko Jul 26, 2021
5958b31
Add CentOS 7.9 as supported OS
andrewlukoshko Jul 26, 2021
f95a819
fixed version_id
Jul 26, 2021
8ea0f2b
Fix CentOS major version detection
andrewlukoshko Sep 24, 2021
9163f4d
Use ELevate name in GRUB entries
andrewlukoshko Sep 27, 2021
bc407bb
Disable RHSM
andrewlukoshko Sep 27, 2021
96dbd35
accept major-only versions like CentOS has them
evgeni Apr 1, 2022
2316fc1
accept CentOS SCL gpg key as "RH signed"
evgeni Apr 4, 2022
77228cd
Modify efibootorderfix to support distro changes (#3)
guzzijason Oct 3, 2022
146eaf5
[efibootorderfix] fix device path for md devices (#13)
guzzijason Oct 13, 2022
3c66a91
[fix] efibootorderfix (#16)
guzzijason Oct 17, 2022
9077960
Add support of:
yuravk Nov 14, 2022
d092080
Add Scientific Linux support (#33)
andrewlukoshko Dec 8, 2022
132f494
Scientific Linux 7.9 support (#20)
opoplawski Dec 9, 2022
a87825e
Add CentOS Linux, CloudLinux, AlmaLinux, RockyLinux, Oracle Linux, Eu…
yuravk Dec 8, 2022
1fac729
Add support for 8.8 (#75)
andrewlukoshko May 25, 2023
bdf87f2
Add support for 8.9 and 8.10
andrewlukoshko Nov 22, 2023
1362cd2
Drop CloudLinux related code.
yuravk Dec 22, 2023
8d4bc08
Initial version of automated ELevation testing
LKHN Oct 2, 2023
051385e
Add ability to set custom branch and username
eabdullin1 Dec 25, 2023
d6f17ec
Add job parameters for custom git user and branch
LKHN Dec 25, 2023
698f69c
Add Dev internal job
eabdullin1 Dec 26, 2023
e278731
Add priority for internal repo
eabdullin1 Dec 12, 2023
c7cfb12
Add boot_timeout var
eabdullin1 Dec 12, 2023
d3adefa
Add internal repos
eabdullin1 Dec 11, 2023
4c90150
Add AlmaLinux8 new sig.
yuravk Jan 9, 2024
f68c91a
Copy system's certificates if RHSM only.
yuravk Jan 9, 2024
51d38a9
Remove obsolete GPG keys
yuravk Jan 10, 2024
3e609f9
Fix creation of /etc/rhsm/facts path.
yuravk Jan 10, 2024
d2e30eb
Merge pull request #89 from yuravk/almalinux-ng
andrewlukoshko Jan 12, 2024
67e4345
Add EuroLinux to the list of distributions, where grub config should …
yuravk Jan 18, 2024
c2787a6
Merge pull request #90 from yuravk/almalinux-ng
andrewlukoshko Jan 18, 2024
9feaf46
CLOS-2338: clear conflicting files from OpenSSL libs
prilr Feb 1, 2024
6ee7363
Simplfy the problem_packages_installed function.
prilr Feb 7, 2024
4259990
Add has_package directly to ClearPackageConflicts, documentation
prilr Feb 9, 2024
4de5988
Merge pull request #4 from prilr/openssl
prilr Feb 9, 2024
de4b381
Update leapp-repository release to 4
prilr Feb 9, 2024
3462b4a
Fix silent Report ignores in the ScanRolloutRepositories actor
prilr Feb 7, 2024
46d30d9
Add UpdateAlmaLinuxKey actor to import the AlmaLinux GPG key before d…
prilr Feb 9, 2024
73565cc
Typos and logging modifications.
prilr Feb 12, 2024
1a7559f
Merge pull request #5 from prilr/alma_key
prilr Feb 12, 2024
0926d22
Fix Leapp actor initialization for ClearPackageConflicts
prilr Feb 12, 2024
e6944e2
Don't update cloudlinux-release when switching CLN channels
prilr Feb 28, 2024
7137a4a
Rework the cl_mysql_repository_setup actor
prilr Feb 28, 2024
8b62d64
Expand the warning message at the start to more explicitly mention th…
prilr Feb 29, 2024
c161bd8
Merge pull request #8 from prilr/new-warning
prilr Feb 29, 2024
ec499c5
Don't write packages to keep into the DNF plugin's to upgrade list
prilr Mar 1, 2024
bb64da4
Inhibit the upgrade when the file /etc/leapp-simulate-inhibitor is pr…
prilr Feb 29, 2024
458553a
Consider Leapp packages signed in the package scanner actor
prilr Mar 1, 2024
0653995
Remove mention of Red Hat from the unsigned packages message
prilr Mar 1, 2024
da609c6
Exclude leapp repositories from the "skipped repositories" message
prilr Mar 1, 2024
95e08ac
Merge pull request #7 from prilr/clmysql
prilr Mar 1, 2024
ef9fb32
Bump package version
prilr Mar 1, 2024
df21e77
Map the in-place generated MySQL custom repositories
prilr Mar 4, 2024
707544a
Configure RHN data for the isolated environment via Leapp task messages
prilr Mar 6, 2024
1817c48
Make CLN package repositories properly supported by the upgrade process
prilr Mar 11, 2024
1806b58
Correct CLN channel switch report tags
prilr Mar 11, 2024
f6e940e
Replace direct CLN registration with a check
prilr Mar 11, 2024
e92cc47
Replace outdated model usage in CLN-related tasks
prilr Mar 12, 2024
32582d3
Move MySQL data backup to an earlier stage
prilr Mar 14, 2024
7152f41
Add actors working with marker files for CLN dnf plugin for the isola…
prilr Mar 14, 2024
c8350ad
Merge pull request #9 from prilr/cln-integration
prilr Mar 14, 2024
40fc69c
Modify the CLN actor execution order
prilr Mar 18, 2024
23c5233
Add report production to the NetworkManagerUpdateConnections actor
prilr Mar 20, 2024
c2aa9b7
Handle cases where the CLN marker file is already cleaned up in Unset…
prilr Mar 20, 2024
6d6af66
Fix the CL-MySQL type and module detection logic
prilr Mar 21, 2024
be4259d
Reset CLN channel to 7 after preupgrade phases
prilr Mar 25, 2024
1e2be59
Correct uprgade target repos for upstream MySQL/MariaDB
prilr Mar 28, 2024
6089297
Add conflict workarounds for lua-cjson
prilr Mar 28, 2024
c18549c
Bump package version to 0.16.0-6.cloudlinux
prilr Mar 28, 2024
e619aee
Handle possible failures of xfs_info command
fernflower Feb 1, 2023
4b046ae
Merge pull request #10 from shibutd/cloudlinux
prilr Apr 10, 2024
5d27743
Load all substitutions from etc (the way dfn CLI does)
yuravk Apr 22, 2024
1b919f9
Merge pull request #107 from yuravk/almalinux-ng
andrewlukoshko Apr 22, 2024
0a7b515
Update actor.py to support NVMe device enumeration
N3WWN Feb 26, 2024
7025923
Fix dot-less CentOS Stream release determining.
yuravk Apr 24, 2024
e1c072c
Merge pull request #109 from yuravk/almalinux-ng-fix-107
andrewlukoshko Apr 24, 2024
2552782
Merge pull request #108 from yuravk/almalinux-ng
andrewlukoshko Apr 24, 2024
35d9ae4
Bump package version to 0.16.0-7.cloudlinux
May 2, 2024
09a1b39
Force creation of shared mount points during overlay creation (CLOS-2…
May 2, 2024
a4e3d02
bump version to 0.16.0-8
May 3, 2024
69a7fbf
Merge pull request #12 from cloudlinux/clos-2565-fix-private-mounts
prilr May 6, 2024
2f80c17
overlay lib: Deprecate old ovl internal functions (refactoring)
pirat89 Jul 10, 2023
d6dc991
overlay lib: replace os.getenv common.config.get_env
pirat89 Jul 10, 2023
cf46e6f
overlay lib: Redesign creation of the source overlay composition
pirat89 Jul 10, 2023
903f005
systemd-nspawn fails when a devtmpfs entry is present in /etc/fstab:
Jun 15, 2023
66c4db8
overlay lib: Secure the creation of the disk image when size is < 130
pirat89 Jul 31, 2023
74c6417
Turn off features not supported by v16, but cherry-picked from v19 al…
Monstrofil May 14, 2024
a623d40
Use _ensure_enough_diskimage_space_old in fallback code instead of _e…
Monstrofil May 14, 2024
0be27ee
Fix wrong functions being used in legacy part of diskimage creation
May 15, 2024
0e81dcd
Adding basic DirectAdmin elevation support
Monstrofil May 16, 2024
a04faa5
Merge pull request #13 from cloudlinux/clos-2631-backport-xfs-fixes
prilr May 20, 2024
c82e9d7
Merge pull request #14 from cloudlinux/clos-2623-directadmin-elevation
prilr May 22, 2024
2970eb0
Bump version to 0.16.0-9
prilr May 22, 2024
314bcbd
Added plesk elevation support
May 31, 2024
ab33af1
Merge pull request #15 from cloudlinux/clos-2670-plesk-support
prilr Jun 4, 2024
c08e3c8
Adding "da build all" on the last step in elevation
Monstrofil Jun 4, 2024
963e6d6
Merge remote-tracking branch 'refs/remotes/origin/cloudlinux' into cl…
Jun 5, 2024
c2aa65b
Change detection of DirectAdmin to detectcontrolpanel lib
Jun 5, 2024
23879fd
Exit from directadmin rebuild actor when control panel does not match
Jun 5, 2024
ab44301
Merge pull request #16 from cloudlinux/clos-directadmin-elevation
prilr Jun 6, 2024
713f991
Bump version to 0.16.0-10
prilr Jun 13, 2024
64a9813
check_grub_legacy: inhibit when GRUB legacy is present
Apr 21, 2024
59510b0
Enhance grub2 install failure message.
abadger Apr 23, 2024
982f3b7
boot: check first partition offset on GRUB devices
Apr 2, 2024
6b6376a
boot: Skip checks of first partition offset for for gpt partition table
pirat89 Apr 23, 2024
e05bbad
Update report creation code to be supported by v16
Rezney Nov 18, 2022
210f246
use existing get_grub_device instead of new get_grub_device`s`
Monstrofil Jun 13, 2024
2d3e06c
Add KB link to article about /boot migration to hints
Monstrofil Jun 20, 2024
bfca2c4
added missing blank space
Monstrofil Jun 20, 2024
c887b0e
Merge pull request #17 from cloudlinux/clos-2610-add-safe-grub-space-…
prilr Jun 20, 2024
6d4f9ea
AlmaLinux vendors.d functionaloty rebased on top of v0.19 (#114)
Monstrofil Jun 20, 2024
7325b6d
CI: (#110)
yuravk Jun 20, 2024
b4bf605
Add debug logs for scanning vendor PES files
prilr Jul 1, 2024
48f3c6a
Always consider the EPEL vendor active
prilr Jul 1, 2024
33c2a2c
Add a built-in signature for Fedora EPEL
prilr Jul 1, 2024
883110b
Remove the OpenSSL workaround
prilr Jul 1, 2024
a17bd9e
Add a separate changelog file to track changes made in the CloudLinux…
prilr Jul 3, 2024
be9b321
CLOS-2759: The elevation process failed during stage 3 - Cache-only e…
Jul 5, 2024
65c3999
Update the changelog file for 0.16.0-10
prilr Jul 9, 2024
7d50c28
Output additional data for the check_os_release actor
prilr Jul 10, 2024
10cad20
Add AlmaLinux ELevate SIG. (#116)
yuravk Jul 11, 2024
e966de1
Add TuxCare key fingerprint as known (#118)
andrewlukoshko Jul 16, 2024
b6f42ac
Fix detection when a bootable partition in on RAID
mscherer Jul 3, 2024
88c8780
Merge pull request #22 from shibutd/fix-partition-table-parsing
prilr Aug 1, 2024
9ab522d
Further narrow down packit tests
fernflower Aug 10, 2023
b5026a1
Bring back uefi_test
fernflower Aug 11, 2023
86ce5b8
Add 7.9->8.9 and 8.9->9.3 upgrade paths
fernflower Aug 11, 2023
741b8d0
Split tier1 tests into default-on-push and on-demand
fernflower Aug 22, 2023
1ed6a7e
Add labels to all tests
fernflower Aug 22, 2023
16de517
Split tier1 tests into default-on-push and on-demand
fernflower Aug 22, 2023
a6b8492
Add labels to all tests
fernflower Aug 22, 2023
f620c7a
Refactor using YAML anchors
fernflower Aug 23, 2023
7f2ff6e
Add kernel-rt tests and switch to sanity for default
fernflower Aug 23, 2023
e33aeda
Minor label enhancements
fernflower Aug 24, 2023
63ab900
Update pr-welcome message
fernflower Aug 24, 2023
c5bfc33
Address ddiblik's review comments
fernflower Aug 28, 2023
060da96
Address mmoran's review comments
fernflower Aug 29, 2023
1ad7470
Add isccfg library manual running mode
pemensik Aug 30, 2023
fd615d5
Avoid warnings on python2
pemensik Aug 31, 2023
67f9d71
makefile: add dev_test_no_lint target
Aug 1, 2023
1a7af47
Fix the issue of going out of bounds in the isccfg parser.
SandakovMM Aug 24, 2023
25c061e
make pylint and spellcheck happy again
PeterMocary Oct 9, 2023
93efcab
Remove TUV from supported target channels
mkluson Oct 10, 2023
e893b5d
Transition systemd service states during upgrade
matejmatuska Mar 14, 2023
f38172c
Remove obsoleted enablersyncdservice actor
matejmatuska Mar 15, 2023
25bc3f1
default to NO_RHSM mode when subscription-manager is not found
evgeni Oct 21, 2023
6215df6
call correct mkdir when trying to create /etc/rhsm/facts (#1132)
evgeni Oct 30, 2023
7721073
load all substitutions from etc
evgeni Oct 21, 2023
73bb5ab
be less strict when figuring out major version in initrd
evgeni Nov 4, 2023
6f54eb9
rhui: bootstrap target rhui clients in scratch container
Mar 8, 2023
b71dfed
add backward compatibility for leapp-rhui-(aws|azure) packages
PeterMocary Oct 18, 2023
758ca31
checknfs: do not check systemd mounts
Sep 14, 2023
019e5df
Switch from plan name regex to filter by tags
fernflower Nov 10, 2023
a3e7685
Bring back reference to oamg/leapp-tests repo
fernflower Nov 13, 2023
97b0c1c
add the posibility to upgrade with a local repository
PeterMocary Jul 12, 2023
f71e93f
Fix certificate symlink handling
dkubek Oct 24, 2023
f9251f3
Add prod certs and upgrade paths for 8.10 & 9.4
pirat89 Nov 15, 2023
555b8ae
pylint: ignore too-many-lines
pirat89 Nov 16, 2023
c06b6da
Update upgrade paths: Add 8.10/9.4
pirat89 Nov 16, 2023
e248994
Rework _copy_decouple to follow relative symlinks and symlinks to dir…
abadger Jan 11, 2024
97bd090
Copy dnf.conf to target userspace and allow a custom one
matejmatuska Nov 14, 2023
ae48960
adjustlocalrepos: suppress unwanted deprecation report
pirat89 Nov 16, 2023
cade714
add detection for custom libraries registered by ld.so.conf
PeterMocary Aug 22, 2023
fde8ff8
Fix several typos and Makefile help
Jakuje Jun 26, 2023
df49188
Move code handling GPG keys to separate library
Jakuje Jul 4, 2023
9c377c6
Check no new unexpected keys were installed during the upgrade
Jakuje Jul 4, 2023
c621f76
BZ#2250254 - force removal of tomcat during the upgrade
evgeni Nov 20, 2023
2fa1180
Add 79to88 and 79to89 aws upgrade paths
fernflower Nov 14, 2023
83847ac
Add 7.9to8.10 and 8.10to9.4 upgrade paths
fernflower Nov 20, 2023
e2fb631
Utilize get_target_major_version in no enabled target repositories re…
andywaltlova Nov 26, 2023
a9a2254
Workaround tft issue with listing disabled plans
fernflower Dec 12, 2023
d5da4e6
Distribution agnostick check of signed packages [1/2]
evgeni Dec 11, 2023
c433fd2
Distribution agnostick check of signed packages [2/2]
evgeni Dec 11, 2023
e4fdfe7
Pylint: fix superfluous-parens in the code
pirat89 Dec 6, 2023
f88fbfd
distributionsignedrpmscanner: refactoring + gpg-pubkey fix
pirat89 Dec 11, 2023
75cee86
Introduce two functions for listing which packages are leapp packages.
fernflower Dec 14, 2023
9eaeb3c
Switch test repo branch to main
fernflower Jan 10, 2024
5198485
Update dependencies: require xfsprogs and e2fsprogs
pirat89 Dec 5, 2023
95d593c
Several enhancements to the Makefile
abadger Jan 11, 2024
618e19c
pes_events_scanner: Ignore Leapp related PES events
matejmatuska Nov 23, 2023
4f25767
Use library functions for getting leapp packages
fernflower Jan 11, 2024
2471d4c
Introduce TrackedFilesInfoSource message and new actor
pirat89 Oct 19, 2023
2a24fc7
Add actors for OpenSSL conf and IBMCA
pirat89 Oct 20, 2023
1b50e53
Introduce custom modifications tracking
fernflower Nov 16, 2023
f092e0e
Rework _copy_decouple to follow relative symlinks and symlinks to dir…
abadger Jan 11, 2024
6b9d158
Use `happy_path` instead `e2e` for public clouds
mkluson Jan 12, 2024
c68e86e
Cover upgrades RHEL 8 to RHEL 9 using RHUI on Alibaba cloud
Nov 29, 2023
ff38629
load data files: do not try to download data files when missing
pirat89 Aug 23, 2023
d253954
upgrade data files loading: update error msgs and repors + minor changes
pirat89 Jan 17, 2024
fdc24f8
Fix another cornercase with symlink handling
abadger Jan 19, 2024
469c807
device driver deprecation data: print nice error msg on malformed data
pirat89 Jan 22, 2024
d916362
SELinux: Work around "semanage import bug" RHEL-3295
vmojzis Jan 17, 2024
770681d
Add RHEL 8.8 and 8.9 to RHUI testing
mkluson Jan 25, 2024
8f93bb6
transitionsystemdservicesstates: Do not handle libvirt and virt* serv…
matejmatuska Feb 7, 2024
636da43
Drop obsoleted upgrade path (obsoleted releases: 8.6, 8.9, 9.0, 9.3)
pirat89 Feb 9, 2024
2254a2a
dracut modules: add breakpoints with more consistent names
pirat89 Jan 5, 2024
3c7cb15
Release 0.20.0
pirat89 Feb 13, 2024
16b4d8c
Update the data files (pes, repomap, dddd): CTC2-0
pirat89 Jan 12, 2024
ed96308
Update upgrade data + bump required data stream to 3.0
pirat89 Jan 18, 2024
6e1dfd9
Update PES data (CTC2-2)
pirat89 Jan 23, 2024
9804c6f
repomap: Add RHEL8 aarch64 repos for Alibaba RHUI
matejmatuska Jan 26, 2024
e2f73d5
Merge pull request #119 from yuravk/almalinux-ng-0.20.0
andrewlukoshko Aug 13, 2024
83a3d64
Add ELevate key SIG to all distros.
yuravk Aug 13, 2024
af7de5c
Merge pull request #120 from yuravk/almalinux-ng
andrewlukoshko Aug 13, 2024
57c0707
Add one of PostgreSQL's keys to the list of obsoleted ones for 9:
yuravk Aug 15, 2024
772019e
Merge pull request #122 from yuravk/almalinux-ng
andrewlukoshko Aug 15, 2024
56131ea
Add ELS key SIG to all distros.
yuravk Aug 20, 2024
52f3a15
Merge pull request #123 from yuravk/almalinux-ng
andrewlukoshko Aug 20, 2024
6794bbb
Merge remote-tracking branch 'refs/remotes/origin/cloudlinux' into al…
Aug 22, 2024
c0aa6bb
Restore add_permitrootlogin_conf functionality
Aug 22, 2024
a015e77
Drop unused files from the package
Aug 22, 2024
f3786d3
fix files section of the spec
Aug 22, 2024
7e6dbfc
remove empty files appeared after rebase
Aug 22, 2024
fcacc53
update cloudlinux actors codebase to recent core changes
Aug 22, 2024
a07d42a
replace reporting.Tags with new reporting.Groups
Aug 22, 2024
60d2679
fix missing imports and undefined variables according to pylint
Monstrofil Aug 23, 2024
d3f9c63
fix typo in update cagefs actor
Monstrofil Aug 28, 2024
20b6beb
Make tests pass
Monstrofil Aug 28, 2024
79581a2
Move cln_switch to common libraries
Monstrofil Aug 29, 2024
3c64157
Merge pull request #23 from cloudlinux/cloudlinux_v20
prilr Aug 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 30 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Codespell

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: codespell-project/actions-codespell@master
with:
ignore_words_list: ro,fo,couldn,repositor
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/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,\
./etc/leapp/files/device_driver_deprecation_data.json,\
./etc/leapp/files/pes-events.json,\
./etc/leapp/files/repomap.json,\
./repos/system_upgrade/common/files/prod-certs"
29 changes: 29 additions & 0 deletions .github/workflows/differential-shellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
# https://github.com/redhat-plumbers-in-action/differential-shellcheck#readme

name: Differential ShellCheck
on:
pull_request:
branches: [master]

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-latest

permissions:
security-events: write
pull-requests: write

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

- name: Differential ShellCheck
uses: redhat-plumbers-in-action/differential-shellcheck@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
21 changes: 14 additions & 7 deletions .github/workflows/pr-welcome-msg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,24 @@ jobs:
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 mergable.
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** to notify leapp developers of review request
- **review please @oamg/developers** to notify leapp developers of the review request
- **/packit copr-build** to submit a public copr build using packit

To launch regression testing public members of oamg organization can leave the following comment:
- **/rerun** to schedule basic regression tests using this pr build and leapp\*master\* as artifacts
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`

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-all** to schedule all tests (including sst) using this pr build and leapp\*master\* as artifacts
- **/rerun-all 42** to schedule all tests (including sst) 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

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

**Note:** In case there are problems with tests not being triggered automatically on new PR/commit or pending for a long time, please consider rerunning the CI by commenting **leapp-ci build** (might require several comments). If the problem persists, contact leapp-infra.
**Note:** In case there are problems with tests not being triggered automatically on new PR/commit or pending for a long time, please contact leapp-infra.
18 changes: 12 additions & 6 deletions .github/workflows/reuse-copr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jobs:
&& startsWith(github.event.comment.body, '/rerun')
&& contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
steps:
- name: Update repository
id: repo_update
run: sudo apt-get update

- name: Install necessary deps
id: deps_install
run: sudo apt-get install -y libkrb5-dev
Expand All @@ -35,7 +39,7 @@ jobs:
echo "::set-output name=pr_nr::${PR_URL##*/}"

- name: Checkout
# TODO: The correct way to checkout would be to use simmilar approach as in get_commit_by_timestamp function of
# 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
Expand All @@ -53,18 +57,19 @@ jobs:
env:
COPR_CONFIG: "copr_fedora.conf"
COPR_CHROOT: "epel-7-x86_64,epel-8-x86_64"
COPR_REPO: "@oamg/leapp"
run: |
cat << EOF > $COPR_CONFIG
[copr-cli]
login = ${{ secrets.FEDORA_COPR_LOGIN }}
username = @oamg
username = oamgbot
token = ${{ secrets.FEDORA_COPR_TOKEN }}
copr_url = https://copr.fedorainfracloud.org
# expiration date: 2030-07-04
EOF

pip install copr-cli
PR=${{ steps.pr_nr.outputs.pr_nr }} COPR_CONFIG=$COPR_CONFIG COPR_CHROOT=$COPR_CHROOT make copr_build | tee copr.log
PR=${{ steps.pr_nr.outputs.pr_nr }} COPR_CONFIG=$COPR_CONFIG COPR_REPO="$COPR_REPO" COPR_CHROOT=$COPR_CHROOT make copr_build | tee copr.log

COPR_URL=$(grep -Po 'https://copr.fedorainfracloud.org/coprs/build/\d+' copr.log)
echo "::set-output name=copr_url::${COPR_URL}"
Expand All @@ -88,7 +93,7 @@ jobs:
id: leapp_pr_regex_match
with:
text: ${{ github.event.comment.body }}
regex: '^/(rerun|rerun-all)\s+([0-9]+)\s*$'
regex: '^/(rerun|rerun-sst)\s+([0-9]+)\s*$'

- name: If leapp_pr was specified in the comment - trigger copr build
# TODO: XXX FIXME This should schedule copr build for leapp but for now it will be just setting an env var
Expand Down Expand Up @@ -118,18 +123,19 @@ jobs:
env:
COPR_CONFIG: "copr_fedora.conf"
COPR_CHROOT: "epel-7-x86_64,epel-8-x86_64"
COPR_REPO: "@oamg/leapp"
run: |
cat << EOF > $COPR_CONFIG
[copr-cli]
login = ${{ secrets.FEDORA_COPR_LOGIN }}
username = @oamg
username = oamgbot
token = ${{ secrets.FEDORA_COPR_TOKEN }}
copr_url = https://copr.fedorainfracloud.org
# expiration date: 2030-07-04
EOF

pip install copr-cli
PR=${{ steps.leapp_pr.outputs.leapp_pr }} COPR_CONFIG=$COPR_CONFIG COPR_CHROOT=$COPR_CHROOT make copr_build | tee copr.log
PR=${{ steps.leapp_pr.outputs.leapp_pr }} COPR_CONFIG=$COPR_CONFIG COPR_REPO="$COPR_REPO" COPR_CHROOT=$COPR_CHROOT make copr_build | tee copr.log

COPR_URL=$(grep -Po 'https://copr.fedorainfracloud.org/coprs/build/\d+' copr.log)
echo "::set-output name=copr_url::${COPR_URL}"
Expand Down
76 changes: 52 additions & 24 deletions .github/workflows/tmt-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,37 +10,47 @@ jobs:
uses: ./.github/workflows/reuse-copr-build.yml
secrets: inherit

call_workflow_tests_79to84_integration:
call_workflow_tests_79to88_integration:
needs: call_workflow_copr_build
uses: oamg/leapp/.github/workflows/reuse-tests-7to8.yml@master
secrets: inherit
with:
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
tmt_plan_regex: "^(?!.*c2r)(?!.*sap)(?!.*8to9)(?!.*morf)"
pull_request_status_name: "7.9to8.4"
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@master
secrets: inherit
with:
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
tmt_plan_regex: "^(?!.*c2r)(?!.*sap)(?!.*8to9)(?!.*morf)"
variables: 'TARGET_RELEASE=8.6'
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_79to84_sst:
call_workflow_tests_79to88_sst:
needs: call_workflow_copr_build
uses: oamg/leapp/.github/workflows/reuse-tests-7to8.yml@master
secrets: inherit
with:
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
tmt_plan_regex: "^(?!.*c2r)(?!.*sap)(?!.*8to9)(.*morf)"
pull_request_status_name: "7.9to8.4-sst"
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-all')
&& startsWith(github.event.comment.body, '/rerun-sst')
&& contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)

call_workflow_tests_7to8_aws:
Expand All @@ -49,55 +59,73 @@ jobs:
secrets: inherit
with:
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
tmt_plan_regex: "^(?!.*c2r)(?!.*sap)(?!.*8to9)(.*e2e)"
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: "RHUI=aws"
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@master
secrets: inherit
with:
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
tmt_plan_regex: "^(?!.*c2r)(?!.*sap)(?!.*7to8)(?!.*morf)"
tmt_plan_regex: "^(?!.*max_sst)(.*tier1)"
variables: 'SOURCE_RELEASE=8.6;TARGET_RELEASE=9.0;TARGET_KERNEL=el9;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;LEAPPDATA_BRANCH=upstream'
pull_request_status_name: "8.6to9.0"
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_87to91_integration:
call_workflow_tests_88to92_integration:
needs: call_workflow_copr_build
uses: oamg/leapp/.github/workflows/reuse-tests-8to9.yml@master
secrets: inherit
with:
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
tmt_plan_regex: "^(?!.*c2r)(?!.*sap)(?!.*7to8)(?!.*morf)"
variables: "LEAPP_DEVEL_TARGET_PRODUCT_TYPE=beta;RHSM_SKU=RH00069;TARGET_RELEASE=9.1;TARGET_KERNEL=el9;RHSM_REPOS=rhel-8-for-x86_64-appstream-rpms,rhel-8-for-x86_64-baseos-rpms"
compose: "RHEL-8.7.0-Nightly"
pull_request_status_name: "8.7to9.1"
tmt_context: "distro=rhel-8.7"
tmt_plan_regex: "^(?!.*max_sst)(.*tier1)"
variables: 'SOURCE_RELEASE=8.8;TARGET_RELEASE=9.2;TARGET_KERNEL=el9;RHSM_REPOS=rhel-8-for-x86_64-appstream-rpms,rhel-8-for-x86_64-baseos-rpms;LEAPPDATA_BRANCH=upstream'
compose: "RHEL-8.8.0-Nightly"
pull_request_status_name: "8.8to9.2"
tmt_context: "distro=rhel-8.8"
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_8to9_sst:
call_workflow_tests_86to90_sst:
needs: call_workflow_copr_build
uses: oamg/leapp/.github/workflows/reuse-tests-8to9.yml@master
secrets: inherit
with:
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
tmt_plan_regex: "^(?!.*c2r)(?!.*sap)(?!.*7to8)(.*morf)"
tmt_plan_regex: "^(?!.*tier[2-3].*)(.*max_sst.*)"
variables: 'SOURCE_RELEASE=8.6;TARGET_RELEASE=9.0;TARGET_KERNEL=el9;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;LEAPPDATA_BRANCH=upstream'
pull_request_status_name: "8to9-sst"
update_pull_request_status: 'false'
if: |
github.event.issue.pull_request
&& startsWith(github.event.comment.body, '/rerun-all')
&& startsWith(github.event.comment.body, '/rerun-sst')
&& contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)

call_workflow_tests_8to9_aws:
call_workflow_tests_86to90_aws:
needs: call_workflow_copr_build
uses: oamg/leapp/.github/workflows/reuse-tests-8to9.yml@master
secrets: inherit
with:
copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }}
tmt_plan_regex: "^(?!.*c2r)(?!.*sap)(?!.*7to8)(.*e2e)"
tmt_plan_regex: "^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*7to8)(.*e2e)"
compose: "RHEL-8.6-rhui"
environment_settings: '{"provisioning": {"post_install_script": "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys"}}'
pull_request_status_name: "8to9-aws-e2e"
variables: "RHUI=aws"
variables: 'SOURCE_RELEASE=8.6;TARGET_RELEASE=9.0;TARGET_KERNEL=el9;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;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)
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ ENV/

# visual studio code configuration
.vscode
*.code-workspace

# pycharm
.idea
Loading
Loading