xFailOverCluster.psd1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
@{
    moduleVersion        = '1.15.0'

    GUID                 = '026e7fd8-06dd-41bc-b373-59366ab18679'

    Author               = 'DSC Community'

    CompanyName          = 'DSC Community'

    Copyright            = 'Copyright the DSC Community contributors. All rights reserved.'

    Description          = 'Module containing DSC resources for deployment and configuration of Windows Server Failover Cluster.'

    # Minimum version of the Windows PowerShell engine required by this module
    PowerShellVersion    = '4.0'

    # Functions to export from this module
    FunctionsToExport    = @()

    # Cmdlets to export from this module
    CmdletsToExport      = @()

    # Variables to export from this module
    VariablesToExport    = @()

    # Aliases to export from this module
    AliasesToExport      = @()

    DscResourcesToExport = @('xCluster','xClusterDisk','xClusterNetwork','xClusterPreferredOwner','xClusterProperty','xClusterQuorum','xWaitForCluster')

    # Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
    PrivateData          = @{
        PSData = @{
            # Set to a prerelease string value if the release should be a prerelease.
            Prerelease   = 'preview0004'

            # Tags applied to this module. These help with module discovery in online galleries.
            Tags         = @('DesiredStateConfiguration', 'DSC', 'DSCResourceKit', 'DSCResource')

            # A URL to the license for this module.
            LicenseUri   = 'https://github.com/dsccommunity/xFailOverCluster/blob/main/LICENSE'

            # A URL to the main website for this project.
            ProjectUri   = 'https://github.com/dsccommunity/xFailOverCluster'

            # A URL to an icon representing this module.
            IconUri      = 'https://dsccommunity.org/images/DSC_Logo_300p.png'

            # ReleaseNotes of this module
            ReleaseNotes = '## [1.15.0-preview0004] - 2021-02-19
 
### Added
 
- xFailOverCluster
  - Add the module MarkdownLinkCheck to dependent modules to active the
    markdown link tests.
  - Added the filetypes to the file `.gitattributes` according to the
    Plaster template.
  - Update examples to be ready to be published to the PowerShell Gallery.
  - Added a CONTRIBUTING.md.
  - Replaced module CommonResourceHelper with the PowerShell Gallery module
    DscResource.Common v0.2.0.
  - Adding back publishing code coverage to Codecov.io.
    - Add status badge for Codecov.io in README.md.
    - Fix Azure Pipelines code coverage ([issue #236](https://github.com/dsccommunity/xFailOverCluster/issues/236)).
 
### Changed
 
- xFailOverCluster
  - Renamed `master` branch to `main` ([issue #246](https://github.com/dsccommunity/xFailOverCluster/issues/246)).
  - Updated the CI pipeline files to the latest template.
  - Changed unit tests to handle missing DscResource.Test better.
  - Changed the Code of Conduct to the one adopted by DSC Community.
  - Added `.markdownlint.json` to get the correct settings for the
    MarkdownLint VS Code extension.
  - Changed Visual Studio Code settings to the file `settings.json` according
    to the Plaster template.
  - Set `testRunTitle` for PublishTestResults task so that a helpful name is
    displayed in Azure DevOps for each test run.
  - Set a display name on all the jobs and tasks in the CI pipeline.
  - The deploy step is now only run when merged to branch `master` in the
    DSC Community upstream repository (not to branch `master` in a fork
    which always failed due to missing credentials).
  - Only run the CI pipeline on branch `master` when there are changes to
    files inside the `source` folder.
  - Changed integration tests to run on a a build image with Windows Server
    2019 since the one we previously used was removed from Azure Pipelines ([issue #233](https://github.com/dsccommunity/xFailOverCluster/issues/233)).
  - Updated CI pipeline to get version from the property `NuGetVersionV2`.
  - Pin Pester to 4.10.1 in `RequiredModule.psd1` since the tests does
    not support Pester 5.
  - Updated repository to use the latest version of the module ModuleBuilder.
 
### Fixed
 
- xFailOverCluster
  - The component `gitversion` that is used in the pipeline was wrongly configured
    when the repository moved to the new default branch `main`. It no longer throws
    an error when using newer versions of GitVersion.
  - Added CODE_OF_CONDUCT.md file, and a ''Code of Conduct'' section in the
    README.md.
  - Improved CI pipeline
    - Renamed the jobs
    - Splitting up the testing in different jobs.
  - URLs in the module manifest pointed in the wrong direction.
  - Changed the encoding that will be used by ModuleBuilder (`UTF-8`).
  - URLs to examples in README.md didn''t take account for new folder
    structure.
  - Release pipeline stopped working in some circumstances, workaround is
    to pin ModuleBuilder to version `1.0.0` for now.
    *There is an issue with ModuleBuilder with preview strings using dash,*
    *e.g. `fix0008-9`. The string is compliant with SemVer 2.0 but there*
    *is a bug in `Publish-Module` that prevents the module to be released.*
  - Added code coverage reporting to Azure DevOps.
  - Update status badges in README.md.
  - Replaced section ''Branches'' with section ''Releases'' in README.md.
  - Pull request and issue template got minor updates.
  - Update module manifest exporting resources and fixed style.
  - Update GitVersion.yml with the correct regular expression.
  - Fix import statement in all tests, making sure it throws if module
    DscResource.Test cannot be imported.
  - Update the deploy stage so that it is skipped when merging
    branch master in forks.
- xClusterPreferredOwner
  - Fixed broken links to examples in README.md.
- xClusterQuorum
  - Fixed broken link to examples in README.md ([issue #208](https://github.com/dsccommunity/xFailOverCluster/issues/208)).
- CommonResourceHelper
  - Added `en-US` localization folder to pass PSSA rule.
- xCluster
  - Added script file information to the example `1-CreateFirstNodeOfAFailoverCluster.ps1`.
  - Fixed Describe-block descriptions ([issue #234](https://github.com/dsccommunity/xFailOverCluster/issues/234)).
  - Made DomainAdministratorCredential optional ([issue #164](https://github.com/dsccommunity/xFailOverCluster/issues/164))
 
### Removed
 
- Removed the file `Deploy.PSDeploy.ps1` since it is not longer used by
  the build pipeline.
 
'

        } # End of PSData hashtable

    } # End of PrivateData hashtable
}