Commit graph

120257 commits

Author SHA1 Message Date
Nicholas Hughes
b5c096920e
Add context aware change handling for file.managed state module function (#63347)
* add context aware change handling for file.managed state module function

* updates docstrings, add ignore comments, and add util tests

* update util tests

* adding additional documentation and test cases

* missed some places where a kwarg needed to be passed through

* handling pyupgrade changes

* using new md changelog format

* add context aware change handling for file.managed state module function

* updates docstrings, add ignore comments, and add util tests

* update util tests

* adding additional documentation and test cases

* missed some places where a kwarg needed to be passed through

* handling pyupgrade changes

* fix existence checking after merge conflict fix

* remove duplicate test from merge conflict resolution

* apparently using the github ui to resolve merge conflicts was a bad idea

---------

Co-authored-by: Daniel Wozniak <dwozniak@vmware.com>
2024-01-22 14:34:42 -07:00
Pedro Algarvio
5098cf9710 Fix osarch value in comparisson
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-22 17:35:33 +00:00
Pedro Algarvio
ec7bcdf8e6 Reduce the number of test swarm minions on Amazon 2023 on Arm64
The test suite is getting OOM killed on that test.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-22 08:50:10 +00:00
Pedro Algarvio
7eb4ffbe75
Merge pull request #65913 from s0undt3ch/hotfix/merge-forward
[master] Merge 3007.x into master
2024-01-22 07:25:26 +00:00
Pedro Algarvio
bc3cbf69c1
Merge 3007.x into master 2024-01-21 17:57:06 +00:00
Pedro Algarvio
a9b16faa75 Increase integration tests concurrency
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-21 17:46:40 +00:00
Pedro Algarvio
6c12abf3b1 Fix static requirements
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-21 14:00:09 +00:00
Pedro Algarvio
db9ca73942 Fix some more places where we need to use `actions/{upload,download}-artifact@v3`
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-20 18:24:18 +00:00
Gary T. Giesen
d02e2013be Update note around password field on user.present wrt Windows 2024-01-19 15:07:16 -07:00
Shane Lee
d4f257ee04 Fix pre-commit 2024-01-19 14:36:10 -07:00
Noah Ablaseau
1a907c3ae2 Fix whitespace for linter 2024-01-19 14:36:10 -07:00
Noah Ablaseau
52ae5800a0 osrelease_info is tuple 2024-01-19 14:36:10 -07:00
Noah Ablaseau
0b55627eed Rename fixed -> added 2024-01-19 14:36:10 -07:00
Noah Ablaseau
deff6bad13 Add changelog 2024-01-19 14:36:10 -07:00
Noah Ablaseau
abf906ad1c Add Virtuozzo Linux as os_family=Redhat 2024-01-19 14:36:10 -07:00
Jamie Murphy
de002b6bcb override test kwarg to be bool for state.apply and state.highstate commands 2024-01-19 14:32:20 -07:00
Shane Lee
e6fac5395e Fix cmdmod tests on Windows
Fixes some tests in the cmd module (cmdmod) so that they will run on
Windows. These tests were skipped in a PR that was merged. This fixes
those tests as well as other tests that were feasible to get working on
Windows.
2024-01-19 14:30:31 -07:00
Pedro Algarvio
4b652eb666
Merge pull request #65900 from s0undt3ch/hotfix/merge-forward
[master] Merge 3007.x into master
2024-01-19 14:40:32 +00:00
Pedro Algarvio
4a6b2ca81d
Merge 3007.x into master 2024-01-19 11:13:47 +00:00
Pedro Algarvio
9f2fb8e76a
Merge pull request #65899 from s0undt3ch/hotfix/merge-forward-2
[3007.x] Merge 3006.x into 3007.x
2024-01-19 11:13:07 +00:00
Pedro Algarvio
6694a7a273
Merge 3006.x into 3007.x 2024-01-19 07:40:21 +00:00
Pedro Algarvio
4fbb0f9943 Fix and AttributeError on Windows
```
AttributeError: module 'signal' has no attribute 'SIGALRM'. Did you mean: 'SIGABRT'?
```
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-19 07:01:13 +00:00
Pedro Algarvio
f390a4d235 Some steps need to be kept at actions/upload-artifact@v3
This is because we upload multiple artifacts under the same name something that ``actions/upload-artifact@v4`` does not do.

There are breaking changes with this new version.
See https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available/

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-19 07:01:13 +00:00
Pedro Algarvio
3d6b9523f7 Switch to actions/upload-artifact@v4 and actions/download-artifact@v4
There are breaking changes with this new version.
See https://github.blog/changelog/2023-12-14-github-actions-artifacts-v4-is-now-generally-available/

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-19 07:01:13 +00:00
Pedro Algarvio
97dffa2425 Rely on uploaded artifacts instead of the GH cache
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-19 07:01:13 +00:00
Shane Lee
c45a5e865e Fix pre-commit failures 2024-01-18 10:21:22 -07:00
Alyssa Rock
3b9f3e38d4 Add suggestion from Murphy 2024-01-18 10:21:22 -07:00
Alyssa Rock
99b074b081 Fix pre-commit errors 2024-01-18 10:21:22 -07:00
Alyssa Rock
5685dbe708 Remove duplicate the 2024-01-18 10:21:22 -07:00
Alyssa Rock
e3c8b45715 Add new maintenance policy 2024-01-18 10:21:22 -07:00
Pedro Algarvio
5eea920177 We need more splits in nightly builds
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-18 06:54:29 +00:00
Pedro Algarvio
d740f6cf70
Merge pull request #65891 from s0undt3ch/hotfix/merge-forward-2
[3007.x] Merge 3006.x into 3007.x
2024-01-18 05:58:42 +00:00
Pedro Algarvio
d3a21f249c
Merge pull request #65892 from s0undt3ch/hotfix/merge-forward
[master] Merge 3007.x into master
2024-01-18 05:58:13 +00:00
Pedro Algarvio
82fef67ad7
Merge 3007.x into master 2024-01-17 15:16:09 +00:00
Pedro Algarvio
b22db6db8a
Merge 3006.x into 3007.x 2024-01-17 15:15:03 +00:00
Pedro Algarvio
0a096e74e0
Merge pull request #65872 from s0undt3ch/hotfix/merge-forward-2
[3007.x] Merge 3006.x into 3007.x
2024-01-17 15:13:09 +00:00
Pedro Algarvio
aad7a8ab14 Revert #64929 since it's not working as intended
See https://github.com/saltstack/salt/actions/runs/7554867564/job/20574453603#step:11:123

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 14:41:19 +00:00
Pedro Algarvio
68131ce7ab When running changed tests, always run all changed files tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 14:08:35 +00:00
Pedro Algarvio
a1a7dad84d Increase concurrency in CI pipelines.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 14:08:35 +00:00
Pedro Algarvio
f9d7d117f8 Migrate test to functional
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 14:03:18 +00:00
Pedro Algarvio
d86debf2ee Fix test and no need to be root
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 14:03:18 +00:00
Pedro Algarvio
7ed9b35cc1 Set PIP_DISABLE_PIP_VERSION_CHECK=1 on CI workflows
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
88d9589a17 Define the DEBs listing outside of the template
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
9e7b942cba Fix RPM build repository for aarch64
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
00e094518d Fix build RPM repository.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
98630ecdce Fix build RPM repository
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
239e88c6e0 Missed change in 5ea3bf3a9d
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
9c47e11ef7 If the user passes a path to the package tests, don't auto add them
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
3fb1279f32 Allow excluding paths when cleaning up archives
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00
Pedro Algarvio
83e66d30b7 Fix CI nox artifacts download
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-01-17 11:12:55 +00:00