-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xSystemSecurity: Added continuous delivery with a new CI pipeline (#30)
- Loading branch information
Showing
38 changed files
with
2,111 additions
and
686 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
# Needed for publishing of examples, build worker defaults to core.autocrlf=input. | ||
* text eol=crlf | ||
|
||
# Ensure any exe files are treated as binary | ||
*.exe binary | ||
*.jpg binary | ||
*.xl* binary | ||
*.pfx binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
*.suo | ||
*.user | ||
*.coverage | ||
output/ | ||
.vs | ||
.psproj | ||
.sln | ||
DSCResource.Tests | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"default": true, | ||
"MD029": { | ||
"style": "one" | ||
}, | ||
"MD013": true, | ||
"MD024": false, | ||
"MD034": false, | ||
"no-hard-tabs": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,38 @@ | ||
{ | ||
"powershell.codeFormatting.openBraceOnSameLine": false, | ||
"powershell.codeFormatting.newLineAfterOpenBrace": false, | ||
"powershell.codeFormatting.newLineAfterOpenBrace": true, | ||
"powershell.codeFormatting.newLineAfterCloseBrace": true, | ||
"powershell.codeFormatting.whitespaceBeforeOpenBrace": true, | ||
"powershell.codeFormatting.whitespaceBeforeOpenParen": true, | ||
"powershell.codeFormatting.whitespaceAroundOperator": true, | ||
"powershell.codeFormatting.whitespaceAfterSeparator": true, | ||
"powershell.codeFormatting.ignoreOneLineBlock": false, | ||
"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationAfterEveryPipeline", | ||
"powershell.codeFormatting.preset": "Custom", | ||
"powershell.codeFormatting.alignPropertyValuePairs": true, | ||
"files.trimTrailingWhitespace": true, | ||
"files.insertFinalNewline": true, | ||
"powershell.scriptAnalysis.settingsPath": ".vscode\\analyzersettings.psd1" | ||
"powershell.scriptAnalysis.settingsPath": ".vscode\\analyzersettings.psd1", | ||
"powershell.scriptAnalysis.enable": true, | ||
"files.associations": { | ||
"*.ps1xml": "xml" | ||
}, | ||
"cSpell.words": [ | ||
"COMPANYNAME", | ||
"ICONURI", | ||
"LICENSEURI", | ||
"PROJECTURI", | ||
"RELEASENOTES", | ||
"buildhelpers", | ||
"endregion", | ||
"gitversion", | ||
"icontains", | ||
"keepachangelog", | ||
"notin", | ||
"pscmdlet", | ||
"steppable" | ||
], | ||
"[markdown]": { | ||
"files.encoding": "utf8" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
{ | ||
"version": "2.0.0", | ||
"_runner": "terminal", | ||
"windows": { | ||
"options": { | ||
"shell": { | ||
"executable": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | ||
"args": [ | ||
"-NoProfile", | ||
"-ExecutionPolicy", | ||
"Bypass", | ||
"-Command" | ||
] | ||
} | ||
} | ||
}, | ||
"linux": { | ||
"options": { | ||
"shell": { | ||
"executable": "/usr/bin/pwsh", | ||
"args": [ | ||
"-NoProfile", | ||
"-Command" | ||
] | ||
} | ||
} | ||
}, | ||
"osx": { | ||
"options": { | ||
"shell": { | ||
"executable": "/usr/local/bin/pwsh", | ||
"args": [ | ||
"-NoProfile", | ||
"-Command" | ||
] | ||
} | ||
} | ||
}, | ||
"tasks": [ | ||
{ | ||
"label": "build", | ||
"type": "shell", | ||
"command": "&${cwd}/build.ps1", | ||
"args": ["-AutoRestore"], | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"focus": true, | ||
"panel": "new", | ||
"clear": false | ||
}, | ||
"runOptions": { | ||
"runOn": "default" | ||
}, | ||
"problemMatcher": [ | ||
{ | ||
"owner": "powershell", | ||
"fileLocation": [ | ||
"absolute" | ||
], | ||
"severity": "error", | ||
"pattern": [ | ||
{ | ||
"regexp": "^\\s*(\\[-\\]\\s*.*?)(\\d+)ms\\s*$", | ||
"message": 1 | ||
}, | ||
{ | ||
"regexp": "(.*)", | ||
"code": 1 | ||
}, | ||
{ | ||
"regexp": "" | ||
}, | ||
{ | ||
"regexp": "^.*,\\s*(.*):\\s*line\\s*(\\d+).*", | ||
"file": 1, | ||
"line": 2 | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"label": "test", | ||
"type": "shell", | ||
"command": "&${cwd}/build.ps1", | ||
"args": ["-AutoRestore","-Tasks","test"], | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"focus": true, | ||
"panel": "dedicated", | ||
"showReuseMessage": true, | ||
"clear": false | ||
}, | ||
"problemMatcher": [ | ||
{ | ||
"owner": "powershell", | ||
"fileLocation": [ | ||
"absolute" | ||
], | ||
"severity": "error", | ||
"pattern": [ | ||
{ | ||
"regexp": "^\\s*(\\[-\\]\\s*.*?)(\\d+)ms\\s*$", | ||
"message": 1 | ||
}, | ||
{ | ||
"regexp": "(.*)", | ||
"code": 1 | ||
}, | ||
{ | ||
"regexp": "" | ||
}, | ||
{ | ||
"regexp": "^.*,\\s*(.*):\\s*line\\s*(\\d+).*", | ||
"file": 1, | ||
"line": 2 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Change log for xSystemSecurity | ||
|
||
The format is based on and uses the types of changes according to [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
### Added | ||
|
||
- xSystemSecurity | ||
- Added continuous delivery with a new CI pipeline. | ||
|
||
### Fixed | ||
|
||
- xFileSystemAccessRule | ||
- Corrected flag handling so that the `Test-TargetResource` passes | ||
correctly. | ||
- Using `Ensure = 'Absent'` with no rights specified will now correctly | ||
remove existing ACLs for the specified identity, rather than silently | ||
leaving them there. | ||
- Correctly returns property `Ensure` from the function `Get-TargetResource`. | ||
|
||
## [1.4.0.0] - 2018-06-13 | ||
|
||
- Changes to xFileSystemAccessRule | ||
- Fixed issue when cluster shared disk is not present on the server | ||
([issue #16](https://github.com/dsccommunity/xSystemSecurity/issues/16)). | ||
[Dan Reist (@randomnote1)](https://github.com/randomnote1) | ||
|
||
### [1.3.0.0] - 2017-12-20 | ||
|
||
- Updated FileSystemACL Set | ||
|
||
### [1.2.0.0] - 2016-09-21 | ||
|
||
- Converted appveyor.yml to install Pester from PSGallery instead of from | ||
Chocolatey. | ||
- Added xFileSystemAccessRule resource | ||
|
||
### [1.1.0.0] - 2015-09-11 | ||
|
||
- Fixed encoding | ||
|
||
### [1.0.0.0] - 2015-04-23 | ||
|
||
- Initial release with the following resources | ||
- xUAC | ||
- xIEEsc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Code of Conduct | ||
|
||
This project has adopted the [DSC Community Code of Conduct](https://dsccommunity.org/code_of_conduct). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Contributing | ||
|
||
Please check out common DSC Community [contributing guidelines](https://dsccommunity.org/guidelines/contributing). |
Oops, something went wrong.