Commit graph

117909 commits

Author SHA1 Message Date
MKLeb
7aadeaf792 Account for upgrades from new relenv-based repos 2023-06-29 13:01:04 -07:00
MKLeb
296ec76a34 Generate the pkg test matrix and include the versions to test upgrades against within it 2023-06-29 13:01:04 -07:00
MKLeb
f670b637e4 Propogate the now testing-releases through to the package tests 2023-06-29 13:01:04 -07:00
MKLeb
d4312c6acf Join the Array with spaces for use in the tools command 2023-06-29 13:01:04 -07:00
MKLeb
6b55d99154 Pass the list of Salt releases from the prior step that queried the GH API 2023-06-29 13:01:04 -07:00
MKLeb
350c9982ff Use ctx.web for requests and require the --salt-version kwarg 2023-06-29 13:01:04 -07:00
MKLeb
5289a2d50a Add get-latest-release command so we can dynamically get the previous versions to test upgrades and downgrades for 2023-06-29 13:01:04 -07:00
Megan Wilhite
2d02017d6c
Merge pull request #64574 from s0undt3ch/hotfix/merge-forward
[master] Merge 3006.x into master
2023-06-29 13:13:13 +00:00
Pedro Algarvio
2e962677b7
Run pyupgrade against the changes from the merge-forward
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-29 09:41:56 +01:00
Pedro Algarvio
819c2dc9e7
Merge 3006.x into master 2023-06-29 09:40:29 +01:00
Charles McMarrow
8869972f07 fix pre 2023-06-29 09:09:17 +01:00
Charles McMarrow
a7b178beca Fix Fast Tests 2023-06-29 09:09:17 +01:00
cmcmarrow
1f8dc3c510 allow flaky to double group 2023-06-29 09:09:17 +01:00
Charles McMarrow
ffa67b257c Update conftest.py 2023-06-29 09:09:17 +01:00
Charles McMarrow
115f3f6d6c Update conftest.py error msg 2023-06-29 09:09:17 +01:00
cmcmarrow
a1a414813b stop double test_labels 2023-06-29 09:09:17 +01:00
Pedro Algarvio
c463c94b8d Stop using the deprecated locale.getdefaultlocale() function
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-29 08:01:12 +01:00
Pedro Algarvio
9aeed74e96
Merge pull request #64560 from s0undt3ch/hotfix/merge-forward
[master] Merge 3006.x into master
2023-06-28 20:38:03 +01:00
Pedro Algarvio
34f13a7632 pathlib.Path.__enter__() usage is deprecated and not required, a no-op
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 18:06:15 +00:00
Pedro Algarvio
f4eea34984 Stop accessing deprecated attributes
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 18:06:15 +00:00
Pedro Algarvio
aacdfc9b98 Stop using the deprecated locale.getdefaultlocale() function
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 18:06:15 +00:00
Pedro Algarvio
31475e74e8
Run pypugrade against the files changed in the merge-forward
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 11:56:47 +01:00
Pedro Algarvio
c4987f83ed
Merge 3006.x into master 2023-06-28 11:51:20 +01:00
Pedro Algarvio
6c772d4d64 Only try to get pull-request labels on pull-requests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 07:43:26 +01:00
MKLeb
58174eb8e1 Hash the noxfile when calculating part of the cache key for our testing steps, they could be conditionally installing extra dependencies, etc... 2023-06-28 07:27:31 +01:00
Pedro Algarvio
b6a9599a70 Just confirm that the expected error messages is in stderr
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 07:26:05 +01:00
Pedro Algarvio
57e0156e64 Add change log files
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 07:26:05 +01:00
Pedro Algarvio
ba733b3a63 Don't hide output
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 07:26:05 +01:00
Pedro Algarvio
fb9f0bc54a Don't hardcode the python version on pkg/debian/salt-cloud.postinst
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 07:26:05 +01:00
Pedro Algarvio
e4876d2e49 Don't hardcode the python version in the test.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 07:26:05 +01:00
Pedro Algarvio
7b99572095 Stop using the deprecated imp module
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 07:26:05 +01:00
Pedro Algarvio
1f9d094b8f Stop using the deprecated pipes module
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 07:26:05 +01:00
Pedro Algarvio
2cf3094331 Stop using the deprecated cgi module.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 07:26:05 +01:00
Pedro Algarvio
2d824c9153 Enable code coverage on pull-requests by setting the test:coverage label
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-27 21:39:05 +01:00
Pedro Algarvio
4b85fc6e17 Concentrate test selection to a single place
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-27 21:39:05 +01:00
Pedro Algarvio
3fe2f44903 Choose a full test run when a PR has the test:full label
Fixes #64539

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-27 21:39:05 +01:00
Pedro Algarvio
2d513978a5 Switch to using tools and re-use the event payload available instead of querying again
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-27 21:39:05 +01:00
Pedro Algarvio
5bad773949 Don't override the on jinja block on the CI workflow template
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-27 21:39:05 +01:00
Megan Wilhite
0892d07684
Merge pull request #64466 from cmcmarrow/remove_conn_func_from_napalm
[master] Remove salt.modules.napalm_mod.netmiko_conn and pyeapi_conn
2023-06-27 20:28:38 +00:00
Thomas Phipps
021c6792bf fix the runner.run to have its own full_return that defautls to False so anything currently using runner.run will work the same as before. this is what i should have done from the start. 2023-06-27 12:14:57 +01:00
jeanluc
560bacdaeb Add test for custom wrapper usage 2023-06-26 19:53:07 +00:00
jeanluc
1e08e7d006 Correct/add versionadded 2023-06-26 19:53:07 +00:00
jeanluc
830232f9e9 run pre-commit upgrade code for Py3.8+ again 2023-06-26 19:53:07 +00:00
jeanluc
31cf73704f Add sync_wrapper to saltutil state module 2023-06-26 19:53:07 +00:00
jeanluc
c81e8f045b run pre-commit upgrade code for Py3.8+ 2023-06-26 19:53:07 +00:00
jeanluc
7b0d09bd29 Add syncing of custom ssh wrappers 2023-06-26 19:53:07 +00:00
Thomas Phipps
90b3c25364 remove destructive and skip_if_not_root from fixture 2023-06-26 19:39:38 +00:00
Thomas Phipps
52f965eb42 remove destructive and skip_if_not_root from pytest.fixture 2023-06-26 19:39:38 +00:00
Thomas Phipps
b265eaecb7 add skip_if_not_root to destructive tests in aptpkg as they all manipulate the filesystem. 2023-06-26 19:39:38 +00:00
Thomas Phipps
dc83ef63ba Update changelog/58667.fixed.md
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
2023-06-26 19:39:38 +00:00