Closed techthoughts2 closed 3 years ago
Catesta template module changes
Added support for Pester 5 - you can now choose either Pester 4 or Pester 5 in a prompt when creating a module or vault with Catesta.
Some CICD containers have the Pester module loaded into memory. Added explicit remove in the build file to account for this.
Moved Pester import handling from the buildspec/yaml to InvokeBuild
Updated pester tests that were using legacy Should syntax (without dashes)
Fixed tasks.json VSCode file to be valid json (was missing comma)
tasks.json
Added prompt on ModuleOnly module type to prompt user if they want helpful .vscode files for their module project
Catesta now deploys the initial sample module in a style that better reflects a real-world module
The private sample function was renamed to Get-Day and gets the day of the week
The public sample function now returns hello world with the day of the week included
Sample tests are now created for these sample functions in the appropriate public/private folders under the Tests/Unit folder
Sample tests now actually test the sample functions
AppVeyor CI/CD changes:
Updated Ubuntu image from Ubuntu1804 to Ubuntu2004
Ubuntu1804
Ubuntu2004
Azure DevOps CI/CD changes:
The latest macOS image now includes PowerShell by default - removed step in yaml to install PowerShell.
AWS CodeBuild CI/CD changes:
CB Linux Image updated in CFN from Image: aws/codebuild/standard:4.0 to use latest: Image: aws/codebuild/standard:5.0
Image: aws/codebuild/standard:4.0
Image: aws/codebuild/standard:5.0
Updated buildspec_pwsh_windows.yml to use the new syntax for installing PowerShell 7.
runtime-versions: dotnet: 3.1
Added additional documentation links to the buildspec files
InvokeBuild bumped from 5.6.1 to 5.8.0
5.6.1
5.8.0
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.
Pull Request
Issue
45 #46 #47 #49
Description
Catesta template module changes
Added support for Pester 5 - you can now choose either Pester 4 or Pester 5 in a prompt when creating a module or vault with Catesta.
Some CICD containers have the Pester module loaded into memory. Added explicit remove in the build file to account for this.
Moved Pester import handling from the buildspec/yaml to InvokeBuild
Updated pester tests that were using legacy Should syntax (without dashes)
Fixed
tasks.json
VSCode file to be valid json (was missing comma)Added prompt on ModuleOnly module type to prompt user if they want helpful .vscode files for their module project
Catesta now deploys the initial sample module in a style that better reflects a real-world module
The private sample function was renamed to Get-Day and gets the day of the week
The public sample function now returns hello world with the day of the week included
Sample tests are now created for these sample functions in the appropriate public/private folders under the Tests/Unit folder
Sample tests now actually test the sample functions
AppVeyor CI/CD changes:
Updated Ubuntu image from
Ubuntu1804
toUbuntu2004
Azure DevOps CI/CD changes:
The latest macOS image now includes PowerShell by default - removed step in yaml to install PowerShell.
AWS CodeBuild CI/CD changes:
CB Linux Image updated in CFN from
Image: aws/codebuild/standard:4.0
to use latest:Image: aws/codebuild/standard:5.0
Updated buildspec_pwsh_windows.yml to use the new syntax for installing PowerShell 7.
Added additional documentation links to the buildspec files
InvokeBuild bumped from
5.6.1
to5.8.0
5.6.1
to5.8.0
License
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.