Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix openstack wait for fun utils v3006.1 #4

Open
wants to merge 3,808 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3808 commits
Select commit Hold shift + click to select a range
af5fb06
fix typo
cmcmarrow Apr 11, 2023
e5c58d9
Bump pyzmq to 25.0.2 on Windows
twangboy Apr 11, 2023
ed456d6
Export the GPG key being used to the top level directory too.
s0undt3ch Apr 13, 2023
83ff3a0
Initial commit of user packages support for onedir
dwoz Apr 4, 2023
405dc75
Unit tests for salt-pip
dwoz Apr 4, 2023
3b49926
Create pip install directory for packages (except for windows, for no…
Apr 6, 2023
9e4e9a0
Create the extras directory with tools
Apr 7, 2023
a2e1ea8
Change the package we are installing for the pip extras package test
Apr 7, 2023
ed0ace7
use pep8 as the test pip install
Apr 7, 2023
f2b88bc
Remove tiamat-pip test cruft and pass `-y` to `pip uninstall`
Apr 8, 2023
35f370b
The check paths are different now
Apr 10, 2023
8b01218
account for the bug in pip that doesn't remove the script when uninst…
Apr 10, 2023
48f4017
Adjust for uninstall bug in pip some more
Apr 10, 2023
794771f
Address review comments
Apr 10, 2023
ccb4bee
Add libvirt-python salt-pip install test
Apr 11, 2023
70119da
remove libvirt test
Apr 12, 2023
4e73a58
Fix extras pypath for windows
Apr 13, 2023
4cc0ca5
Fix scripts path in extras dir for windows again
Apr 13, 2023
10940c5
Bump relenv to 0.11.0 and Python 10.10.11
dwoz Apr 12, 2023
7aaafdf
Set RELENV_BUILDENV when installing Salt
dwoz Apr 12, 2023
74bdd39
Renamed `cicd/shared-context.yml` -> `cicd/shared-gh-workflows-contex…
s0undt3ch Apr 12, 2023
79b3a56
Set RELENV_BUILDENV in tools/pkg.py
dwoz Apr 12, 2023
7858c2d
Test
dwoz Apr 12, 2023
6c810e0
RELENV_DEBUG is causing pyo2 to fail
dwoz Apr 12, 2023
d65ae7d
Copy environment and remove relenv debug
dwoz Apr 13, 2023
6670eff
Bump relenv minor version
dwoz Apr 14, 2023
16ba70f
Bump relenv minor version to 0.11.2
dwoz Apr 14, 2023
5329ada
Update build workflow to sign Windows Packages
twangboy Apr 5, 2023
501ee0b
Add Pedro's patches
twangboy Apr 5, 2023
4c12eb3
Sign in the right location
twangboy Apr 12, 2023
7632f35
Sign all files together. Verify in seperate step
twangboy Apr 12, 2023
da78c7a
Use new names of secrets
twangboy Apr 13, 2023
5c9fdbd
Fix yaml error... maybe
twangboy Apr 13, 2023
faaddc0
Don't wait for the whole `vm destroy` process to complete.
s0undt3ch Apr 13, 2023
ddd8772
Fix Windows package signing
s0undt3ch Apr 13, 2023
d165b32
Set relenv version defaults
s0undt3ch Apr 14, 2023
9d259f3
User salt user/group for running salt-master
Apr 6, 2023
60d7905
Add test to ensure salt user is running salt-master
Apr 7, 2023
e0afdec
Add salt user when installing debian packages
Apr 7, 2023
35ddf63
Use salt default configs
Apr 7, 2023
4013d4e
Use system configs if user is salt
Apr 11, 2023
4a06013
Do not edit master conf, patch it
Apr 12, 2023
678b5c6
Patch Salt Master config file
Apr 12, 2023
ddc8f4c
Set master config in pkg/common
Apr 12, 2023
7419189
Only open master file if it exists
Apr 12, 2023
f3ca685
Add salt group to debian packages
Apr 12, 2023
16b18fd
Test setting user/group on cache
Apr 13, 2023
eebd28d
Set ownership for salt for correct directories
Apr 13, 2023
8800369
Only run chown if the directory exists
Apr 13, 2023
076d213
Set ownership/group on /opt/saltstack/salt/
Apr 13, 2023
7ab9844
Set permissions in salt.spec file files listing
Apr 14, 2023
b7b3d5f
Fix permissions in test suite and add all paths to both packages
Apr 14, 2023
dda65af
Set correct perms on file and pillar roots in test suite
Apr 14, 2023
9c24143
only run postinst for salt master
Apr 14, 2023
55b2590
Do not set perms on cachedir for syndic
Apr 15, 2023
bb2a12d
Fix salt-api not starting and ensure the pip module installs into the…
Apr 15, 2023
1cc64d2
Enable service and use sysuser
Apr 15, 2023
f98377d
Patch python binary for pip tests for relenv
Apr 15, 2023
fc814d7
Add user in postinst
Apr 15, 2023
f56dfae
Only windows doesn't have all binaries. Assert against that too.
s0undt3ch Apr 15, 2023
d33a8b7
Only show the warnings when running the download package tests
s0undt3ch Apr 15, 2023
10e75b2
Wipe the extras directory between tests
s0undt3ch Apr 15, 2023
1a0dda4
Add docs for new salt user for linux packages
Apr 15, 2023
c65f078
Update doc/topics/releases/templates/3006.0.md.template
Apr 15, 2023
117cd55
Add release note about salt-pip
dwoz Apr 15, 2023
8dc6dd6
[3006.x] rebase test labels (#64053)
cmcmarrow Apr 16, 2023
dcf8407
Add `virustotal3==1.0.8` to additional requirements
s0undt3ch Apr 16, 2023
9b662d2
Allow skipping package tests
s0undt3ch Apr 16, 2023
9804cab
Bump cache seed number
s0undt3ch Apr 17, 2023
5ac22b6
Check systemctl binary before calling it
Apr 17, 2023
1e73882
Add back ssm.exe. It is needed for VMtools
twangboy Mar 1, 2023
b4329fd
dec doc
cmcmarrow Apr 17, 2023
78def95
add test doc
cmcmarrow Apr 17, 2023
4ac38f3
core slow f
cmcmarrow Apr 17, 2023
80896c6
no space on b
cmcmarrow Apr 17, 2023
04e4c4a
fix rst
cmcmarrow Apr 17, 2023
c46389e
541-542
cmcmarrow Apr 17, 2023
7296735
add space
cmcmarrow Apr 17, 2023
9947f64
Temporarily skip package download test on release
s0undt3ch Apr 18, 2023
e520941
Release v3006.0
saltbot-open Apr 18, 2023
3b2a826
Allow running staging more than once for the same release and fix som…
MKLeb Apr 18, 2023
5c7c139
Revert "Release v3006.0"
Apr 18, 2023
86bb64d
Release v3006.0
saltbot-open Apr 18, 2023
d31a2c8
Update to latest golden images
s0undt3ch Mar 27, 2023
672f658
The repo.saltproject.io `index.html` file changed it's contents. Fix …
s0undt3ch Apr 19, 2023
179532f
Fix ssh account username for CentOS Stream 8 golden image
s0undt3ch Apr 19, 2023
b35db04
Fix setup.py called with salt args
Apr 19, 2023
d2bd600
Only set file and pill roots perms on linux
Apr 15, 2023
7df8364
[DOCS] service state and module docs do not mention that systemd daem…
Tanmoy037 Apr 6, 2023
35ff20a
Merge pull request #64149 from s0undt3ch/hotfix/pr-64034
s0undt3ch Apr 25, 2023
31bd68e
Change saltenv description
OrangeDog Mar 6, 2023
fecf5b1
Grammar fix
s0undt3ch Apr 24, 2023
005d055
Fix typo "occurence" -> "occurrence"
joshmcorreia Feb 15, 2023
2771e9a
Fix typo
tjlevel12 Feb 10, 2023
4112f05
Bump to `sqlparse>=0.4.4` due to https://github.com/advisories/GHSA-r…
s0undt3ch Apr 24, 2023
b420772
Fix incorrect reactor target
joshmcorreia Feb 10, 2023
62e438a
fixes saltstack/salt#64150 cmd.run doesn't output changes in test mode
nicholasmhughes Apr 24, 2023
f0df597
Merge branch '3006.x' into pick_nichol_cmd_fix
cmcmarrow Apr 26, 2023
47a5469
Merge pull request #64164 from cmcmarrow/pick_nichol_cmd_fix
twangboy Apr 26, 2023
196023a
fix #64082
Apr 26, 2023
a1f54d9
Check NamedLoaderContext obj is not None, before creating a dictionary
Apr 12, 2023
8c60ddb
Updated as per reviewers comments
Apr 12, 2023
25e9a5c
Updated check and return if obj.value() if dict else empty dictionary
Apr 13, 2023
44d5501
Updates to code to handle NamedLoaderContext with dunder globals, per…
Apr 18, 2023
f86e6a9
Further refinement of use of dunder globals
Apr 18, 2023
fdf905d
Updated changelog to reflect reviewer changes
Apr 18, 2023
c63920b
Remove extra value() in cp.py, leaving it to pillar usage
Apr 20, 2023
b78d771
Updated test
Apr 26, 2023
e25da80
Test to check for passing of dunder globals outside of execution modules
Apr 26, 2023
ae7e0d1
flacky jail most have label
cmcmarrow Apr 26, 2023
102b93a
red
cmcmarrow Apr 26, 2023
4d52af1
Join masters if it is a list
twangboy Apr 26, 2023
54be720
Don't fail when registry.pol missing
twangboy Apr 27, 2023
a099e92
fix #63589
Apr 27, 2023
48e71b7
corrections
Apr 27, 2023
0f9ed51
corrections number 2
Apr 27, 2023
959ea4f
Move `/etc/salt/proxy` to the salt-minion debian package
Apr 25, 2023
9c7f819
Move the systemd unit to salt-minion for salt-proxy
Apr 26, 2023
89c858b
changelog
Apr 27, 2023
a747b03
fix passing wrong keyword arguments to cp.cache_file in pkg.installed…
mtorromeo Apr 19, 2023
7f2650a
Drop `**kwargs` usage and be explicit about the supported keyword arg…
s0undt3ch Apr 27, 2023
13d5718
Add regression test for https://github.com/saltstack/salt/issues/64118
s0undt3ch Apr 27, 2023
1a63beb
Add changelog file
s0undt3ch Apr 27, 2023
25821ae
Make sure the file client is destroyed upon used
s0undt3ch Apr 19, 2023
3e5c06b
Don't cache the file client
s0undt3ch Apr 19, 2023
3962fcd
Add regression test for #64111
dwoz Apr 20, 2023
c94b36c
Don't cache the file client at the class level
s0undt3ch Apr 24, 2023
2e3f98a
Add unit test to validate logic on calls to `destroy()`
s0undt3ch Apr 26, 2023
dbc2158
Add missing changelog entries for the work done in #64113
s0undt3ch Apr 28, 2023
6766db4
Add test case to assert that `salt.client.ssh.SSH.fsclient.destroy()`…
s0undt3ch Apr 28, 2023
99deea7
Update the bootstrap script to v2023.04.26
saltbot-open Apr 26, 2023
34f2ed4
Check that the return data from the cloud create function is a dictio…
garethgreenaway Apr 29, 2023
3448a6c
Add support for test=True to file.cached
twangboy Apr 28, 2023
c0f4e4f
lower y
cmcmarrow Apr 17, 2023
3f23a4b
Fix SSH username for CentOS Stream 8 Arm64 golden image
s0undt3ch Apr 22, 2023
186e10a
Re-enable package download tests for the release workflow
s0undt3ch Apr 18, 2023
1b765b1
Run Linux package download tests in VMs instead of containers
s0undt3ch Apr 17, 2023
eb20a93
Also drop matrix usage for macOS and Windows
s0undt3ch Apr 17, 2023
63e45bc
Add supporting code to get the system's grains as a fixture
s0undt3ch Apr 17, 2023
9e769ba
`true/false` is really not explicit on the GH Actions UI, switch to `…
s0undt3ch Apr 17, 2023
01a9278
Fix/Improve artifact download/upload for package download tests
s0undt3ch Apr 17, 2023
7e5d9d9
Distinguish nox upload artifact names
s0undt3ch Apr 17, 2023
76026d0
Use the tests downloads path
s0undt3ch Apr 17, 2023
15a1e7b
Update `PATH` to include the directory where the salt CLI scripts are
s0undt3ch Apr 18, 2023
90622b6
Fix logic in release workflow `if:` steps to allow skipping and still…
s0undt3ch Apr 18, 2023
8ca57f4
Package download tests on Arm64 too
s0undt3ch Apr 18, 2023
9d50204
Point the command directly at the scripts
s0undt3ch Apr 19, 2023
79d3acc
Use an indirect fixture
s0undt3ch Apr 19, 2023
0fe922f
Don't `yield`!
s0undt3ch Apr 19, 2023
cd8aae6
Start publishing the nightly builds to the release bucket under `salt…
s0undt3ch Apr 20, 2023
1f145d3
Fix Linux only logical check
s0undt3ch Apr 20, 2023
d7bc158
Fail when we get cache misses on certain steps of the workflows
s0undt3ch Apr 21, 2023
8f8178a
Signed and unsigned macOS packages use the same name, like windows.
s0undt3ch Apr 21, 2023
d709156
Restore backup should always happen on failures and when cancellation…
s0undt3ch Apr 21, 2023
99a7e54
Only restore when backup has completed
s0undt3ch Apr 21, 2023
98b2c9d
Create a `latest` symlink on nightly builds pointing to the latest date
s0undt3ch Apr 22, 2023
34728d5
Download onedir artifact directly from the buckets
s0undt3ch Apr 22, 2023
8c93e29
Unique nox requirements uploads
s0undt3ch Apr 23, 2023
02661f8
No automatic release bucket restores
s0undt3ch Apr 23, 2023
9b80342
Include `x86` in Windows package download tests
s0undt3ch Apr 24, 2023
8caf5c9
Include Winbdows x86 package download tests in a separate PR
s0undt3ch Apr 24, 2023
aa9e0ab
Reports run on self hosted runners, with the exception of macOS(for now)
s0undt3ch Apr 25, 2023
1b257a4
Prefix `update_winrepo` and `upload-virustotal` workflows with `relea…
s0undt3ch Apr 25, 2023
80954cb
Fix source repository paths
s0undt3ch Apr 25, 2023
d98afc0
Allow skipping the salt test suite on manually triggered nightly builds
s0undt3ch Apr 25, 2023
4ee6307
Log the bucket names
s0undt3ch Apr 26, 2023
48dc65c
Package signing is now a checkbox on the staging workflow. Disabled b…
s0undt3ch Apr 26, 2023
f7aa91c
Confirm that the release was staged before continuing with the releas…
s0undt3ch Apr 26, 2023
e3ca4bf
Always sign MacOS packages. Leave only windows package signing under …
s0undt3ch Apr 27, 2023
8f52a3c
Add backports support
s0undt3ch Apr 26, 2023
9dc95be
Default to a 0 timeout if none is given in the terraform roster
May 1, 2023
6b926b7
changelog
May 1, 2023
7e89e3d
Include seed in Windows packages
twangboy May 1, 2023
c2a8718
Don't forget tools
twangboy May 1, 2023
caaf5fe
Fix building package on amazon linux
dwoz May 1, 2023
13cd87b
Fix state for User policy
twangboy May 1, 2023
8a1a057
Add changelog
twangboy May 1, 2023
0e86853
Fix pre-commit
twangboy May 1, 2023
9ddc8d2
Fix test fixture to remove key in HKCU
twangboy May 1, 2023
cc627c0
Fix some lint
twangboy May 2, 2023
580fb82
Update all the scheduler functions to include a fire_event argument w…
garethgreenaway Apr 27, 2023
de7c2f0
Updating integration tests to launch more sub proxies. Update single…
garethgreenaway Apr 28, 2023
8d21213
swapping around the logging if an exception occurs.
garethgreenaway Apr 28, 2023
abac2e0
Revert "Updating integration tests to launch more sub proxies. Updat…
garethgreenaway Apr 30, 2023
d051a6b
Adding test_exit_status_correct_usage_large_number_of_minions to test…
garethgreenaway Apr 30, 2023
eff6515
temporarily removing the ping to the control proxy.
garethgreenaway May 1, 2023
489f956
reduce the number of sub proxies.
garethgreenaway May 1, 2023
dae7ccb
Adding changelog files
garethgreenaway May 1, 2023
418d575
trying the large sub proxy as a functional test.
garethgreenaway May 1, 2023
beaa9ee
removing from integration in favor of the in functional tests
garethgreenaway May 2, 2023
924b1db
removing something that snuck in.
garethgreenaway May 2, 2023
c673bc4
Adding one more sub proxy.
garethgreenaway May 2, 2023
6a859de
fixing the changelog files.
garethgreenaway May 2, 2023
f601bd0
Run the package download tests for minor, latest, and the version bei…
Apr 18, 2023
2024eb3
Only minor will have the `salt_release` subpath
Apr 18, 2023
353cf57
`dmesg` should now already be installed on centosstream 9
Apr 19, 2023
201fc53
TO REVERT: Allow testing staging runs from hotfix/3006.x/run-pkg-down…
Apr 19, 2023
2886144
Only run the download tests for the `latest` subpath if the current v…
Apr 25, 2023
759dbf2
Convert the versions to strings before dumping them as json
Apr 25, 2023
8008417
`get_repo_subpath_params` already returns a list
Apr 26, 2023
9c349a8
get the latest release from the environment variable we propogate
Apr 26, 2023
88bcab2
Run pre-commit after the rebase
May 1, 2023
12d41db
Turn `setup_windows` into a context manager so we can uninstall the M…
May 2, 2023
481c8ed
Revert "TO REVERT: Allow testing staging runs from hotfix/3006.x/run-…
May 2, 2023
bae0321
[3006.x] saltutil.refresh_grains(clean_pillar_cache=False) (#64176)
cmcmarrow May 3, 2023
fc54caf
remove dead line
cmcmarrow Apr 10, 2023
87074de
Stop using the deprecated `salt.transport.client` imports.
s0undt3ch May 2, 2023
e4c5ce3
Add test to ensure ssm.exe present
twangboy May 2, 2023
ba29a27
Fix test
s0undt3ch May 3, 2023
b7fbec8
Move salt user creation to common package
dwoz Apr 26, 2023
9a3ce46
Fix warts in setting up user in spec file
dwoz Apr 29, 2023
fb6906f
use preinst for salt user
dwoz Apr 29, 2023
6c66467
Leave salt dir world read/execute
dwoz Apr 30, 2023
e00031c
Salt home has world read and execute perms
dwoz Apr 30, 2023
6b599b0
salt user in rpm
dwoz May 1, 2023
64a0bdd
Generate master and minion configs
dwoz May 2, 2023
28d87c1
Add chahgelogs for #64141 and #64158
dwoz May 2, 2023
e36aa3c
Skip all salt user tests on mac
dwoz May 3, 2023
3365a55
Update changelog entry
dwoz May 3, 2023
c4ee9ee
Fix perms on could deployment directories
dwoz May 3, 2023
58b6f8c
Add changelog for #64204
dwoz May 3, 2023
8e4907a
Skip salt user tests on macos
dwoz May 3, 2023
66e0857
make lgpo_reg enforce registry changes
twangboy May 3, 2023
88f223e
Fix test_reg, migrate to pytests
twangboy May 3, 2023
5867b2d
add errors and docs
cmcmarrow May 3, 2023
f122899
got to log warning
cmcmarrow May 3, 2023
370d6e4
add tests and add support for an iter
cmcmarrow May 3, 2023
a303fdd
fix doc
cmcmarrow May 3, 2023
841f5ca
change log
cmcmarrow May 4, 2023
42d3eaa
HTTPS is also valid. Switch to parametrized test.
s0undt3ch May 4, 2023
3584921
Add a `.pth` to the onedir env to ensure packages in extras are impor…
s0undt3ch May 2, 2023
a59929a
Be sure to run the installed script to confirm it works
s0undt3ch May 2, 2023
9a94ec6
Confirm salt extensions are discoverable by salt when `salt-pip` inst…
s0undt3ch May 2, 2023
42a3080
Only delete existing paths on macOS onedir
s0undt3ch May 3, 2023
5c1ac32
Get `site-packages` from python
s0undt3ch May 2, 2023
310991a
The `extras-<python-major>.<python-minor>` is a Salt thing.
s0undt3ch May 3, 2023
ac906c4
Update relenv version to 0.12.0
dwoz May 3, 2023
6b16895
Generate workflows if `cicd/shared-gh-workflows-context.yml` is modified
s0undt3ch May 3, 2023
2aad5d2
Add build time checks to ensure the right relenv version is being used
s0undt3ch May 3, 2023
ae68a09
Remove un-needed code block
dwoz May 3, 2023
b660d03
Bump relenv to 0.12.1
dwoz May 3, 2023
2920f01
Account for different extras location on win32
dwoz May 4, 2023
f871c09
Fix typo
s0undt3ch May 4, 2023
f6188fd
Handle stale cache
s0undt3ch May 4, 2023
50531c5
Add 3006.1 release notes template.
s0undt3ch May 4, 2023
ad84d7c
Let's not concentrate the logic into a "one liner"
s0undt3ch May 4, 2023
6531a38
Bump to relenv 0.12.3
s0undt3ch May 4, 2023
4e8b77d
Release v3006.1
saltbot-open May 5, 2023
c08f270
hotfix Caught exception in wait_for_fun utils
vdloo Apr 6, 2022
f0f7fb4
fix salt utils import in openstack.py
vdloo May 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
15 changes: 15 additions & 0 deletions .backportrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"repoOwner": "saltstack",
"repoName": "salt",
"targetBranchChoices": ["master", "3006.x", "3005.x"],
"autoMerge": false,
"autoMergeMethod": "rebase",
"branchLabelMapping": {
"^backport:(.+)$": "$1"
},
"prTitle": "[BACKPORT] {commitMessages}",
"publishStatusCommentOnSuccess": true,
"sourcePRLabels": [
"backport:complete"
]
}
25 changes: 24 additions & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
codecov:
ci:
- jenkinsci.saltstack.com
- jenkins.saltproject.io
- github.com

max_report_age: 24 # The age you want coverage reports to expire at, or if you
Expand Down Expand Up @@ -107,6 +107,29 @@ flags:
paths:
- tests/
carryforward: true
unit:
paths:
- tests/unit
- tests/pytests/unit
carryforward: true
functional:
paths:
- tests/pytests/functional
carryforward: true
scenarios:
paths:
- tests/pytests/scenarios
carryforward: true
integration:
paths:
- tests/integration
- tests/pytests/integration
carryforward: true
system:
paths:
- tests/integration
- tests/pytests/integration
carryforward: true

#comment:
# layout: "reach, diff, flags, files"
Expand Down
13 changes: 5 additions & 8 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,13 @@ ignore_errors = True
[paths]
salt =
salt/
/tmp/kitchen/testing/salt/
/private/tmp/kitchen/testing/salt/
C:\Users\admini~1\AppData\Local\Temp\kitchen\testing\salt\
C:\Users\Administrator\AppData\Local\Temp\kitchen\testing\salt\
artifacts/salt
**/testing/salt/
**\testing\salt
tests =
tests/
/tmp/kitchen/testing/tests/
/private/tmp/kitchen/testing/tests/
C:\Users\admini~1\AppData\Local\Temp\kitchen\testing\tests\
C:\Users\Administrator\AppData\Local\Temp\kitchen\testing\tests\
**/testing/tests/
**\testing\tests
extension_modules =
tests/integration/files/extension_modules/
*/extension_modules/
Expand Down
65 changes: 31 additions & 34 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -12,55 +12,52 @@
* @saltstack/team-core

# Team Boto
salt/*/*boto* @saltstack/team-boto @saltstack/team-core
salt/*/*boto* @saltstack/team-core

# Team Cloud
salt/cloud/* @saltstack/team-cloud @saltstack/team-core
salt/utils/openstack/* @saltstack/team-cloud @saltstack/team-core
salt/utils/aws.py @saltstack/team-cloud @saltstack/team-core
salt/*/*cloud* @saltstack/team-cloud @saltstack/team-core
salt/cloud/* @saltstack/team-core
salt/utils/openstack/* @saltstack/team-core
salt/utils/aws.py @saltstack/team-core
salt/*/*cloud* @saltstack/team-core

# Team NetAPI
salt/cli/api.py @saltstack/team-netapi @saltstack/team-core
salt/client/netapi.py @saltstack/team-netapi @saltstack/team-core
salt/netapi/* @saltstack/team-netapi @saltstack/team-core
salt/cli/api.py @saltstack/team-core
salt/client/netapi.py @saltstack/team-core
salt/netapi/* @saltstack/team-core

# Team Network
salt/proxy/* @saltstack/team-proxy @saltstack/team-core
salt/proxy/* @saltstack/team-core

# Team SPM
salt/cli/spm.py @saltstack/team-spm @saltstack/team-core
salt/spm/* @saltstack/team-spm @saltstack/team-core
salt/cli/spm.py @saltstack/team-core
salt/spm/* @saltstack/team-core

# Team SSH
salt/cli/ssh.py @saltstack/team-ssh @saltstack/team-core
salt/client/ssh/* @saltstack/team-ssh @saltstack/team-core
salt/roster/* @saltstack/team-ssh @saltstack/team-core
salt/runners/ssh.py @saltstack/team-ssh @saltstack/team-core
salt/*/thin.py @saltstack/team-ssh @saltstack/team-core
salt/cli/ssh.py @saltstack/team-core
salt/client/ssh/* @saltstack/team-core
salt/roster/* @saltstack/team-core
salt/runners/ssh.py @saltstack/team-core
salt/*/thin.py @saltstack/team-core

# Team State
salt/state.py @saltstack/team-state @saltstack/team-core
salt/state.py @saltstack/team-core

# Team SUSE
salt/*/*btrfs* @saltstack/team-suse @saltstack/team-core
salt/*/*kubernetes* @saltstack/team-suse @saltstack/team-core
salt/*/*pkg* @saltstack/team-suse @saltstack/team-core
salt/*/*snapper* @saltstack/team-suse @saltstack/team-core
salt/*/*xfs* @saltstack/team-suse @saltstack/team-core
salt/*/*zypper* @saltstack/team-suse @saltstack/team-core
salt/*/*btrfs* @saltstack/team-core
salt/*/*kubernetes* @saltstack/team-core
salt/*/*pkg* @saltstack/team-core
salt/*/*snapper* @saltstack/team-core
salt/*/*xfs* @saltstack/team-core
salt/*/*zypper* @saltstack/team-core

# Team Transport
salt/transport/* @saltstack/team-transport @saltstack/team-core
salt/utils/zeromq.py @saltstack/team-transport @saltstack/team-core
salt/transport/* @saltstack/team-core
salt/utils/zeromq.py @saltstack/team-core

# Team Windows
salt/*/*win* @saltstack/team-windows @saltstack/team-core
salt/modules/reg.py @saltstack/team-windows @saltstack/team-core
salt/states/reg.py @saltstack/team-windows @saltstack/team-core
tests/*/*win* @saltstack/team-windows @saltstack/team-core
tests/*/test_reg.py @saltstack/team-windows @saltstack/team-core
tests/pytests/* @saltstack/team-code @s0undt3ch

# Jenkins Integration
.ci/* @saltstack/saltstack-sre-team @saltstack/team-core
salt/*/*win* @saltstack/team-core
salt/modules/reg.py @saltstack/team-core
salt/states/reg.py @saltstack/team-core
tests/*/*win* @saltstack/team-core
tests/*/test_reg.py @saltstack/team-core
tests/pytests/* @saltstack/team-core @s0undt3ch
7 changes: 5 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ Please be as specific as possible and give set-up details.
- [ ] container (Kubernetes, Docker, containerd, etc. please specify)
- [ ] or a combination, please be explicit
- [ ] jails if it is FreeBSD
- [ ] classic packaging
- [ ] onedir packaging
- [ ] used bootstrap to install



**Steps to Reproduce the behavior**
(Include debug logs if possible and relevant)

Expand All @@ -34,7 +37,7 @@ If applicable, add screenshots to help explain your problem.

**Versions Report**
<details><summary>salt --versions-report</summary>
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)

```yaml
PASTE HERE
Expand Down
3 changes: 0 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,3 @@ contact_links:
- name: Salt on LiberaChat
url: https://web.libera.chat/#salt
about: Please ask and answer questions here.
- name: Security vulnerabilities
email: [email protected]
about: Please report security vulnerabilities here.
13 changes: 13 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
self-hosted-runner:
# Labels of self-hosted runner in array of string
labels:
- bastion
- x86_64
- arm64
- aarch64
- amd64
- repo-nightly
- repo-staging
- repo-release
- medium
- large
63 changes: 63 additions & 0 deletions .github/actions/build-onedir-deps/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
name: build-onedir-deps
description: Build Onedir Dependencies
inputs:
platform:
required: true
type: string
description: The platform to build
arch:
required: true
type: string
description: The platform arch to build
python-version:
required: true
type: string
description: The python version to build
package-name:
required: false
type: string
description: The onedir package name to create
default: salt
cache-prefix:
required: true
type: string
description: Seed used to invalidate caches


env:
COLUMNS: 190
PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/
PIP_EXTRA_INDEX_URL: https://pypi.org/simple
RELENV_BUILDENV: 1


runs:
using: composite

steps:

- name: Cache Deps Onedir Package Directory
id: onedir-pkg-cache
uses: actions/cache@v3
with:
path: artifacts/${{ inputs.package-name }}
key: >
${{ inputs.cache-prefix }}|${{ inputs.python-version }}|deps|${{ inputs.platform }}|${{ inputs.arch }}|${{ inputs.package-name }}|
${{ hashFiles(
format('{0}/.relenv/**/*.xz', github.workspace),
'requirements/static/pkg/*/*.txt',
'.github/actions/build-onedir-deps/action.yml',
'cicd/shared-gh-workflows-context.yml'
) }}

- name: Install Salt Onedir Package Dependencies
shell: bash
if: steps.onedir-pkg-cache.outputs.cache-hit != 'true'
run: |
tools pkg build onedir-dependencies --arch ${{ inputs.arch }} --python-version ${{ inputs.python-version }} --package-name artifacts/${{ inputs.package-name }} --platform ${{ inputs.platform }}

- name: Cleanup Salt Onedir Directory
shell: bash
run: |
tools pkg pre-archive-cleanup artifacts/${{ inputs.package-name }}
106 changes: 106 additions & 0 deletions .github/actions/build-onedir-salt/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
---
name: build-onedir-salt
description: Build Onedir Package
inputs:
platform:
required: true
type: string
description: The platform to build
arch:
required: true
type: string
description: The platform arch to build
package-name:
required: false
type: string
description: The onedir package name to create
default: salt
cache-prefix:
required: true
type: string
description: Seed used to invalidate caches
python-version:
required: true
type: string
description: The python version to build
salt-version:
type: string
required: true
description: The Salt version to set prior to building packages.


env:
COLUMNS: 190
PIP_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/
PIP_EXTRA_INDEX_URL: https://pypi.org/simple
RELENV_BUILDENV: 1


runs:
using: composite

steps:

- name: Download Cached Deps Onedir Package Directory
id: onedir-bare-cache
uses: actions/cache@v3
with:
path: artifacts/${{ inputs.package-name }}
key: >
${{ inputs.cache-prefix }}|${{ inputs.python-version }}|deps|${{ inputs.platform }}|${{ inputs.arch }}|${{ inputs.package-name }}|
${{ hashFiles(
format('{0}/.relenv/**/*.xz', github.workspace),
'requirements/static/pkg/*/*.txt',
'.github/actions/build-onedir-deps/action.yml',
'cicd/shared-gh-workflows-context.yml'
) }}

- name: Download Source Tarball
uses: actions/download-artifact@v3
with:
name: salt-${{ inputs.salt-version }}.tar.gz

- name: Install Salt Into Onedir
shell: bash
run: |
tools pkg build salt-onedir salt-${{ inputs.salt-version }}.tar.gz --platform ${{ inputs.platform }} --package-name artifacts/${{ inputs.package-name }}

- name: Cleanup Salt Onedir Directory
shell: bash
run: |
tools pkg pre-archive-cleanup artifacts/${{ inputs.package-name }}

- name: Create Archive
shell: bash
run: |
cd artifacts/
tar -cJf ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.tar.xz ${{ inputs.package-name }}

- name: Create Archive (Zipfile)
if: ${{ inputs.platform == 'windows' }}
shell: powershell
run: |
cd artifacts
py -3 -m zipfile -c "${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.zip" ${{ inputs.package-name }}

- name: Create Hash Files
shell: bash
run: |
tools pkg generate-hashes artifacts/${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.*

- name: Upload Onedir Tarball as an Artifact
uses: actions/upload-artifact@v3
with:
name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.tar.xz
path: artifacts/${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.tar.xz*
retention-days: 7
if-no-files-found: error

- name: Upload Onedir Zipfile as an Artifact
if: ${{ inputs.platform == 'windows' }}
uses: actions/upload-artifact@v3
with:
name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.zip
path: artifacts/${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.zip*
retention-days: 7
if-no-files-found: error
Loading