Commit graph

116772 commits

Author SHA1 Message Date
Daniel A. Wozniak
a9491446d2 Update test to work with new config option 2023-03-25 10:14:09 -07:00
Daniel A. Wozniak
fefd325b3a Add docs and changelog for #63747 2023-03-24 18:07:07 -07:00
Daniel A. Wozniak
2e9640a148 Restart maintenance process periodically.
Unfortunatly pygit2 still has enough memory leaks that we can't use it
in long running processes. Restart the maintenance process peridically
to clean up the memory consumed by pygit, and others.

Add fileserver_interval and maintenance_interval to configure how often
these processes restart.
2023-03-23 17:23:26 -07:00
Gareth J. Greenaway
18b99263cd
Merge pull request #63932 from whytewolf/file_tree_cleanup
fix compile_template_str not cleaning up temp files.
2023-03-23 09:07:52 -07:00
Thomas Phipps
bd25173cd2 fix 63724 2023-03-22 23:37:59 +00:00
Frode Gundersen
f427a252b5 migrate test_swift to pytest 2023-03-22 19:47:21 +00:00
Frode Gundersen
a95cb8ca86 migrate test_haproxyconn to pytest 2023-03-22 18:36:23 +00:00
Frode Gundersen
cc669ee27f migrate test_config to pytest 2023-03-22 18:30:38 +00:00
Gareth J. Greenaway
29b6a26f97 adding changelog. 2023-03-22 18:25:32 +00:00
Gareth J. Greenaway
0bec34ff05 Handle the situation when a sub proxy minion does not init properly, eg. an exception happens, and the sub proxy object is not available. 2023-03-22 18:25:32 +00:00
Pedro Algarvio
e9ce7a60a5 Switch pytest.deprecated_call to pytest.warns.
Skip serial check for `tests/pytests/functional/states/test_x509_v2.py::test_certificate_managed_chain_change[existing_cert_chain1]`

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-22 15:08:20 +00:00
Pedro Algarvio
18babefe14 Get more information when installing packaging dependencies from source
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-22 15:08:20 +00:00
Pedro Algarvio
3f6f5a6078 Update to markdown-it-py==2.2.0
Due to:
* https://github.com/advisories/GHSA-jrwr-5x3p-hvc3
* https://github.com/advisories/GHSA-vrjv-mxr7-vjf8

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-22 15:08:20 +00:00
Pedro Algarvio
9a32f14e41 Upgrade to pyopenssl==23.0.0 due to the cryptography upgrade.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-22 15:08:20 +00:00
Pedro Algarvio
5e7d4e3021 Upgrade to cryptography>=39.0.1
Due to:
  * GHSA-x4qr-2fvf-3mr5
  * GHSA-w7pp-m8wf-vj6r

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-22 15:08:20 +00:00
Twangboy
eeac74785b Paramatrized tests, added more tests, convert str to bytes 2023-03-21 23:00:38 +00:00
Twangboy
0b89e917de Remove windows whitelist 2023-03-21 23:00:38 +00:00
Twangboy
7aba250138 Handle CRLF when generating fingerprint 2023-03-21 23:00:38 +00:00
MKLeb
d8fb625f77 Build the rpm and deb packages from source using --no-binary=':all:' 2023-03-21 22:59:23 +00:00
cmcmarrow
36e150861c rebase 2023-03-21 21:42:08 +00:00
MKLeb
467740f4ab utilize tools.utils.REPO_ROOT 2023-03-21 14:44:51 +00:00
MKLeb
c7f08b61e5 remove the quotes from --no-binary 2023-03-21 14:44:51 +00:00
MKLeb
73c0104ad4 add --no-cache-dir to pip install requirements 2023-03-21 14:44:51 +00:00
MKLeb
aa3e2a08e6 We don't need to supply the patch argument anymore 2023-03-21 14:44:51 +00:00
MKLeb
1e319f84fc handle errors on removing paths on macos if they don't exist 2023-03-21 14:44:51 +00:00
MKLeb
9d80605623 Try resolving the salt archive name to resolve the macos issue 2023-03-21 14:44:51 +00:00
MKLeb
00e73da68a take in the path for the salt archive as a string 2023-03-21 14:44:51 +00:00
MKLeb
4029f40484 The package is under artifacts/name not artifacts/artifacts/name 2023-03-21 14:44:51 +00:00
MKLeb
f917258322 windows uses amd64, not aarch64 2023-03-21 14:44:51 +00:00
MKLeb
9ba8bb6c44 install using pip as a module 2023-03-21 14:44:51 +00:00
MKLeb
3b662a5451 assert the requirements file exists when installing dependencies 2023-03-21 14:44:51 +00:00
MKLeb
82a6deb771 Set USE_STATIC_REQUIREMENTS and RELENV_PIP_DIR when building salt onedir with tools 2023-03-21 14:44:51 +00:00
MKLeb
8adf3ed1b9 Remove accidental working-directory in docs builds workflow 2023-03-21 14:44:51 +00:00
MKLeb
4a669e9f52 Actually update build-onedir-deps/action.yml 2023-03-21 14:44:51 +00:00
MKLeb
36ca1926f6 Install salt into the onedir using tools 2023-03-21 14:44:51 +00:00
MKLeb
a147939f6a checkout into the root directory when building debian packages as well for easy actions use 2023-03-21 14:44:51 +00:00
MKLeb
b9f8caa51e Move packaging commands to a subdirectory 2023-03-21 14:44:51 +00:00
MKLeb
2676db097e Bump python-tools-scripts to 0.12.0 2023-03-21 14:44:51 +00:00
MKLeb
35a91e713b remove all references to the patch in the build steps and add a note about relenv needing to be installed for building the onedir dependencies 2023-03-21 14:44:51 +00:00
MKLeb
f4761fea30 Run the get-python-version action inside setup-python-tools-scripts in the correct directory 2023-03-21 14:44:51 +00:00
MKLeb
cc35e3845d Add initial onedir dependencies command 2023-03-21 14:44:51 +00:00
MKLeb
c211bf7baa revert python 3.10 setup from package build steps 2023-03-21 14:44:51 +00:00
MKLeb
4b41329137 Configure git and apply the release patch using tools for the docs builds 2023-03-21 14:44:51 +00:00
MKLeb
946f530b27 Factor out git configuration and applying the release patch to their own tools commands 2023-03-21 14:44:51 +00:00
MKLeb
c6e27f64b0 Refactor tools logic for package building to just take in the artifact names 2023-03-21 14:44:51 +00:00
MKLeb
254bcfeb99 Allow running the setup-python-tools-scripts action in the checkout path if it is not the cwd 2023-03-21 14:44:51 +00:00
MKLeb
599c8e5455 The workspace is different when running in containers, it's actually GITHUB_WORKSPACE 2023-03-21 14:44:51 +00:00
MKLeb
a0e355349f Give the correct choices for windows arch values 2023-03-21 14:44:51 +00:00
MKLeb
719fa0d901 Checkout to the correct directory for the debian packages 2023-03-21 14:44:51 +00:00
MKLeb
4d45693bfe Move the initial system package build logic to tools 2023-03-21 14:44:51 +00:00