Commit graph

119308 commits

Author SHA1 Message Date
Daniel A. Wozniak
159d9327d1 Add more loader dunders to cp module.
Using cp module to dip our feet into more explicit loader dunders. Most
all of the existing dunders can be imported already. The one outlier
being used by the cp module is __opts__.
2024-04-11 14:25:03 -07:00
Thomas Phipps
559825c922 remove backwords compatibility.
internally salt doesn't need it. and if someone is using PillarCache
incorrectly that is on them.
2024-04-10 14:58:48 -07:00
Thomas Phipps
4a8f72a15d add changelog and tests 2024-04-10 14:58:48 -07:00
Thomas Phipps
8b1e7c8427 add fix for pillar_override being saved in PillarCache 2024-04-10 14:58:48 -07:00
Shane Lee
d78245ce35 Make sure dict keys are lowercase 2024-04-10 14:17:32 -07:00
Shane Lee
0c05af434a Make the underscore directory standard 2024-04-10 17:03:06 +01:00
Shane Lee
e5d1e4db9d Keep directory structure the same on Master and Masterless
Fixes winrepo.update_git_repos so that the directory structure is the
same whether run on the master or on a minion using salt-call.
2024-04-10 17:03:06 +01:00
Shane Lee
0340fcea03 Remove _git from winrepo dir name 2024-04-10 17:03:06 +01:00
Pedro Algarvio
9d4d730d59 One more tests that needs the host keys ignored 2024-04-09 09:51:05 +01:00
Tyler Levy Conde
e8c3bdb482 set allow_fragments to False 2024-04-08 21:54:25 +01:00
Tyler Levy Conde
2868ac1f89 revert test changes 2024-04-08 21:54:25 +01:00
Tyler Levy Conde
73d6ca8914 Passing pre-commit 2024-04-08 21:54:25 +01:00
Tyler Levy Conde
e9c86090ae Black and changelog added for 63060 2024-04-08 21:54:25 +01:00
Tyler Levy Conde
a649fec423 file.managed correctly handles paths containing a '#' 2024-04-08 21:54:25 +01:00
Shane Lee
653b61a2c9 Update Wix to 3.14.1 2024-04-08 18:15:51 +01:00
Pedro Algarvio
2f0cdc91b7 Move tests so that they can be picked up from changed files automation 2024-04-05 17:08:28 +01:00
Pedro Algarvio
b9ed67af24 Revert "Remove _git from winrepo dir name"
This reverts commit 69b42256be.
2024-04-05 17:08:28 +01:00
Pedro Algarvio
36e23f87ab Revert "Keep directory structure the same on Master and Masterless"
This reverts commit e7b735cdac.
2024-04-05 17:08:28 +01:00
Pedro Algarvio
bc8e35bcd4 Simplify/Fix tests 2024-04-04 22:36:59 +01:00
Shane Lee
e7b735cdac Keep directory structure the same on Master and Masterless
Fixes winrepo.update_git_repos so that the directory structure is the
same whether run on the master or on a minion using salt-call.
2024-04-04 14:13:12 -07:00
Shane Lee
69b42256be Remove _git from winrepo dir name 2024-04-04 14:13:12 -07:00
Pedro Algarvio
819270445b Some tests just need to get hosts ignored forced 2024-04-04 14:31:11 +01:00
Pedro Algarvio
20f4966ca0 Stop ignoring the host keys, query and write them down as accepted. 2024-04-04 14:31:11 +01:00
Pedro Algarvio
37e56ba0a6 Reap child processes after each of the ssh tests in case of timeouts 2024-04-04 14:31:11 +01:00
Pedro Algarvio
bfacdbf98f Upgrade to `pytest-salt-factories==1.0.1` 2024-04-04 14:31:11 +01:00
Pedro Algarvio
1998ba3424 Remove extra logic missed in 68131ce7ab
This allowed the tests in https://github.com/saltstack/salt/pull/66169
to pass when they shouldn't
2024-04-03 09:05:27 +01:00
Pedro Algarvio
2d578e8ed0 Temporarily skip some tests on Rocky Linux 8 Arm64 2024-04-02 18:16:45 +01:00
Pedro Algarvio
28814b9eab Define additional needs for a few jobs 2024-04-02 16:02:27 +01:00
Pedro Algarvio
48f95f90ac Do not run nightly or scheduled builds on private repos 2024-04-02 15:33:18 +01:00
ScriptAutomate
42dd9fea5d Replace AlmaLinux with Rocky Linux 2024-04-02 14:13:03 +01:00
Pedro Algarvio
0690b15be6 Windows needs more complex passwords. Use the auto generated one.
Reduce fixture duplication.
2024-04-02 14:12:44 +01:00
nicholasmhughes
025b3f073e use importorskip 2024-04-01 10:30:04 +01:00
nicholasmhughes
ed345d06e7 fixes saltstack/salt#66284 x509.certificate_managed - ca_server did not return a certificate 2024-04-01 10:30:04 +01:00
Pedro Algarvio
4eccba4f2d Check against an array, not a string 2024-03-28 13:41:54 +00:00
Pedro Algarvio
027d95a3bc Fix cache prefixes 2024-03-28 13:41:54 +00:00
Pedro Algarvio
895b761592 Always print the collected runners 2024-03-28 13:41:54 +00:00
Pedro Algarvio
fd82bcab9c Always print out the defined testrun 2024-03-28 13:41:54 +00:00
Pedro Algarvio
b62203973c Always print out the list of jobs to run 2024-03-28 13:41:54 +00:00
Pedro Algarvio
7c5125a8e3 Add what OS'es run tests as a step summary 2024-03-28 13:41:54 +00:00
Pedro Algarvio
d6ff5005da Use `attrs` to simplify OS definitions 2024-03-28 13:41:54 +00:00
Pedro Algarvio
8d51ca91f2 Add tools command to sync known OS'es with GH test labels 2024-03-28 13:41:54 +00:00
Pedro Algarvio
7cc7595167 Mandatory OS slugs are now defined in `cicd/shared-gh-workflows-context.yml` 2024-03-28 13:41:54 +00:00
Pedro Algarvio
6592ccba52 Create get_cicd_shared_context() and get_golden_images() 2024-03-28 13:41:54 +00:00
Pedro Algarvio
fb58df01f4 Allow choosing which OS to run tests against using labels 2024-03-28 13:41:54 +00:00
ScriptAutomate
0d27cf6c1f Reduce test range in PRs and branch merges 2024-03-28 13:41:54 +00:00
Pedro Algarvio
62f13b32ec Just "grep" what we're after
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-03-28 13:41:54 +00:00
Pedro Algarvio
b556845850 Bump to `dorny/paths-filter@v3` 2024-03-28 13:41:54 +00:00
Pedro Algarvio
5c4e810836 Make jinja rendering strict. Undefined variable use throws error. 2024-03-28 13:41:54 +00:00
David Murphy
78625d8db7 Add leading slash to salt helper file paths as per dh_links requirement 2024-03-28 10:12:22 +00:00
David Murphy
93dadb2116 Ensure symbolic links are created before using systemctl 2024-03-27 19:16:29 +00:00