Commit graph

1649 commits

Author SHA1 Message Date
Pedro Algarvio
b8e3a0adca Don't hide output
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-19 23:35:51 +01:00
Pedro Algarvio
2126a1ed21
Merge 3006.x into master 2023-06-17 23:28:57 +01:00
Pedro Algarvio
40d8564265
The fixture should be session scoped
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-17 20:45:41 +01:00
Pedro Algarvio
fea52743f6
Merge 3006.x into master 2023-06-17 13:40:19 +01:00
Pedro Algarvio
28d2987b63 Make sure system installed packages are up-to-date before running tests.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-17 13:39:37 +01:00
Pedro Algarvio
50063ff617 Pass the python version too
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-16 07:32:35 +01:00
Pedro Algarvio
2a65c3e025 Pass along the relenv version that should be used.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-16 07:32:35 +01:00
Pedro Algarvio
4ab503d459 Pass the python version too
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-14 16:43:53 +01:00
Pedro Algarvio
520ec4a0e9 Pass along the relenv version that should be used.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-14 16:43:53 +01:00
Pedro Algarvio
4d2c3c43c2
Merge 3006.x into master 2023-06-13 07:53:51 +01:00
MKLeb
e68ee534da Use unzip for the windows onedir archives after download 2023-06-12 20:24:07 +00:00
MKLeb
1f5191ec65 Fix the condition in another spot 2023-06-12 20:24:07 +00:00
MKLeb
6518cedcb5 Windows has multiple package types, change the setup condition to reflect that 2023-06-12 20:24:07 +00:00
MKLeb
95d8e03a10 Assign arch outside of the ifs 2023-06-12 20:24:07 +00:00
MKLeb
c0c5058156 provide the right arguments to setup_windows and setup_macos 2023-06-12 20:24:07 +00:00
MKLeb
ba4f80b0ee Add onedir download tests for windows and mac as well 2023-06-12 20:24:07 +00:00
MKLeb
9ea7a0177b Give a separate path to extract the onedir to 2023-06-12 20:24:07 +00:00
MKLeb
d99b7684eb Add initial onedir download test for linux (using Ubuntu x86 and arm) 2023-06-12 20:24:07 +00:00
Pedro Algarvio
c10eb79954
Merge 3006.x into master
Conflicts:
* changelog/64226.fixed.md
* tests/pytests/unit/states/test_pip.py
2023-05-30 12:59:16 +01:00
MKLeb
8fce8ca476 Relenv now produces Python 3.10.11 2023-05-24 15:13:40 +01:00
MKLeb
ae9f9d379b Fix windows and mac building from without an existing onedir 2023-05-24 15:13:40 +01:00
MKLeb
e2a624f984 Build macos packages without existing onedir 2023-05-24 15:13:40 +01: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
Daniel A. Wozniak
50c666eaf8 Check return code instead of stdout 2023-05-22 18:40:56 +01:00
Daniel A. Wozniak
a5cfe80c89 Ubuntu pkg tests run apt non-interactive mode.
Issue #64307
2023-05-22 18:40:56 +01:00
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