Commit graph

1623 commits

Author SHA1 Message Date
Pedro Algarvio
dfa273bc5e
Merge 3006.x into master 2023-05-06 08:37:41 +01:00
Salt Project Packaging
4e8b77df67
Release v3006.1 2023-05-05 17:53:34 +00:00
Pedro Algarvio
ad84d7cae9 Let's not concentrate the logic into a "one liner"
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-05 10:11:18 +01:00
Pedro Algarvio
9a94ec6d6a Confirm salt extensions are discoverable by salt when salt-pip installed
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-05 10:11:18 +01:00
Pedro Algarvio
a59929ad20 Be sure to run the installed script to confirm it works
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-05 10:11:18 +01:00
Daniel A. Wozniak
8e4907a057 Skip salt user tests on macos 2023-05-03 16:42:19 -07:00
Daniel A. Wozniak
c4ee9ee967 Fix perms on could deployment directories 2023-05-03 16:42:19 -07:00
Daniel A. Wozniak
e36aa3cfcb Skip all salt user tests on mac 2023-05-03 12:35:08 -07:00
Daniel A. Wozniak
28d87c1333 Add chahgelogs for #64141 and #64158 2023-05-03 12:35:08 -07:00
Daniel A. Wozniak
64a0bddd13 Generate master and minion configs 2023-05-03 12:35:08 -07:00
Daniel A. Wozniak
6b599b0e12 salt user in rpm 2023-05-03 12:35:08 -07:00
Daniel A. Wozniak
e00031c5e5 Salt home has world read and execute perms 2023-05-03 12:35:08 -07:00
Daniel A. Wozniak
6c66467269 Leave salt dir world read/execute 2023-05-03 12:35:08 -07:00
Daniel A. Wozniak
fb6906f9d2 use preinst for salt user 2023-05-03 12:35:08 -07:00
Daniel A. Wozniak
9a3ce4630c Fix warts in setting up user in spec file 2023-05-03 12:35:08 -07:00
Daniel A. Wozniak
b7fbec8158 Move salt user creation to common package
Move the salt user creation to the common package shared all other salt
packages.
2023-05-03 12:35:08 -07:00
Pedro Algarvio
ba29a27ad7 Fix test
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-05-03 11:15:07 +01:00
Twangboy
e4c5ce3692 Add test to ensure ssm.exe present 2023-05-03 11:15:07 +01:00
Charles McMarrow
bae0321af9
[3006.x] saltutil.refresh_grains(clean_pillar_cache=False) (#64176)
* flacky jail most have label

* add clean_pillar_cache arg

* add docs

* Revert "flacky jail most have label"

This reverts commit 0888b84fd0.

* add clean pillar cache refresh util

* dont clear unless refresh_pillar

* tests

* changelong
2023-05-02 18:18:48 -07:00
MKLeb
12d41db5d2 Turn setup_windows into a context manager so we can uninstall the MSI packages after the tests are done 2023-05-02 15:49:00 -07:00
MKLeb
9c349a8bc9 get the latest release from the environment variable we propogate 2023-05-02 15:49:00 -07:00
MKLeb
8008417de9 get_repo_subpath_params already returns a list 2023-05-02 15:49:00 -07:00
MKLeb
28861443fe Only run the download tests for the latest subpath if the current version being released is greater than or equal to the latest salt release 2023-05-02 15:49:00 -07:00
MKLeb
353cf57470 dmesg should now already be installed on centosstream 9 2023-05-02 15:49:00 -07:00
MKLeb
2024eb3d71 Only minor will have the salt_release subpath 2023-05-02 15:49:00 -07:00
MKLeb
f601bd078c Run the package download tests for minor, latest, and the version being staged/released 2023-05-02 15:49:00 -07:00
Daniel A. Wozniak
caaf5feff7 Fix building package on amazon linux 2023-05-02 07:18:35 +01:00
Twangboy
c2a871859c Don't forget tools 2023-05-02 07:17:15 +01:00
Twangboy
7e89e3dd9d Include seed in Windows packages 2023-05-02 07:17:15 +01:00
Pedro Algarvio
8f8178a905 Signed and unsigned macOS packages use the same name, like windows.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-29 18:18:53 +01:00
Pedro Algarvio
1f145d37f2 Fix Linux only logical check
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-29 18:18:53 +01:00
Pedro Algarvio
0fe922f3cd Don't yield!
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-29 18:18:53 +01:00
Pedro Algarvio
79d3acce18 Use an indirect fixture
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-29 18:18:53 +01:00
Pedro Algarvio
9d502045d3 Point the command directly at the scripts
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-29 18:18:53 +01:00
Pedro Algarvio
15a1e7b785 Update PATH to include the directory where the salt CLI scripts are
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-29 18:18:53 +01:00
Pedro Algarvio
76026d0c1e Use the tests downloads path
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-29 18:18:53 +01:00
Pedro Algarvio
63e45bc5aa Add supporting code to get the system's grains as a fixture
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-29 18:18:53 +01:00
Pedro Algarvio
1b765b1d54 Run Linux package download tests in VMs instead of containers
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-29 18:18:53 +01:00
Pedro Algarvio
c33b56281b
Merge 3006.x into master
Conflicts:
* doc/ref/configuration/minion.rst
2023-04-28 10:20:04 +01:00
MKLeb
9c7f819817 Move the systemd unit to salt-minion for salt-proxy 2023-04-27 21:27:50 +01:00
MKLeb
959ea4fc29 Move /etc/salt/proxy to the salt-minion debian package 2023-04-27 21:27:50 +01:00
cmcmarrow
13437829fc Merge remote-tracking branch 'upstream/3006.x' into merge-forward/3006.x/master 2023-04-20 17:39:55 -05:00
Megan Wilhite
d2bd6004a8 Only set file and pill roots perms on linux 2023-04-20 19:57:06 +01:00
Salt Project Packaging
86bb64dde2
Release v3006.0 2023-04-18 21:05:02 +00:00
MKLeb
5c7c1396f2 Revert "Release v3006.0"
This reverts commit e5209410c3.
2023-04-18 13:43:28 -07:00
Salt Project Packaging
e5209410c3
Release v3006.0 2023-04-18 16:28:01 +00:00
Twangboy
1e73882cb5 Add back ssm.exe. It is needed for VMtools 2023-04-17 17:57:13 +01:00
Megan Wilhite
5ac22b653e Check systemctl binary before calling it 2023-04-17 16:09:24 +01:00
Pedro Algarvio
10e75b2a8f Wipe the extras directory between tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-15 20:49:08 +01:00
Pedro Algarvio
d33a8b7b4a Only show the warnings when running the download package tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-15 20:49:08 +01:00