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

Automatic Documentation Generation Fails on Ubuntu-22.04 build image #127

Closed
PlagueHO opened this issue Jan 25, 2023 · 0 comments · Fixed by #126
Closed

Automatic Documentation Generation Fails on Ubuntu-22.04 build image #127

PlagueHO opened this issue Jan 25, 2023 · 0 comments · Fixed by #126
Labels
bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community.

Comments

@PlagueHO
Copy link
Member

Problem description

The automatic documentation generation fails on Ubuntu-22.04.

Verbose logs

See https://github.com/dsccommunity/DscResource.DocGenerator/issues/131

DSC configuration

N/A

Suggested solution

Temporary resolution to pin build image to ubuntu-20.04 by changing line https://github.com/dsccommunity/DFSDsc/blob/main/azure-pipelines.yml#L27 to vmImage: 'ubuntu-20.04'

Operating system the target node is running

N/A

PowerShell version and build the target node is running

N/A

DFSDsc version

N/A
@PlagueHO PlagueHO added bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community. labels Jan 25, 2023
Borgquite added a commit to Borgquite/DFSDsc that referenced this issue Jan 26, 2023
PlagueHO pushed a commit that referenced this issue Aug 3, 2023
 - Add support for setting a DFS Namespace root target's referral status (state) to be either Online or Offline
   in MSFT_DFSNamespaceRoot. State is now a required parameter.
 - Add support for setting a DFS Namespace folder target's referral status (state) to be either Online or Offline
   in MSFT_DFSNamespaceFolder. State is now a required parameter.
 - Update examples to support new required parameter.

* Fixes the description of the Example 1 for DFSNamespaceFolder and DFSNamespaceRoot.

* Fixes a typo in Example 1 for DFSNamespaceFolder and DFSNamespaceRoot examples.

* Add DFSReplicationGroupMember to define members separate from a group

* Add DFSReplicationGroupMember tests

* Allow Get-TargetResource & Test-TargetResource when replication group does not exist (fix #125)

* Add support for CrossFileRDCEnabled, MinimumRDCFileSizeInKB in DSC_DFSReplicationGroupConnection plus EnsureEnabled, MinimumFileStagingSize, ConflictAndDeletedQuotaInMB, RemoveDeletedFiles and DfsnPath in DFSReplicationGroupMembership

* Add tests for new parameters in DFSReplicationGroupConnections

* Add tests for new parameters in DFSReplicationGroupMembership

* Add new strings for DFSReplicationGroupMembership

* Convert all 'Ensure' parameters to default to 'Present' #29

* Spelling corrections

* Correction to (copied?) comment referencing incorrect file

* Merge branch 'bsmall_referral_status_support'

* Merge branch 'wayfair-contribs-bsmall_referral_status_support' into patch-1

* Fix ReplicationGroup integration tests testing for Namespace feature

* Rename 'State' to 'TargetState' to avoid clash with existing 'State' property, make it optional (to avoid breaking change)

* Finalise above change

* Update examples to use TargetState instead of State

* Revert error

* TargetState integration tests for DFSNamespaceRoot

* Fix whitespace

* TargetState unit tests for DFSNamespaceFolder and DFSNamespaceRoot

* Fix DFSReplicationGroupConnection EnsureRDCEnabled test

* Fix tests to increment instead of using fixed values

* Updated CHANGELOG

* Fix error in CHANGELOG

* Another CHANGELOG fix

* Add 'State' back into DFSNamespaceRoot Schema

* Fix Set-TargetResource check for TargetState

* Update DFSReplicationGroup tests as now the Members attribute can be blank for use with DFSReplicationGroupMember

* Update DFSReplicationGroup tests as now the Members attribute can be blank (2)

* Revert ability to leave Folders blank too (breaks tests)

* Fix DFSReplicationGroup test, (spelling mistake)

* DFSReplicationGroupFolder and DFSReplicationGroupMembership should not fail on do not exist (update test for #125)

* Fix bugs in DFSReplicationGroupMember tests

* Update CHANGELOG

* Separate change log entries into sections for each resource

* New ReplicationGroup sample, fixes to TargetState descriptions

* Pin build image to Ubuntu 20.04 - fixes #127

* Changelog tweaks

* DFSReplicationGroup fixes - additional Member warnings, fix for empty $Members array

* DFSReplicationGroupMember warning

* Fixed example

* Replace 2016-Datacenter,2016-Datacenter-Server-Core with 2019-Datacenter,2019-Datacenter-Server-Core (all examples)

* DFSReplicationGroup example Members warning

* More DFSReplicationGroup / DFSReplicationGroupMember example fixes

* Replace -Be [$true/$false/$null] with -BeTrue -BeFalse -BeNullOrEmpty

* Remove unnecessary 'Offline' from examples

* Revert $Members change - fix texts

* Grammatical error

* Support clearing out members from a replication group

* Attempt to fix DFSReplicationGroup tests - 'no members'

* Same fix for no Members for ContentPaths

* Same fix as Null Members for Null Folders in tests

Co-Authored-By: Ben Small <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
1 participant