Commit graph

120231 commits

Author SHA1 Message Date
Pedro Algarvio
4691317034
Merge 3006.x into 3007.x 2024-01-31 11:05:43 +00:00
Pedro Algarvio
ecf154ca51 Deprecate and stop using salt.features
Fixes https://github.com/saltstack/salt/issues/65951
2024-01-30 15:20:38 -07:00
Pedro Algarvio
3e5c7213d1
Merge pull request #65935 from s0undt3ch/hotfix/requirements-3006.x
[3006.x] Fix static requirements
2024-01-26 15:48:10 +00:00
Pedro Algarvio
75118c6e53
Fix static requirements 2024-01-26 15:46:53 +00:00
Pedro Algarvio
9e09676855
Merge pull request #65926 from s0undt3ch/hotfix/merge-forward-2
[3007.x] Merge 3006.x into 3007.x
2024-01-26 15:24:14 +00:00
Pedro Algarvio
2631170a6f
Fix tests not properly fixed during the merge-forward
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-26 06:20:11 +00:00
Pedro Algarvio
890df5021b
Exit the process cleanly
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-26 05:54:45 +00:00
Pedro Algarvio
3f378cb381 Fix Ubuntu 23.04 code name
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-26 04:59:55 +00:00
Pedro Algarvio
5176efd7f8 Allow creating the packages repository for Ubuntu 23.04
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-26 04:59:55 +00:00
Pedro Algarvio
f1ed56c2a5 Programmatically discover which OS versions to build repos
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-25 19:24:52 +00:00
Pedro Algarvio
3afeaad0a7
Try to create the directory and don't fail if it already exists
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-25 18:03:19 +00:00
Pedro Algarvio
560b24f1a6
Fix a few yield statements which should have been converted to await
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-25 16:13:26 +00:00
Pedro Algarvio
a51d3e00dd Fix the Mac OS onedir package download tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-25 15:34:33 +00:00
Pedro Algarvio
6c39ed458f Fix artifact downloads when testing package downloads
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-25 15:34:33 +00:00
Pedro Algarvio
5ea370c1fb
Merge 3006.x into 3007.x 2024-01-25 09:47:57 +00:00
Pedro Algarvio
121301514d
Minor cleanup
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-25 08:22:40 +00:00
Pedro Algarvio
20fd342182 Only show system information.
The test plan was always wrong due to the kind of test selection that
was done.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-25 08:15:23 +00:00
Shane Lee
9baaab2135 Add some import tests for the package 2024-01-24 14:39:38 -07:00
Twangboy
02ea8d48da Add xmltodict to Windows requirements 2024-01-24 14:39:38 -07:00
Insoo Ha
a395534469 Resolve lint failed 2024-01-24 16:00:41 +00:00
Insoo Ha
4708fe8900 Fix missing error handling. 2024-01-24 16:00:41 +00:00
Insoo Ha
10b9aeda05 fix pre-commit 2024-01-24 16:00:41 +00:00
Insoo Ha
13cfa9341f Revert "fix pre-commit"
This reverts commit 9f779c68cfef5683fc8ffc2cf7f39a94366a4fe1.
2024-01-24 16:00:41 +00:00
Insoo Ha
95bccf06c2 fix pre-commit 2024-01-24 16:00:41 +00:00
Insoo Ha
98c92a3fac Use send_multipart instead of send when sending multipart message. 2024-01-24 16:00:41 +00:00
Pedro Algarvio
86cfde38ed
Run pyupgrade against the files modified in the merge-forward 2024-01-24 15:05:46 +00:00
Pedro Algarvio
3448e40847
Merge 3006.x into 3007.x 2024-01-24 15:02:25 +00:00
Pedro Algarvio
487a1ad3d0 Be sure to raise the RuntimeError's in the CI context
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-24 14:43:15 +00:00
Pedro Algarvio
bbff5cec15 Stop time bombing with RuntimeError's
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-24 14:43:15 +00:00
Shane Lee
166560c4c9 Add documentation to the ini_manage module
Add missing documentation for all functions
Add documentation for new parameter `encoding`
Add Returns section to documentation
2024-01-23 14:11:22 -07:00
Shane Lee
4b6aad6230 Add some tests for unicode
Test reading and writing to utf-8, utf-16, utf-16-le and utf-32-le
ini files
2024-01-23 14:11:22 -07:00
Shane Lee
51adf9e0b2 Migrate ini_manage tests from unittests 2024-01-23 14:11:22 -07:00
Shane Lee
69952a8ff4 Add encoding option to the ini module
Adds a new encoding parameter to the ini module to handle scenarios
where the ini file encoding is not utf-8.
2024-01-23 14:11:22 -07:00
Shane Lee
ba44de34fa Rebase to 3006.x 2024-01-23 14:11:22 -07:00
Thomas Phipps
d922f94e95 fix http unit test 2024-01-23 10:15:26 -07:00
Thomas Phipps
482ff737e6 try gate trustme 2024-01-23 10:15:26 -07:00
Thomas Phipps
c91e1d8a5e add https to proxy so that requests knows how to proxy https 2024-01-23 10:15:26 -07:00
Pedro Algarvio
56f73ba939 Fix osarch value in comparisson
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-22 17:34:02 +00:00
Pedro Algarvio
bfc1e9ad41 Reduce the number of test swarm minions on Amazon 2023 on Arm64
The test suite is getting OOM killed on that test.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-22 08:47:08 +00:00
Pedro Algarvio
a9b16faa75 Increase integration tests concurrency
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-21 17:46:40 +00:00
Pedro Algarvio
6c12abf3b1 Fix static requirements
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-21 14:00:09 +00:00
Pedro Algarvio
db9ca73942 Fix some more places where we need to use `actions/{upload,download}-artifact@v3`
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-20 18:24:18 +00:00
Pedro Algarvio
e10482ecaa Fix some more places where we need to use `actions/{upload,download}-artifact@v3`
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-20 18:22:37 +00:00
hurzhurz
c89ca5b9f1 s3fs: add settings for hardcoded parameters S3_SYNC_ON_UPDATE and S3_CACHE_EXPIRE 2024-01-19 14:35:23 -07:00
Pedro Algarvio
9f2fb8e76a
Merge pull request #65899 from s0undt3ch/hotfix/merge-forward-2
[3007.x] Merge 3006.x into 3007.x
2024-01-19 11:13:07 +00:00
Pedro Algarvio
6694a7a273
Merge 3006.x into 3007.x 2024-01-19 07:40:21 +00:00
Pedro Algarvio
4fbb0f9943 Fix and AttributeError on Windows
```
AttributeError: module 'signal' has no attribute 'SIGALRM'. Did you mean: 'SIGABRT'?
```
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-19 07:01:13 +00:00
Pedro Algarvio
f390a4d235 Some steps need to be kept at actions/upload-artifact@v3
This is because we upload multiple artifacts under the same name something that ``actions/upload-artifact@v4`` does not do.

There are breaking changes with this new version.
See https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available/

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-19 07:01:13 +00:00
Pedro Algarvio
3d6b9523f7 Switch to actions/upload-artifact@v4 and actions/download-artifact@v4
There are breaking changes with this new version.
See https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available/

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-19 07:01:13 +00:00
Pedro Algarvio
97dffa2425 Rely on uploaded artifacts instead of the GH cache
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-19 07:01:13 +00:00