Skip to content

Commit 3666cbe

Browse files
authored
Merge branch 'main' into wmi-set-operation
2 parents c89b5de + a711158 commit 3666cbe

Some content is hidden

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

87 files changed

+4630
-1768
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Rust
22

33
on:
44
push:
5-
branches: [ "main", "release/v3.0.0", "release/v3.1" ]
5+
branches: [ "main", "release/*" ]
66
pull_request:
7-
branches: [ "main", "release/v3.0.0", "release/v3.1" ]
7+
branches: [ "main", "release/*" ]
88
paths-ignore:
99
- "docs/**"
1010
- "*.md"

.pipelines/DSC-Official.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ extends:
133133
variables:
134134
ob_outputDirectory: '$(Build.ArtifactStagingDirectory)'
135135
ob_sdl_tsa_configFile: '$(Build.SourcesDirectory)\DSC\.config\tsaoptions.json'
136+
ob_symbolsPublishing_enabled: true
137+
ob_symbolsPublishing_symbolsFolder: '$(Build.SourcesDirectory)\DSC\bin'
138+
ob_symbolsPublishing_searchPattern: '**/*.pdb'
139+
ob_symbolsPublishing_indexSources: true
136140
ob_sdl_sbom_enabled: false
137141
ob_signing_setup_enabled: false
138142
ob_sdl_codeql_compiled_enabled: false
@@ -194,6 +198,9 @@ extends:
194198
PackageVersion: $[ dependencies.SetPackageVersion.outputs['Package.Version'] ]
195199
AzToken: $[ dependencies.SetPackageVersion.outputs['AzToken'] ]
196200
ob_outputDirectory: '$(Build.ArtifactStagingDirectory)'
201+
ob_linuxSymbolsPublishing_enabled: true
202+
ob_linuxSymbolsPublishing_symbolsFolder: '$(Build.SourcesDirectory)/DSC/bin'
203+
ob_linuxSymbolsPublishing_searchPattern: '**/*.dbg'
197204
displayName: Linux-x64-musl
198205
pool:
199206
type: linux
@@ -225,6 +232,9 @@ extends:
225232
PackageVersion: $[ dependencies.SetPackageVersion.outputs['Package.Version'] ]
226233
AzToken: $[ dependencies.SetPackageVersion.outputs['AzToken'] ]
227234
ob_outputDirectory: '$(Build.ArtifactStagingDirectory)'
235+
ob_linuxSymbolsPublishing_enabled: true
236+
ob_linuxSymbolsPublishing_symbolsFolder: '$(Build.SourcesDirectory)/DSC/bin'
237+
ob_linuxSymbolsPublishing_searchPattern: '**/*.dbg'
228238
displayName: Linux-ARM64-musl
229239
pool:
230240
type: linux

build.ps1

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,13 @@ $filesForWindowsPackage = @(
6060
'RunCommandOnSet.dsc.resource.json',
6161
'RunCommandOnSet.exe',
6262
'sshdconfig.exe',
63-
'sshdconfig.dsc.resource.json',
63+
'sshd-windows.dsc.resource.json',
64+
'sshd_config.dsc.resource.json',
6465
'windowspowershell.dsc.resource.json',
6566
'wmi.dsc.resource.json',
6667
'wmi.resource.ps1',
68+
'wmiAdapter.psd1',
69+
'wmiAdapter.psm1',
6770
'windows_baseline.dsc.yaml',
6871
'windows_inventory.dsc.yaml'
6972
)
@@ -87,7 +90,7 @@ $filesForLinuxPackage = @(
8790
'RunCommandOnSet.dsc.resource.json',
8891
'runcommandonset',
8992
'sshdconfig',
90-
'sshdconfig.dsc.resource.json'
93+
'sshd_config.dsc.resource.json'
9194
)
9295

9396
$filesForMacPackage = @(
@@ -109,7 +112,7 @@ $filesForMacPackage = @(
109112
'RunCommandOnSet.dsc.resource.json',
110113
'runcommandonset',
111114
'sshdconfig',
112-
'sshdconfig.dsc.resource.json'
115+
'sshd_config.dsc.resource.json'
113116
)
114117

115118
# the list of files other than the binaries which need to be executable
@@ -173,7 +176,7 @@ if ($null -ne $packageType) {
173176

174177
& $rustup default stable
175178

176-
## Test if Node is installed
179+
## Test if Node is installed
177180
## Skipping upgrade as users may have a specific version they want to use
178181
if (!(Get-Command 'node' -ErrorAction Ignore)) {
179182
Write-Verbose -Verbose "Node.js not found, installing..."

0 commit comments

Comments
 (0)