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

BREAKING CHANGE: xWindowsUpdate: Added automatic release with a new CI pipeline #94

Merged
merged 9 commits into from
Mar 21, 2020

Conversation

johlju
Copy link
Member

@johlju johlju commented Mar 19, 2020

Pull Request (PR) description

Added
Changed
  • xWindowsUpdate
    • Moved the Set-StrictMode so that it is used during testing only and
      not during runtime.
    • Removed the helper function Trace-Message and using the Write-Verbose
      directly instead.
    • The helper function New-InvalidArgumentException was replaced by
      its equivalent in the module DscResource.Common.
  • xWindowsUpdateAgent
    • Removed the $PSCmdlet.ShouldProcess calls from code since DSC does not
      support interactive actions.
    • No longer defaults to output verbose messages.
Removed
  • xWindowsUpdate
    • BREAKING CHANGE: Removed the deprecated resource xMicrosoftUpdate

This Pull Request (PR) fixes the following issues

Task list

  • Added an entry under the Unreleased section of the change log in the README.md.
    Entry should say what was changed, and how that affects users (if applicable).
  • Resource documentation added/updated in README.md.
  • Resource parameter descriptions added/updated in README.md, schema.mof
    and comment-based help.
  • Comment-based help added/updated.
  • Localization strings added/updated in all localization files as appropriate.
  • Examples appropriately added/updated.
  • Unit tests added/updated. See DSC Resource Testing Guidelines.
  • Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
  • New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is Reviewable

@johlju johlju added the needs review The pull request needs a code review. label Mar 19, 2020
@johlju johlju changed the title xWindowsUpdate: Added automatic release with a new CI pipeline BREAKING CHANGE: xWindowsUpdate: Added automatic release with a new CI pipeline Mar 19, 2020
@johlju johlju added the breaking change When used on an issue, the issue has been determined to be a breaking change. label Mar 19, 2020
Copy link
Member

@gaelcolas gaelcolas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good overall, but some big changes are hard to tell.
Integration testing (or people testing in prod) will be the true test ;)

Gael

Reviewed 54 of 54 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@johlju johlju merged commit 8b2a840 into dev Mar 21, 2020
@johlju johlju deleted the add-new-ci branch March 21, 2020 05:26
johlju added a commit that referenced this pull request Mar 21, 2020
…I pipeline (#94)

- xWindowsUpdate
  - BREAKING CHANGE: Removed the deprecated resource `xMicrosoftUpdate`- 
  - Added automatic release with a new CI pipeline.
  - Moved the `Set-StrictMode` so that it is used during testing only and
    not during runtime.
  - Removed the helper function `Trace-Message` and using the `Write-Verbose`
    directly instead.
  - The helper function `New-InvalidArgumentException` was replaced by
    its equivalent in the module DscResource.Common.
xWindowsUpdateAgent
  - Added Retry logic to known transient errors (issue #24).
  - Removed the `$PSCmdlet.ShouldProcess` calls from code since DSC does not
    support interactive actions.
  - No longer defaults to output verbose messages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change When used on an issue, the issue has been determined to be a breaking change. needs review The pull request needs a code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

xWindowsUpdateAgent should handle 0x80244022
2 participants