-
Notifications
You must be signed in to change notification settings - Fork 149
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
Added continuous delivery with a new CI pipeline #549
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 157 of 157 files at r1.
Reviewable status: all files reviewed, 11 unresolved discussions (waiting on @johlju)
azure-pipelines.yml, line 102 at r1 (raw file):
- job: Test_Integration pool: vmImage: 'vs2017-win2016'
Why use a different image for unit vs integration tests?
Resolve-Dependency.psd1, line 2 at r1 (raw file):
@{ # Defaults Parameter value to be loaded by the Resolve-Dependency command (unless set in Bound Parameters) #PSDependTarget = './output/modules'
Maybe remove commented out lines?
source/xWebAdministration.psd1, line 82 at r1 (raw file):
} # End of PrivateData hashtable }
Can we remove all this whitespace?
source/en-US/about_xWebAdministration.help.txt, line 5 at r1 (raw file):
SHORT DESCRIPTION DSC resources for web servers and components around those.
maybe -> DSC resources for configuring web servers and related components.
source/en-US/about_xWebAdministration.help.txt, line 8 at r1 (raw file):
LONG DESCRIPTION This module contains DSC resources for deployment and configuration of web servers and components around those.
maybe -> This module contains DSC resources for deploying and configuring IIS web servers and related components.
source/Modules/xWebAdministration.Common/xWebAdministration.Common.psd1, line 15 at r1 (raw file):
# Company or vendor of this module CompanyName = 'Dsc Community'
Needs upper case DSC
tests/TestHelper/CommonTestHelper.psm1, line 36 at r1 (raw file):
$newSelfSignedCertZipPath = Join-Path -Path $OutputPath -ChildPath $newSelfSignedCertZip $newSelfSignedCertScriptPath = Join-Path -Path $OutputPath -ChildPath 'New-SelfSignedCertificateEx.ps1' if (-not (Test-Path -Path $newSelfSignedCertScriptPath))
Add blank line before
tests/TestHelper/CommonTestHelper.psm1, line 42 at r1 (raw file):
Remove-Item -Path $newSelfSignedCertZipPath -Force } Invoke-WebRequest -Uri $newSelfSignedCertURL -OutFile $newSelfSignedCertZipPath
Add blank line before.
tests/Integration/MSFT_XIISLogging.Integration.Tests.ps1, line 21 at r1 (raw file):
Import-Module -Name (Join-Path -Path $PSScriptRoot -ChildPath '..\TestHelper\CommonTestHelper.psm1') -Force [String] $tempName = "$($script:dscResourceName)_" + (Get-Date).ToString("yyyyMMdd_HHmmss")
FYI, doesn't need the [String] declaration.
tests/Unit/MSFT_xWebAppPoolDefaults.Tests.ps1, line 37 at r1 (raw file):
InModuleScope $script:dscResourceName { Describe "xWebAppPoolDefaults\Get-TargetResource" {
Can be single quotes
tests/Unit/MSFT_xWebAppPoolDefaults.Tests.ps1, line 84 at r1 (raw file):
} Describe "xWebAppPoolDefaults\Test-TargetResource" {
Can be single quotes
tests/Unit/MSFT_xWebAppPoolDefaults.Tests.ps1, line 170 at r1 (raw file):
} Describe "xWebAppPoolDefaults\Set-TargetResource" {
Can be single quotes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @PlagueHO!
Reviewable status: 132 of 157 files reviewed, 11 unresolved discussions (waiting on @PlagueHO)
azure-pipelines.yml, line 102 at r1 (raw file):
Previously, PlagueHO (Daniel Scott-Raynsford) wrote…
Why use a different image for unit vs integration tests?
Using Windows Server Core felt like it would be optimized for unit tests. Integration tests could not be run on Windows Server Core because it could not install a dependency so I move to Windows Server 2016 Full instead. But I will submit an issue to make sure it runs the integration tests on all available images (Server Core, 2016, and 2019). Submitted issue #550.
Resolve-Dependency.psd1, line 2 at r1 (raw file):
Previously, PlagueHO (Daniel Scott-Raynsford) wrote…
Maybe remove commented out lines?
Done.
source/xWebAdministration.psd1, line 82 at r1 (raw file):
Previously, PlagueHO (Daniel Scott-Raynsford) wrote…
Can we remove all this whitespace?
Done.
source/en-US/about_xWebAdministration.help.txt, line 5 at r1 (raw file):
Previously, PlagueHO (Daniel Scott-Raynsford) wrote…
maybe -> DSC resources for configuring web servers and related components.
Done.
source/en-US/about_xWebAdministration.help.txt, line 8 at r1 (raw file):
Previously, PlagueHO (Daniel Scott-Raynsford) wrote…
maybe -> This module contains DSC resources for deploying and configuring IIS web servers and related components.
Done. Thank you, updated the repository description as well (on GitHub)! I skipped 'IIS' since I don't want to limit this to just IIS.
source/Modules/xWebAdministration.Common/xWebAdministration.Common.psd1, line 15 at r1 (raw file):
Previously, PlagueHO (Daniel Scott-Raynsford) wrote…
Needs upper case DSC
Done.
tests/TestHelper/CommonTestHelper.psm1, line 36 at r1 (raw file):
Previously, PlagueHO (Daniel Scott-Raynsford) wrote…
Add blank line before
Done.
tests/TestHelper/CommonTestHelper.psm1, line 42 at r1 (raw file):
Previously, PlagueHO (Daniel Scott-Raynsford) wrote…
Add blank line before.
Done.
tests/Unit/MSFT_xWebAppPoolDefaults.Tests.ps1, line 37 at r1 (raw file):
Previously, PlagueHO (Daniel Scott-Raynsford) wrote…
Can be single quotes
Done.
tests/Unit/MSFT_xWebAppPoolDefaults.Tests.ps1, line 84 at r1 (raw file):
Previously, PlagueHO (Daniel Scott-Raynsford) wrote…
Can be single quotes
Done.
tests/Unit/MSFT_xWebAppPoolDefaults.Tests.ps1, line 170 at r1 (raw file):
Previously, PlagueHO (Daniel Scott-Raynsford) wrote…
Can be single quotes
Done.
@PlagueHO Ready for sign off I hope. 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job @johlju ! Another one down!
Reviewed 30 of 30 files at r2.
Reviewable status: complete! all files reviewed, all discussions resolved
Pull Request (PR) description
This Pull Request (PR) fixes the following issues
Task list
Entry should say what was changed and how that affects users (if applicable), and
reference the issue being resolved (if applicable).
and comment-based help.
This change is