Skip to content

Commit 3139835

Browse files
authored
Merge branch 'main' into gh-57/main/add-map-lambda-function
2 parents a93f9e2 + 1b0faef commit 3139835

80 files changed

Lines changed: 4528 additions & 2576 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/instructions/instructions.md‎

Lines changed: 78 additions & 66 deletions
Large diffs are not rendered by default.

‎.github/workflows/rust.yml‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
steps:
2828
- uses: actions/checkout@v5
2929
- name: Install prerequisites
30-
run: ./build.new.ps1 -SkipBuild -Clippy -Verbose
30+
run: ./build.ps1 -SkipBuild -Clippy -Verbose
3131
- name: Generate documentation
32-
run: ./build.new.ps1 -RustDocs -Verbose
32+
run: ./build.ps1 -RustDocs -Verbose
3333
- name: Test documentation
3434
run: |-
3535
$testParams = @{
@@ -40,17 +40,17 @@ jobs:
4040
ExcludePesterTests = $true
4141
Verbose = $true
4242
}
43-
./build.new.ps1 @testParams
43+
./build.ps1 @testParams
4444
linux-build:
4545
runs-on: ubuntu-latest
4646
steps:
4747
- uses: actions/checkout@v5
4848
- name: Install prerequisites
49-
run: ./build.new.ps1 -SkipBuild -Clippy -Verbose
49+
run: ./build.ps1 -SkipBuild -Clippy -Verbose
5050
- name: Build
51-
run: ./build.new.ps1 -Clippy -Verbose
51+
run: ./build.ps1 -Clippy -Verbose
5252
- name: Run rust tests
53-
run: ./build.new.ps1 -SkipBuild -Test -ExcludePesterTests -Verbose
53+
run: ./build.ps1 -SkipBuild -Test -ExcludePesterTests -Verbose
5454
- name: Prepare build artifact
5555
run: tar -cvf bin.tar bin/
5656
- name: Upload build artifact
@@ -81,18 +81,18 @@ jobs:
8181
ExcludeRustTests = $true
8282
Verbose = $true
8383
}
84-
./build.new.ps1 @params -PesterTestGroup ${{matrix.group}}
84+
./build.ps1 @params -PesterTestGroup ${{matrix.group}}
8585
8686
macos-build:
8787
runs-on: macos-latest
8888
steps:
8989
- uses: actions/checkout@v5
9090
- name: Install prerequisites
91-
run: ./build.new.ps1 -SkipBuild -Clippy -Verbose
91+
run: ./build.ps1 -SkipBuild -Clippy -Verbose
9292
- name: Build
93-
run: ./build.new.ps1 -Clippy -Verbose
93+
run: ./build.ps1 -Clippy -Verbose
9494
- name: Run rust tests
95-
run: ./build.new.ps1 -SkipBuild -Test -ExcludePesterTests -Verbose
95+
run: ./build.ps1 -SkipBuild -Test -ExcludePesterTests -Verbose
9696
- name: Prepare build artifact
9797
run: tar -cvf bin.tar bin/
9898
- name: Upload build artifact
@@ -123,19 +123,19 @@ jobs:
123123
ExcludeRustTests = $true
124124
Verbose = $true
125125
}
126-
./build.new.ps1 @params -PesterTestGroup ${{matrix.group}}
126+
./build.ps1 @params -PesterTestGroup ${{matrix.group}}
127127
128128
# Windows
129129
windows-build:
130130
runs-on: windows-latest
131131
steps:
132132
- uses: actions/checkout@v5
133133
- name: Install prerequisites
134-
run: ./build.new.ps1 -SkipBuild -Clippy -Verbose
134+
run: ./build.ps1 -SkipBuild -Clippy -Verbose
135135
- name: Build
136-
run: ./build.new.ps1 -Clippy -Verbose
136+
run: ./build.ps1 -Clippy -Verbose
137137
- name: Run rust tests
138-
run: ./build.new.ps1 -SkipBuild -Test -ExcludePesterTests -Verbose
138+
run: ./build.ps1 -SkipBuild -Test -ExcludePesterTests -Verbose
139139
- name: List bin folder files
140140
run: Get-ChildItem bin
141141
- name: Prepare build artifact
@@ -168,4 +168,4 @@ jobs:
168168
ExcludeRustTests = $true
169169
Verbose = $true
170170
}
171-
./build.new.ps1 @params -PesterTestGroup ${{matrix.group}}
171+
./build.ps1 @params -PesterTestGroup ${{matrix.group}}

‎.pipelines/DSC-Official.yml‎

Lines changed: 138 additions & 28 deletions
Large diffs are not rendered by default.

‎.pipelines/DSC-Windows.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ steps:
5050
$env:PATH += ";$LLVMBIN"
5151
write-verbose -verbose (gcm clang.exe | out-string)
5252
Write-Verbose -Verbose "Building for ${{ parameters.buildName }}"
53-
./build.ps1 -Release -Architecture ${{ parameters.buildName }} -SkipLinkCheck
53+
./packaging.ps1 -Release -Architecture ${{ parameters.buildName }} -SkipLinkCheck
5454
displayName: 'Build ${{ parameters.buildName }}'
5555
env:
5656
ob_restore_phase: true
@@ -95,13 +95,13 @@ steps:
9595
OverWrite: true
9696
- pwsh: |
9797
Set-Location "$(Build.SourcesDirectory)/DSC"
98-
./build.ps1 -PackageType zip -Architecture ${{ parameters.buildName }} -Release
98+
./packaging.ps1 -PackageType zip -Architecture ${{ parameters.buildName }} -Release
9999
Copy-Item ./bin/*.zip "$(Build.ArtifactStagingDirectory)" -Verbose
100100
displayName: 'Zip ${{ parameters.buildName }}'
101101
condition: succeeded()
102102
- pwsh: |
103103
Set-Location "$(Build.SourcesDirectory)/DSC"
104-
./build.ps1 -PackageType msix -Architecture ${{ parameters.buildName }} -Release -UseX64MakeAppx
104+
./packaging.ps1 -PackageType msix -Architecture ${{ parameters.buildName }} -Release -UseX64MakeAppx
105105
Copy-Item ./bin/msix/*.msix "$(Build.ArtifactStagingDirectory)" -Verbose
106106
displayName: 'Create msix for ${{ parameters.buildName }}'
107107
condition: succeeded()
188 KB
Loading
12.2 KB
Loading

‎.pipelines/Store/PDP/en-US/PDP.xml‎

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<ProductDescription language="en-us"
3+
xmlns="http://schemas.microsoft.com/appx/2012/ProductDescription"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="en-us" Release="">
5+
<AppStoreName _locID="$AppName$">
6+
<!-- This is optional. AppStoreName is typically extracted from your package's AppxManifest DisplayName property. -->
7+
<!-- Uncomment (and localize) this Store name if your application package does not contain a localization for the DisplayName in this language. -->
8+
<!-- Leaving this uncommented for a language that your application package DOES contain a DisplayName for will result in a submission failure with the API. -->
9+
<!-- _locComment_text="{MaxLength=200} App AppStoreName" -->
10+
<!-- Dev Home -->
11+
</AppStoreName>
12+
<Keywords>
13+
<!-- Valid length: 30 character limit, up to 7 elements -->
14+
<Keyword _locID="App_keyword1">
15+
<!-- _locComment_text="{MaxLength=30} App keyword 1" -->Configuration</Keyword>
16+
<Keyword _locID="App_keyword2">
17+
<!-- _locComment_text="{MaxLength=30} App keyword 2" -->DSC</Keyword>
18+
<Keyword _locID="App_keyword3">
19+
<!-- _locComment_text="{MaxLength=30} App keyword 3" -->Configuration Management</Keyword>
20+
<Keyword _locID="App_keyword4">
21+
<!-- _locComment_text="{MaxLength=30} App keyword 4" -->Command Line</Keyword>
22+
<Keyword _locID="App_keyword5">
23+
<!-- _locComment_text="{MaxLength=30} App keyword 5" -->MCP</Keyword>
24+
<Keyword _locID="App_keyword6">
25+
<!-- _locComment_text="{MaxLength=30} App keyword 6" -->Settings Management</Keyword>
26+
<Keyword _locID="App_keyword7">
27+
<!-- _locComment_text="{MaxLength=30} App keyword 7" -->Settings Discovery</Keyword>
28+
</Keywords>
29+
<Description _locID="App_Description">
30+
<!-- _locComment_text="{MaxLength=10000} {Locked=Windows} App Description" -->Microsoft's Desired State Configuration (DSC) is a declarative configuration platform. With DSC, the state of a machine is described using a format that should be clear to understand even if the reader isn't a subject matter expert. Unlike imperative tools, with DSC the definition of an application environment is separate from the script logic that implements how it's delivered.</Description>
31+
<ShortDescription _locID="App_ShortDescription">
32+
<!-- Only used for games. This description appears in the Information section of the Game Hub on Xbox One, and helps customers understand more about your game. -->
33+
<!-- _locComment_text="{MaxLength=500} App ShortDescription" -->
34+
</ShortDescription>
35+
<ShortTitle _locID="App_ShortTitle">
36+
<!-- A shorter version of your product's name. If provided, this shorter name may appear in various places on Xbox One (during installation, in Achievements, etc.) in place of the full title of your product. -->
37+
<!-- _locComment_text="{MaxLength=50} App ShortTitle" -->
38+
</ShortTitle>
39+
<SortTitle _locID="App_SortTitle">
40+
<!-- If your product could be alphabetized in different ways, you can enter another version here. This may help customers find the product more quickly when searching. -->
41+
<!-- _locComment_text="{MaxLength=255} App SortTitle" -->
42+
</SortTitle>
43+
<VoiceTitle _locID="App_VoiceTitle">
44+
<!-- An alternate name for your product that, if provided, may be used in the audio experience on Xbox One when using Kinect or a headset. -->
45+
<!-- _locComment_text="{MaxLength=255} App VoiceTitle" -->
46+
</VoiceTitle>
47+
<DevStudio _locID="App_DevStudio">
48+
<!-- Specify this value if you want to include a "Developed by" field in the listing. (The "Published by" field will list the publisher display name associated with your account, whether or not you provide a devStudio value.) -->
49+
<!-- _locComment_text="{MaxLength=255} App DevStudio" -->
50+
</DevStudio>
51+
<ReleaseNotes _locID="App_ReleaseNotes">
52+
<!-- _locComment_text="{MaxLength=1500} {Locked=__VERSION_NUMBER__} App Release Note" -->Please see our GitHub releases page for additional details: https://github.com/powershell/dsc/releases</ReleaseNotes>
53+
<ScreenshotCaptions>
54+
<!-- Valid length: 200 character limit, up to 9 elements per platform -->
55+
<!-- Valid attributes: any of DesktopImage, MobileImage, XboxImage, SurfaceHubImage, and HoloLensImage -->
56+
<Caption DesktopImage="Desktop.png" _locID="App_caption1">
57+
<!-- _locComment_text="{MaxLength=200} Screenshot caption 1" -->
58+
Desktop
59+
</Caption>
60+
</ScreenshotCaptions>
61+
<AdditionalAssets>
62+
<Icon FileName="StoreLogo.png" />
63+
<!-- Valid elements:-->
64+
<!-- HeroImage414x180, HeroImage846x468, HeroImage558x756, HeroImage414x468, HeroImage558x558, HeroImage2400x1200,-->
65+
<!-- ScreenshotWXGA, ScreenshotHD720, ScreenshotWVGA, Doublewide, Panoramic, Square,-->
66+
<!-- SmallMobileTile, SmallXboxLiveTile, LargeMobileTile, LargeXboxLiveTile, Tile,-->
67+
<!-- DesktopIcon, Icon (use this value for the 1:1 300x300 pixels logo), AchievementIcon,-->
68+
<!-- ChallengePromoIcon, RewardDisplayIcon, Icon150X150, Icon71X71,-->
69+
<!-- BoxArt, BrandedKeyArt, PosterArt, FeaturedPromotionalArt, PromotionalArt16x9, TitledHeroArt-->
70+
<!-- There is no content for any of these elements, just a single attribute called FileName. -->
71+
</AdditionalAssets>
72+
<Trailers>
73+
</Trailers>
74+
<AppFeatures>
75+
<!-- Valid length: 200 character limit, up to 20 elements -->
76+
<AppFeature _locID="App_feature1">
77+
<!-- _locComment_text="{MaxLength=200} App Feature 1" -->Author DSC Resources to manage your systems in any language.</AppFeature>
78+
<AppFeature _locID="App_feature2">
79+
<!-- _locComment_text="{MaxLength=200} App Feature 2" -->Invoke individual resources.</AppFeature>
80+
<AppFeature _locID="App_feature3">
81+
<!-- _locComment_text="{MaxLength=200} App Feature 3" -->Create configuration documents that define the desired state of a system.</AppFeature>
82+
<AppFeature _locID="App_feature4">
83+
<!-- _locComment_text="{MaxLength=200} App Feature 4" -->Export current state of a system as a configuration document to be applied to other systems.</AppFeature>
84+
<AppFeature _locID="App_feature5">
85+
<!-- _locComment_text="{MaxLength=200} App Feature 5" -->Works as an MCP Server to enable agents to author configurations and use DSC resources on the system.</AppFeature>
86+
<AppFeature _locID="App_feature6">
87+
<!-- _locComment_text="{MaxLength=200} App Feature 6" -->
88+
</AppFeature>
89+
<AppFeature _locID="App_feature7">
90+
<!-- _locComment_text="{MaxLength=200} App Feature 7" -->
91+
</AppFeature>
92+
<AppFeature _locID="App_feature8">
93+
<!-- _locComment_text="{MaxLength=200} App Feature 8" -->
94+
</AppFeature>
95+
<AppFeature _locID="App_feature9">
96+
<!-- _locComment_text="{MaxLength=200} App Feature 9" -->
97+
</AppFeature>
98+
<AppFeature _locID="App_feature10">
99+
<!-- _locComment_text="{MaxLength=200} App Feature 10" -->
100+
</AppFeature>
101+
<AppFeature _locID="App_feature11">
102+
<!-- _locComment_text="{MaxLength=200} App Feature 11" -->
103+
</AppFeature>
104+
<AppFeature _locID="App_feature12">
105+
<!-- _locComment_text="{MaxLength=200} App Feature 12" -->
106+
</AppFeature>
107+
<AppFeature _locID="App_feature13">
108+
<!-- _locComment_text="{MaxLength=200} App Feature 13" -->
109+
</AppFeature>
110+
<AppFeature _locID="App_feature14">
111+
<!-- _locComment_text="{MaxLength=200} App Feature 14" -->
112+
</AppFeature>
113+
<AppFeature _locID="App_feature15">
114+
<!-- _locComment_text="{MaxLength=200} App Feature 15" -->
115+
</AppFeature>
116+
<AppFeature _locID="App_feature16">
117+
<!-- _locComment_text="{MaxLength=200} App Feature 16" -->
118+
</AppFeature>
119+
<AppFeature _locID="App_feature17">
120+
<!-- _locComment_text="{MaxLength=200} App Feature 17" -->
121+
</AppFeature>
122+
<AppFeature _locID="App_feature18">
123+
<!-- _locComment_text="{MaxLength=200} App Feature 18" -->
124+
</AppFeature>
125+
<AppFeature _locID="App_feature19">
126+
<!-- _locComment_text="{MaxLength=200} App Feature 19" -->
127+
</AppFeature>
128+
<AppFeature _locID="App_feature20">
129+
<!-- _locComment_text="{MaxLength=200} App Feature 20" -->
130+
</AppFeature>
131+
</AppFeatures>
132+
<RecommendedHardware>
133+
<!-- Valid length: 200 character limit, up to 11 elements -->
134+
<Recommendation _locID="App_RecommendedHW1">
135+
<!-- _locComment_text="{MaxLength=200} App Recommended Hardware 1" -->
136+
</Recommendation>
137+
</RecommendedHardware>
138+
<MinimumHardware>
139+
<!-- Valid length: 200 character limit, up to 11 elements -->
140+
</MinimumHardware>
141+
<CopyrightAndTrademark _locID="App_CopyrightandTrademark">
142+
<!-- _locComment_text="{MaxLength=200} Copyright and Trademark" -->Microsoft Corporation</CopyrightAndTrademark>
143+
<AdditionalLicenseTerms _locID="App_AdditionalLicenseTerms">
144+
<!-- _locComment_text="{MaxLength=10000} Additional License Terms" -->
145+
</AdditionalLicenseTerms>
146+
<WebsiteURL _locID="App_WebsiteURL">
147+
<!-- _locComment_text="{MaxLength=2048} WebsiteURL" -->https://github.com/PowerShell/DSC</WebsiteURL>
148+
<SupportContactInfo _locID="App_SupportContactInfo">
149+
<!-- _locComment_text="{MaxLength=2048} Support Contact Info" -->https://github.com/PowerShell/DSC/issues</SupportContactInfo>
150+
<PrivacyPolicyURL _locID="App_PrivacyURL">
151+
<!-- _locComment_text="{MaxLength=2048} Privacy Policy URL" -->https://go.microsoft.com/fwlink/?LinkID=521839</PrivacyPolicyURL>
152+
</ProductDescription>

‎.pipelines/Store/SBConfig.json‎

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"helpUri": "https:\\\\aka.ms\\StoreBroker_Config",
3+
"schemaVersion": 2,
4+
"packageParameters": {
5+
"PDPRootPath": "",
6+
"Release": "",
7+
"PDPInclude": [
8+
"PDP.xml"
9+
],
10+
"PDPExclude": [],
11+
"LanguageExclude": [
12+
"default",
13+
"qps-ploc",
14+
"qps-ploca",
15+
"qps-plocm"
16+
],
17+
"MediaRootPath": "",
18+
"MediaFallbackLanguage": "en-US",
19+
"PackagePath": [],
20+
"OutPath": "",
21+
"OutName": "",
22+
"DisableAutoPackageNameFormatting": false
23+
},
24+
"appSubmission": {
25+
"productId": "$ProductID$",
26+
"targetPublishMode": "Immediate",
27+
"targetPublishDate": null,
28+
"visibility": "NotSet",
29+
"pricing": {
30+
"priceId": "NotAvailable",
31+
"trialPeriod": "NoFreeTrial",
32+
"marketSpecificPricings": {},
33+
"sales": []
34+
},
35+
"allowTargetFutureDeviceFamilies": {
36+
"Xbox": false,
37+
"Team": false,
38+
"Holographic": false,
39+
"Desktop": false,
40+
"Mobile": false
41+
},
42+
"allowMicrosoftDecideAppAvailabilityToFutureDeviceFamilies": false,
43+
"enterpriseLicensing": "None",
44+
"applicationCategory": "NotSet",
45+
"hardwarePreferences": [],
46+
"hasExternalInAppProducts": false,
47+
"meetAccessibilityGuidelines": false,
48+
"canInstallOnRemovableMedia": false,
49+
"automaticBackupEnabled": false,
50+
"isGameDvrEnabled": false,
51+
"gamingOptions": [
52+
{
53+
"genres": [],
54+
"isLocalMultiplayer": false,
55+
"isLocalCooperative": false,
56+
"isOnlineMultiplayer": false,
57+
"isOnlineCooperative": false,
58+
"localMultiplayerMinPlayers": 0,
59+
"localMultiplayerMaxPlayers": 0,
60+
"localCooperativeMinPlayers": 0,
61+
"localCooperativeMaxPlayers": 0,
62+
"isBroadcastingPrivilegeGranted": false,
63+
"isCrossPlayEnabled": false,
64+
"kinectDataForExternal": "Disabled"
65+
}
66+
],
67+
"notesForCertification": ""
68+
}
69+
}

‎.vscode/schemas/definitions.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$defs": {
44
"BuildDataFile": {
55
"title": "Build Data",
6-
"markdownDescription": "Defines metadata required for building, testing, and packaging DSC and all related projects with the `build.new.ps1` build script.",
6+
"markdownDescription": "Defines metadata required for building, testing, and packaging DSC and all related projects with the `build.ps1` build script.",
77
"type": "object",
88
"required": ["PackageFiles", "Projects"],
99
"unevaluatedProperties": false,

‎.vscode/tasks.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"label": "DSC: Build",
88
"detail": "Compiles the Rust crates and copies all build artifacts into the `bin` folder.",
99
"type": "shell",
10-
"command": "${workspaceFolder}/build.new.ps1",
10+
"command": "${workspaceFolder}/build.ps1",
1111
"args": [
1212
"-Clippy:${input:Clippy}",
1313
"-Verbose",
@@ -22,7 +22,7 @@
2222
"label": "DSC: Test (All)",
2323
"detail": "Tests every project with optional skipping of building the projects, Clippy linting, Rust tests, and Pester tests.",
2424
"type": "shell",
25-
"command": "${workspaceFolder}/build.new.ps1",
25+
"command": "${workspaceFolder}/build.ps1",
2626
"args": [
2727
"-SkipBuild:${input:SkipBuild}",
2828
"-Test",
@@ -40,7 +40,7 @@
4040
"label": "DSC: Test Rust",
4141
"detail": "Tests the Rust projects with optional skipping of building the projects and Clippy linting.",
4242
"type": "shell",
43-
"command": "${workspaceFolder}/build.new.ps1",
43+
"command": "${workspaceFolder}/build.ps1",
4444
"args": [
4545
"-SkipBuild:${input:SkipBuild}",
4646
"-Test",

0 commit comments

Comments
 (0)