Commit graph

118562 commits

Author SHA1 Message Date
MKLeb
d157068714 Read releases from the prod bucket 2023-11-19 19:42:05 +00:00
MKLeb
03d3414123 Generate workflows 2023-11-19 19:42:05 +00:00
MKLeb
f1c9463b6d Make some variables more clear 2023-11-19 19:42:05 +00:00
MKLeb
81bca8d4c3 Download the correct nox artifact for arm64 download tests 2023-11-19 19:42:05 +00:00
MKLeb
c2caffd0a6 Download the correct onedir 2023-11-19 19:42:05 +00:00
MKLeb
9951e82121 Adjust package download tests and also add a package test suite for an rpm arm distribution (centosstream-9-arm) 2023-11-19 19:42:05 +00:00
MKLeb
4d72d7c052 Revert "REVERT: Add temp 3007.0 release notes"
This reverts commit 2c77a3788edac7f96ce0bf9aa07568d75d768b28.
2023-11-19 19:42:05 +00:00
MKLeb
5f31b3120e REVERT: Add temp 3007.0 release notes 2023-11-19 19:42:05 +00:00
MKLeb
b014a0c969 It's matrix, not _matrix 2023-11-19 19:42:05 +00:00
MKLeb
4ed2c97224 Generate the GH workflows 2023-11-19 19:42:05 +00:00
MKLeb
b3df0c782a Run the Generate Package Test Matrix step on a self-hosted runner 2023-11-19 19:42:05 +00:00
MKLeb
530a108497 Handle photonos 2023-11-19 19:42:05 +00:00
MKLeb
398056dafb Fix the logic around whether or not a version is available 2023-11-19 19:42:05 +00:00
MKLeb
3b3b9fbc49 Adjust tools ci pkg-matrix to search in the right aarch64 paths starting in 3007.0 2023-11-19 19:42:05 +00:00
MKLeb
527cc3f344 Scrape the buckets for the package files to determine what releases we can test upgrade and downgrades for a given operating system 2023-11-19 19:42:05 +00:00
MKLeb
ed2ecf48c6 Remove condition to switch from arm64 to aarch64 in the download tests 2023-11-19 19:42:05 +00:00
MKLeb
d76b82558a Add jobs for rpm distros to produce arm64 repos explicitly and remove the condition that changes aarch64 to arm64 2023-11-19 19:42:05 +00:00
nicholasmhughes
109a62c779 fixes saltstack/salt#65501 file.comment ignore_missing not working with multiline char
(cherry picked from commit c5fbfa1fe7)

# Conflicts:
#	salt/states/file.py
2023-11-17 07:11:46 +00:00
Daniel A. Wozniak
6034b98413 Update changelog 2023-11-16 17:21:41 +00:00
Daniel A. Wozniak
6374c0fbf4 Bump relenv to 0.14.2 2023-11-16 17:21:41 +00:00
Joe Groocock
238a744bcb Fix vt.Terminal failing test: test_log_sanitize
Fixes failing test added in a09b4f4450

We can't assume tests are run at debug level, so this ensures the test
passes regardless of what logging level is currently set by capturing
the output in caplog at DEBUG which stream_stdout/stream_stderr uses by
default.

Signed-off-by: Joe Groocock <jgroocock@cloudflare.com>
2023-11-16 12:45:23 +00:00
Pedro Algarvio
2fb207753e Add a few more platform slugs which will get tested with the TCP transport
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
c13898620a Let's just skip on Aarch64 instead
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
a09afcba68 Use -eq 0 instead of == 0 in shell script logic
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
066afb90f0 Skip tests which can't run, or even pass on FIPS enabled platforms
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
c5db6bf766 Flush the logging handler just to be sure
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
dc365fdce3 Switch to sha256 as the hash_type
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
023b1504d0 Remove unused variables
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
47ace5bec9 Replace md5 with sha256 for file checksum comparissons
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
265ec5becf Cannot currently create virtual environments on a FIPS enabled platforms
See https://github.com/saltstack/salt/issues/65444

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
3ed6e05262 Don't use hashlib.md5
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
3f3154ed41 Use `sha256 as the default hash_type`. It has been the default since Salt v2016.9
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
d9a2ae0d3e More explicit variable name
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
10e9e6c98b Don't use separate jobs, just use the matrix
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
3c76698d54 Also run package tests under FIPS
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Pedro Algarvio
02b147ae59 Add a FIPS enabled test run under PhotonOS 4 to the CI process
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-14 20:42:57 +00:00
Salt Project Packaging
551443ca7f Update the bootstrap script to v2023.11.07
(cherry picked from commit 6531c36679)
2023-11-14 17:53:25 +00:00
Daniel A. Wozniak
2ddd5fce46 Use context manager to ensure channel is closed properly 2023-11-14 17:52:55 +00:00
Daniel A. Wozniak
6e5a301ca6 Fix test when using context manager is used 2023-11-14 17:52:55 +00:00
Daniel A. Wozniak
6615b5a530 Use context manager for request channel 2023-11-14 17:52:55 +00:00
Daniel A. Wozniak
be5ef66a3a Connect callback closes it's request channel 2023-11-14 17:52:55 +00:00
Daniel A. Wozniak
84c6b703c2 Relenv 0.14.1 2023-11-14 17:52:21 +00:00
Daniel A. Wozniak
068c5e8777 Upgrade relenv to 0.14.0 2023-11-14 17:52:21 +00:00
David Murphy
ee75a65837 Updated test per reviewer's comments 2023-11-14 17:00:07 +00:00
David Murphy
1bbe6489fd Ensure quoted filespec when using egrep to allow for regex with selinux 2023-11-14 17:00:07 +00:00
David Murphy
c9c0ad0b46 Further test refractoring from unittest to pytest per reviewer comments 2023-11-14 16:53:15 +00:00
David Murphy
8ffa21355d Parameterize as per reviewer comments 2023-11-14 16:53:15 +00:00
David Murphy
14fdf49939 Updated for further reviewer comments 2023-11-14 16:53:15 +00:00
David Murphy
350f04e058 Updated test per reviewer comments 2023-11-14 16:53:15 +00:00
David Murphy
ac2bedab23 Update tests for salt/utils/network.py as per reviewer, and fix netmask bug 2023-11-14 16:53:15 +00:00