Pedro Algarvio
d6ff5005da
Use `attrs
` to simplify OS definitions
2024-03-28 13:41:54 +00:00
Pedro Algarvio
8d51ca91f2
Add tools command to sync known OS'es with GH test labels
2024-03-28 13:41:54 +00:00
Pedro Algarvio
7cc7595167
Mandatory OS slugs are now defined in `cicd/shared-gh-workflows-context.yml
`
2024-03-28 13:41:54 +00:00
Pedro Algarvio
6592ccba52
Create get_cicd_shared_context()
and get_golden_images()
2024-03-28 13:41:54 +00:00
Pedro Algarvio
fb58df01f4
Allow choosing which OS to run tests against using labels
2024-03-28 13:41:54 +00:00
ScriptAutomate
0d27cf6c1f
Reduce test range in PRs and branch merges
2024-03-28 13:41:54 +00:00
Pedro Algarvio
62f13b32ec
Just "grep" what we're after
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-03-28 13:41:54 +00:00
Pedro Algarvio
b556845850
Bump to `dorny/paths-filter@v3
`
2024-03-28 13:41:54 +00:00
Pedro Algarvio
5c4e810836
Make jinja rendering strict. Undefined variable use throws error.
2024-03-28 13:41:54 +00:00
David Murphy
78625d8db7
Add leading slash to salt helper file paths as per dh_links requirement
2024-03-28 10:12:22 +00:00
David Murphy
93dadb2116
Ensure symbolic links are created before using systemctl
2024-03-27 19:16:29 +00:00
David Murphy
61df4d8c86
Ensure path for systemctl to stop spoofing (security fix moved from classic spec) and debug helper scripts
2024-03-27 19:16:29 +00:00
David Murphy
53fce6957d
Fix RedHat family systemd restart on upgrade, and updated tests
2024-03-27 19:16:29 +00:00
Shane Lee
87d3344a7a
Fix failing package tests
2024-03-26 19:49:35 +00:00
Shane Lee
017f714e96
Use sorted instead of sort
2024-03-26 19:49:35 +00:00
Shane Lee
4dcad68d9b
Don't use configure_loader_modules
2024-03-26 19:49:35 +00:00
Shane Lee
979457d935
Fix some test issues, use sort
2024-03-26 19:49:35 +00:00
Shane Lee
b7dd23ef4e
Move test_win_useradd.py to functional
2024-03-26 19:49:35 +00:00
Shane Lee
52ace3bc34
Fix issue with win_user.add
...
win_useradd.add now allows you to add new users that have only integers in
the username.
It also adds tests for the win_useradd module.
2024-03-26 19:49:35 +00:00
Pedro Algarvio
1f08a3c191
Bump functional test splits to 4
2024-03-25 09:06:36 -07:00
Tyler Levy Conde
65e5c4f227
Fix: Prevent full system upgrade in pkg.installed for Arch Linux
...
This change modifies the logic in the pacman module to only append the '-u' flag to the pacman command if sysupgrade is explicitly set to True. This prevents the pkg.installed state from triggering a full system upgrade by default on Arch Linux systems.
2024-03-25 09:06:36 -07:00
Pedro Algarvio
b2fe6c45db
Bump functional test splits to 4
2024-03-21 21:15:17 +00:00
Pedro Algarvio
ccfd8ea364
Upgrade to `pytest-salt-factories==1.0.0
`
2024-03-21 21:15:17 +00:00
Shane Lee
e525bbada3
Remove vcredist and ucrt from Windows install
2024-03-21 14:54:03 +00:00
Pedro Algarvio
ebb02d6c3a
Adjust some tests to get passing nightly builds again
2024-03-20 14:24:06 +00:00
Pedro Algarvio
16bead7bcc
Remove log call which no longer makes sense
2024-03-20 11:55:21 +00:00
Pedro Algarvio
e0c876b985
Get AWS regions and SPB_ENVIRONMENT from metadata endpoint
2024-03-19 19:09:56 +00:00
Felippe Burk
e60f6a4bdf
Initial commit of s3 caching
2024-03-19 19:09:56 +00:00
Pedro Algarvio
533af2a851
Add our own GH cache action
...
This actions wraps actions/cache and forces an early exit if 'fail-on-cache-miss' is true
Based on the work from https://github.com/saltstack/salt/pull/66240
2024-03-19 19:09:56 +00:00
Pedro Algarvio
f0284f75e0
Force cache invalidation by setting cache seed to 1
2024-03-19 19:09:56 +00:00
Pedro Algarvio
e3fcc657b9
Remove invalid properties from existing GH actions
2024-03-19 19:09:56 +00:00
Shane Lee
92d6d41f0c
Revert weird change
2024-03-19 16:07:31 +00:00
Shane Lee
e23893fb51
Skip state test on Windows
2024-03-19 16:07:31 +00:00
Shane Lee
76d750dce9
Make the tests run on Windows
2024-03-19 16:07:31 +00:00
Shane Lee
487424408d
Fix package tests
2024-03-19 16:07:31 +00:00
Shane Lee
608a8ffd1c
Whitelist package tests for Windows
2024-03-19 16:07:31 +00:00
Pedro Algarvio
e50d3a194f
Skip problematic MacOS test in specific conditions
2024-03-18 11:03:58 +00:00
Pedro Algarvio
c0823f6a68
Increase timeouts
2024-03-18 11:03:58 +00:00
Pedro Algarvio
009c059b26
Bump to pygments==2.17.2
due to https://github.com/advisories/GHSA-mrwq-x4v8-fh7p
2024-03-14 16:16:19 +00:00
Daniel A. Wozniak
7c61ac738e
Check for content-type after headers dict has been populated
2024-03-14 13:04:29 +00:00
Daniel A. Wozniak
773772c426
Fix content-type backwards compatability
2024-03-14 13:04:29 +00:00
Pedro Algarvio
aee2110921
Increase test timeout
2024-03-14 12:32:06 +00:00
Pedro Algarvio
5bced402fb
Upgrade to flaky==3.8.1
2024-03-14 12:32:06 +00:00
Pedro Algarvio
d8cb80216e
Remove custom fixture scope ordering code
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-03-14 12:32:06 +00:00
Pedro Algarvio
8fc4738ead
Upgrade to Pytest 8.1.x
2024-03-14 12:32:06 +00:00
Thomas Phipps
666b50a56b
stupid mistake correction
2024-03-14 08:34:56 +00:00
Thomas Phipps
3b361a9e5b
attempt #1 to fix tests
2024-03-13 16:03:40 -07:00
Thomas Phipps
3c3285e51e
move fix from #66164 for $65703
2024-03-13 16:03:40 -07:00
Pedro Algarvio
cb7cd3e8d9
Daylight savings suck!
2024-03-13 16:13:18 +00:00
Shane Lee
cbae042701
Don't use curl on Windows
2024-03-12 17:31:30 +00:00