Closed bcullman closed 8 months ago
maintainer: (consider squashing commits for cleaner history ;) )
@twerthi, @ebalders, @harrisonmeister could you take a look?
Please remove the deprecated function ApplyRetentionPolicy-old
Please remove the deprecated function
ApplyRetentionPolicy-old
ack! thanks @twerthi - nice catch.
Background
I was concern about what happens when the $RetentionPolicyCount was undefined, so I intended to add a single unit test. While doing so, I recognized that some of my other tests could be improved in quality, uncovering an issue in how files were sorted before choosing which files were deleted.
Additionally, I updated Invoke-PesterTests.ps1 to automatically unpack code under test from the json files so it's a little less annoying.
Results
validated that no action is taken if $RetentionPolicyCount is undefined. treating devices (split backup files) as a single file made pester a little less of a pest
Pre-requisites
Id
should be a GUID that is not00000000-0000-0000-0000-000000000000
Id
property (updating theId
will break the Library sync functionality in Octopus).Version
should be incremented, otherwise the integration with Octopus won't update the step template correctly$
LastModifiedBy
field must be present, and (optionally) updated with the correct authorCategory
has been created:{categoryname}.png
must be present under thestep-templates/logos
folderswitch
in thehumanize
function ingulpfile.babel.js
must have acase
statement corresponding to it