Commit graph

117382 commits

Author SHA1 Message Date
Daniel A. Wozniak
79f240c2e9 Tornado 6.1 2023-05-23 14:41:30 -07:00
Pedro Algarvio
6d918e15a3 Drop Fedora 36 which has reached EOL
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-23 12:49:19 +01:00
Pedro Algarvio
80ff2f662d Skip tests/unit/{modules,states}/test_zcbuildout.py on windows.
It needs special work on the golden images to get SSL to properly work.
These steps are required because the code being tested is using
`easy_install` which does not know how to get certificates from `certifi`.
Since `easy_install` is too old, and deprecated, the extra work is not
worth it, plus, they are still being tested on other platforms.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-23 12:49:19 +01:00
Pedro Algarvio
f3edefc93a Update to latest golden images
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-23 12:49:19 +01:00
Pedro Algarvio
a81f58f37d Define a variable for the path to shared-gh-workflows-context.yml
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-22 19:53:17 -07:00
Pedro Algarvio
d933bec989 Try harder to detect what is the target release for changelog generation.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-22 19:53:17 -07:00
Pedro Algarvio
eb71862449 Sometimes the first page does not have any results. Try next page if there's a next token.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-22 19:56:16 +00:00
Daniel A. Wozniak
9dffea3178 Check return code instead of stdout 2023-05-22 19:56:16 +00:00
Daniel A. Wozniak
cb396fe805 Ubuntu pkg tests run apt non-interactive mode.
Issue #64307
2023-05-22 19:56:16 +00:00
ScriptAutomate
bd57d085ad Update banners and links 2023-05-22 19:56:16 +00:00
Eric Graham
83cadc12f5 Add New Line to Changelog 2023-05-22 19:56:16 +00:00
Eric Graham
724fc20824 Run Black Pre-Commit Step 2023-05-22 19:56:16 +00:00
Eric Graham
926270054d Remove Silent Catch 2023-05-22 19:56:16 +00:00
Eric Graham
db1406a85f Fix Changelog Typo 2023-05-22 19:56:16 +00:00
Eric Graham
a467c04d04 Clarify Failing Test Message; Search for Entire Log Line in caplog 2023-05-22 19:56:16 +00:00
Eric Graham
071a65fb10 Rename Global Logger log to logger in pip_state.py 2023-05-22 19:56:16 +00:00
Eric Graham
3c552ecb90 Add unit test for #64169 2023-05-22 19:56:16 +00:00
Eric Graham
aeaf55815a Call global logger when catching pip.list exceptions in states.pip.installed 2023-05-22 19:56:16 +00:00
jeanluc
57608c0067 Fix x509_v2 unknown salt-internal kwargs 2023-05-22 19:56:16 +00:00
jeanluc
6503765b3f Add test for issue 64232 2023-05-22 19:56:16 +00:00
Frode Gundersen
b91f363951 Update tests/pytests/unit/states/test_linux_acl.py
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2023-05-22 19:56:16 +00:00
Frode Gundersen
33e2538aa8 migrate unit_states_test_linux_acl to pytest 2023-05-22 19:56:16 +00:00
MKLeb
4896c90684 Address review comments (typos, docs) 2023-05-22 19:56:16 +00:00
MKLeb
75a93eefc3 Refactor the tools pkg repo commands into a subdirectory 2023-05-22 19:56:16 +00:00
Pedro Algarvio
b713c3441b Pass the LATEST_SALT_RELEASE environment variables through to the VM
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-22 19:56:16 +00:00
Tanmoy037
82ba2a5da8 remove the header comment about masterless 2023-05-22 19:50:48 +00:00
Alex Dehnert
b897734f4a Add warning about effective rights mask
Group permission on the file should generally be at least as broad as
any file ACLs, to avoid ineffective ACLs and/or changes each time the
state is run.
2023-05-18 19:20:25 +00:00
pjcreath
7fc547faff Move the mac_user._kcpassword unit test into the pytests directory.
Also fix a typo in the pytests README.
2023-05-15 20:46:34 +00:00
pjcreath
64def39282 Add changelog. 2023-05-15 20:46:34 +00:00
pjcreath
402aa367ed Fix the password hashing function of mac_user.enable_auto_login
Fixes #64226
2023-05-15 20:46:34 +00:00
jeanluc
6867accbc4 Update versionadded 2023-05-15 20:45:48 +00:00
jeanluc
7ca76a8bea Rename changelog files to .md 2023-05-15 20:45:48 +00:00
jeanluc
fceb58d543 Fix tests, return res dict 2023-05-15 20:45:48 +00:00
jeanluc
c76fdd638a Reduce versionadded
in case it makes its way into 3006
2023-05-15 20:45:48 +00:00
jeanluc
b622d96a62 Return minion_id on success
This makes checking the response downstream more reliable.
2023-05-15 20:45:48 +00:00
jeanluc
0873ece26c Add match runner 2023-05-15 20:45:48 +00:00
Marius Hoch
0cb3dc87e7 Fix two typos in the salt.state.cryptdev examples 2023-05-09 20:06:28 +00:00
hiteshbedre
f68e9616b9 corrected misleading comment 2023-05-09 20:05:23 +00:00
jeanluc
4d617dd44a
Add signed_by_[any|all] parameters to gpg.verify (#63168)
* Add test for issue 63145

* Make gpg.verify respect gnupghome

* Add `signed_by_any`/`signed_by_all` params to gpg.verify

* Reconsider status check

* Fix tests

* Plug verification issue after status check reconsideration

Since missing pubkeys also cause the previous signature's
fingerprint to be overwritten, this would have led to
situations where the check could have passed when it
should not have.

* Cleanup logic

* Workaround python-gnupg issue

https://github.com/vsajip/python-gnupg/issues/214

* Adapt offical fix for workaround

ee94a7ecc1
That was very fast.

* Backport more meaningful test

* Update versionadded

* Avoid exception on import w/ missing gnupg lib

* Do not apply workaround on fixed versions

* Correct bool comparison

* Account for subkeys

sig_info["fingerprint"] contains the actual signing key's fingerprint,
which might be a subkey. The primary key's fingerprint is always found in
sig_info["pubkey_fingerprint"]. In cases where a signing subkey was
used, the intended behavior is still comparison with the primary key.

* Bump versionadded

* Rename changelog files to .md
2023-05-09 13:24:48 -06:00
Pedro Algarvio
6b1a49e341 Pull requests targeting master should also trigger the logic.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-09 19:09:37 +00:00
Pedro Algarvio
bf964ccd25 Create the release notes template(if missing)
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-09 19:09:37 +00:00
Pedro Algarvio
0b0c29e79c The master branch is now for 3007(Chlorine) development
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-09 19:09:37 +00:00
Pedro Algarvio
4d2787c6af
Merge pull request #64247 from s0undt3ch/hotfix/merge-forward
[master] Merge 3006.x into master
2023-05-08 17:44:45 +01:00
Pedro Algarvio
dfa273bc5e
Merge 3006.x into master 2023-05-06 08:37:41 +01:00
MKLeb
44b2c01855 Remove the release_branches check, other rules we have setup lock it up well enough 2023-05-06 07:52:59 +01:00
Shane Lee
b2e91cccba
Merge pull request #64245 from twangboy/fix_update_winrepo
[master] Update create-pull-request action to v5
2023-05-05 16:44:46 -06:00
Twangboy
e2d4a223cc
Update create-pull-request action to v5 2023-05-05 16:44:28 -06:00
Shane Lee
a02127f7db
Merge pull request #64244 from twangboy/fix_update_winrepo
[master] Fix update winrepo
2023-05-05 15:24:39 -06:00
Twangboy
0e89ac8050
Update python script to use load_yaml 2023-05-05 15:20:41 -06:00
Twangboy
5b69f6e5ed
Fix repo url 2023-05-05 15:18:04 -06:00