Skip to content

Commit

Permalink
Merge pull request #2747 from janegilring/hcibox_vnext
Browse files Browse the repository at this point in the history
HCIBox - added WinGet, PowerShell 7, VM autologon and Pester tests
  • Loading branch information
janegilring authored Oct 7, 2024
2 parents 9e04666 + ba784c2 commit 8e3e1c7
Show file tree
Hide file tree
Showing 18 changed files with 479 additions and 191 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ param subnetNameCloud string = 'AKS-EE-Full-Subnet'
param kubernetesDistribution string

@description('''The AKS Edge Essentials schema version to be used. This is only used to pin the AKS Edge Essentials schema version for testing.
To pin a specific version, use the format '1.13'. To use the latest schema version, use 'useLatest'.
To pin a specific version, use the format '1.14'. To use the latest schema version, use 'useLatest'.
''')
param AKSEEPinnedSchemaVersion string = '1.13'
param AKSEEPinnedSchemaVersion string = '1.14'

var templateBaseUrl = 'https://raw.githubusercontent.com/${githubAccount}/azure_arc/${githubBranch}/azure_arc_k8s_jumpstart/aks_hybrid/aks_edge_essentials_full/bicep_template/'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ param subnetNameCloud string = 'AKS-EE-Full-Subnet'
param kubernetesDistribution string

@description('''The AKS Edge Essentials schema version to be used. This is only used to pin the AKS Edge Essentials schema version for testing.
To pin a specific version, use the format '1.13'. To use the latest schema version, use 'useLatest'.
To pin a specific version, use the format '1.14'. To use the latest schema version, use 'useLatest'.
''')
param AKSEEPinnedSchemaVersion string = '1.13'
param AKSEEPinnedSchemaVersion string = '1.14'

var templateBaseUrl = 'https://raw.githubusercontent.com/${githubAccount}/azure_arc/${githubBranch}/azure_arc_k8s_jumpstart/aks_hybrid/aks_edge_essentials_full_akri/bicep_template/'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@
},
"AKSEEPinnedSchemaVersion": {
"type": "string",
"defaultValue": "1.13",
"defaultValue": "1.14",
"metadata": {
"description": "The AKS Edge Essentials schema version to be used. This is only used to pin the AKS Edge Essentials schema version for testing.To pin a specific version, use the format '1.13'. To use the latest schema version, use 'useLatest'"
"description": "The AKS Edge Essentials schema version to be used. This is only used to pin the AKS Edge Essentials schema version for testing.To pin a specific version, use the format '1.14'. To use the latest schema version, use 'useLatest'"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@
},
"AKSEEPinnedSchemaVersion": {
"type": "string",
"defaultValue": "1.13",
"defaultValue": "1.14",
"metadata": {
"description": "The AKS Edge Essentials schema version to be used. This is only used to pin the AKS Edge Essentials schema version for testing.To pin a specific version, use the format '1.13'. To use the latest schema version, use 'useLatest'"
"description": "The AKS Edge Essentials schema version to be used. This is only used to pin the AKS Edge Essentials schema version for testing.To pin a specific version, use the format '1.14'. To use the latest schema version, use 'useLatest'"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions azure_jumpstart_ag/manufacturing/bicep/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ param rdpPort string = '3389'
param industry string = 'manufacturing'

@description('''The AKS Edge Essentials schema version to be used. This is only used to pin the AKS Edge Essentials schema version for testing.
To pin a specific version, use the format '1.13'. To use the latest schema version, use 'useLatest'.
To pin a specific version, use the format '1.14'. To use the latest schema version, use 'useLatest'.
''')
param AKSEEPinnedSchemaVersion string = '1.13'
param AKSEEPinnedSchemaVersion string = '1.14'

var templateBaseUrl = 'https://raw.githubusercontent.com/${githubAccount}/azure_arc/${githubBranch}/azure_jumpstart_ag/'

Expand Down
4 changes: 2 additions & 2 deletions azure_jumpstart_ag/retail/bicep/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ param rdpPort string = '3389'
param industry string = 'retail'

@description('''The AKS Edge Essentials schema version to be used. This is only used to pin the AKS Edge Essentials schema version for testing.
To pin a specific version, use the format '1.13'. To use the latest schema version, use 'useLatest'.
To pin a specific version, use the format '1.14'. To use the latest schema version, use 'useLatest'.
''')
param AKSEEPinnedSchemaVersion string = '1.13'
param AKSEEPinnedSchemaVersion string = '1.14'

var templateBaseUrl = 'https://raw.githubusercontent.com/${githubAccount}/azure_arc/${githubBranch}/azure_jumpstart_ag/'

Expand Down
5 changes: 3 additions & 2 deletions azure_jumpstart_arcbox/artifacts/WinGet.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ $logFilePath = Join-Path -Path $Env:ArcBoxLogsDir -ChildPath ('WinGet-provisioni

Start-Transcript -Path $logFilePath -Force -ErrorAction SilentlyContinue

# Install WinGet DSC resource - also installs Microsoft.WinGet.Client as implicit dependency
Install-PSResource -Name Microsoft.WinGet.DSC -Scope AllUsers -Quiet -AcceptLicense -TrustRepository -Prerelease
# Install WinGet PowerShell modules
Install-PSResource -Name Microsoft.WinGet.Client -Scope AllUsers -Quiet -AcceptLicense -TrustRepository -Version 1.8.1911
Install-PSResource -Name Microsoft.WinGet.DSC -Scope AllUsers -Quiet -AcceptLicense -TrustRepository -Prerelease -Version 1.8.1911-alpha

# Install DSC resources required for ArcBox
Install-PSResource -Name DSCR_Font -Scope AllUsers -Quiet -AcceptLicense -TrustRepository
Expand Down
Loading

0 comments on commit 8e3e1c7

Please sign in to comment.