Commit graph

24586 commits

Author SHA1 Message Date
Carlos Álvaro
927ccc7264 feat: Add tests to highstate returner 2024-03-22 14:19:39 -07:00
Thomas Phipps
66bb993cbd add arm64 to _get_opt and SourceEntry.repo_line tests. 2024-03-20 13:49:40 -07:00
Thomas Phipps
aabba2793a initial removal of python librarys that only exist in debian system python, not done yet
remove unused functions

add pkg.which for deb packages. an item from pkng that should have spread to systems that support it

move SourcesList and SourceEntry to salt.utils.pkg.deb where it belongs.

fix pkg.which test hopfully coreutils is installed

first attempt at fixng #65703

add first changelogs

fix the indexing issue with deb opts by using OrderedDict instead

move salt.utils.pkg.deb tests to functional since not actually unit test.

use example.com instead of real repo in tests.

fix changelog 65703

added changelog for 66201

fix two to many toos in changelog
2024-03-20 13:49:40 -07:00
Pedro Algarvio
d6e72e1f54
Daylight savings suck! 2024-03-12 13:58:55 +00:00
Pedro Algarvio
04a992a47c
Fix lint issues 2024-03-07 21:53:18 +00:00
Pedro Algarvio
74415c7d0a
Merge 3007.x into master 2024-03-07 10:06:45 +00:00
Pedro Algarvio
c336cdb1c9
Fix test failures 2024-03-06 12:41:11 +00:00
Pedro Algarvio
bd564da5b8
Skip test if the rpmdev-vercmp is not found 2024-03-06 12:41:11 +00:00
Pedro Algarvio
628c0d2713
Fix lint issues in 3007.x branch 2024-03-06 12:41:11 +00:00
Pedro Algarvio
54f4150727
Merge branch '3007.x' of github.com:saltstack/salt into hotfix/merge-forward-into-3007.x 2024-03-06 12:37:56 +00:00
jeanluc
47341772ac Allow stateful import of GPG keys from files/strings 2024-03-05 14:39:01 -07:00
Daniel A. Wozniak
e14ece8d3b Fix test timeouts 2024-03-02 00:33:29 -07:00
Shane Lee
b7f44da849 Refactor and add some tests
Added the check to a few other places in channel server
2024-02-29 14:53:54 -07:00
Pedro Algarvio
b7630f3b08
Merge 3006.x into 3007.x 2024-02-29 14:25:24 +00:00
Pedro Algarvio
f4549113b1
Update pre-commit hook versions 2024-02-29 12:30:49 +00:00
Pedro Algarvio
c920ba443d
Remove all kitchen and jenkins related resources
The salt-project hasn't been using them for a very long time.
2024-02-29 10:27:02 +00:00
Pedro Algarvio
03ad4c6337 Update code to be Py3.7+ to reduce merge forward conflicts 2024-02-29 10:16:58 +00:00
Pedro Algarvio
3dea2eb541 Update pre-commit hook versions 2024-02-29 10:16:58 +00:00
Pedro Algarvio
0d6d4cfb36 Remove all kitchen and jenkins related resources
The salt-project hasn't been using them for a very long time.
2024-02-29 10:16:58 +00:00
Pedro Algarvio
67b08abf29 Remove deprecated code 2024-02-29 10:16:58 +00:00
Daniel A. Wozniak
060a192cc7 Fix linter 2024-02-29 06:29:17 +00:00
Daniel A. Wozniak
a589667304 test fix 2024-02-29 06:29:17 +00:00
Daniel A. Wozniak
738bbbbbc4 Fix up tests 2024-02-29 06:29:17 +00:00
Daniel A. Wozniak
34ee98ba8c Migrate pillar unit tests to pytest 2024-02-29 06:29:17 +00:00
Daniel A. Wozniak
b0a6a81387 Provide execution module a regular file client durring pillar rendering 2024-02-29 06:29:17 +00:00
Daniel A. Wozniak
3884ef9652 Fix linter 2024-02-28 16:49:31 -07:00
Daniel A. Wozniak
afb794a7e4 test fix 2024-02-28 16:49:31 -07:00
Daniel A. Wozniak
6c3658828b Fix up tests 2024-02-28 16:49:31 -07:00
Daniel A. Wozniak
874626e5d7 Migrate pillar unit tests to pytest 2024-02-28 16:49:31 -07:00
Daniel A. Wozniak
64e0297936 Provide execution module a regular file client durring pillar rendering 2024-02-28 16:49:31 -07:00
Shane Lee
ecc39aa994 Refactor and add some tests
Added the check to a few other places in channel server
2024-02-28 16:01:43 -07:00
Pedro Algarvio
e94a6ec036
Merge 3007.x into master 2024-02-28 19:05:24 +00:00
Pedro Algarvio
acd688cc04
Merge pull request #66018 from s0undt3ch/hotfix/merge-forward-into-3007.x
[3007.x] Merge 3006.x into 3007.x
2024-02-28 19:00:47 +00:00
Pedro Algarvio
e9122b1d7c Skip salt-ssh related tests on Fedora 39
The problem is that the tornado we ship is not prepared for Python 3.12,
and it imports `ssl` and checks if the `match_hostname` function is defined, which
has been deprecated since Python 3.7, so, the logic goes into trying to import
backports.ssl-match-hostname which is not installed on the system.
2024-02-28 11:24:14 +00:00
Pedro Algarvio
3978817195 Remove skips targeting PhotonOS 3 2024-02-28 11:24:14 +00:00
Pedro Algarvio
5f48635fe8 Improve logic to account for Alma Linux 2024-02-28 11:24:14 +00:00
Pedro Algarvio
b3a19e6ad4
Adjust timeout for windows 2024-02-28 11:18:21 +00:00
Daniel A. Wozniak
7c487d2c71 Adjust more test timeouts 2024-02-28 01:07:31 -07:00
Daniel A. Wozniak
588fb116f7 Update test timeouts, work around pylint failure 2024-02-27 14:52:16 -07:00
Pedro Algarvio
856ac3545e Revert "Add test case"
This reverts commit 21ebbf155d.
2024-02-27 09:47:43 +00:00
Pedro Algarvio
5840ab68a5 We depend on `msgpack >= 1.0`, simplify logic 2024-02-27 08:07:04 +00:00
Pedro Algarvio
890140fba1 The `salt.utils.psutil_compat` module has been deprecated 2024-02-27 08:07:04 +00:00
Pedro Algarvio
b9be2dec1b Update and remove obsolete pylint plugins 2024-02-27 08:07:04 +00:00
nicholasmhughes
6e10b5b579 copy paste error - managed to serialize 2024-02-26 12:16:39 -07:00
nicholasmhughes
9f797b56c2 fixes saltstack/salt#66098 file.managed and file.serialize default tmp_dir to relative path 2024-02-26 12:16:39 -07:00
Shane Lee
d68826c61e Add a state for managing scheduled tasks on Windows
This is a port over from a PR that was merged onto the develop branch.
https://github.com/saltstack/salt/pull/53035
2024-02-26 12:15:56 -07:00
cmcmarrow
2a39ff1357 Add win_task state and tests. 2024-02-26 12:15:56 -07:00
cmcmarrow
fd0e253fe2 Add win_task state and tests. 2024-02-26 12:15:56 -07:00
Erik Johnson
21ebbf155d Add test case 2024-02-22 15:44:18 -07:00
nicholasmhughes
0d518807e2 fix insertion of newfile key in changes dict for windows 2024-02-20 19:35:44 -07:00