Skip to content

Commit

Permalink
v1.1.0 Release
Browse files Browse the repository at this point in the history
### Added
- PowerShell 7 compatibility
- PSScriptAnalyzer & PublishPSModule GitHub Action workflows
- VMHost network adapter LLDP reporting
- NSX TCP/IP stacks for VMkernel Adpater reporting
- Include release and issue links in `CHANGELOG.md`

### Changed
- VMkernel Adapter reporting for enabled services

### Fixed
- Display issues with highlights in `README.md`
  • Loading branch information
tpcarman committed Sep 9, 2021
1 parent 5eb0c5f commit a9f5a28
Show file tree
Hide file tree
Showing 20 changed files with 2,435 additions and 1,817 deletions.
18 changes: 11 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@ A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.

**System (please provide the following information about the system from which you are trying to generate a report):**
- OS: [e.g. Windows 10]
- Windows PowerShell version [Provide output from the following command: `$PSVersionTable.PSVersion`]
- 3rd party PowerShell module name and version [e.g. VMware PowerCLI 11.2]
- AsBuiltReport Core module version [e.g. 1.0.0]
- AsBuiltReport Report module name and version [e.g. AsBuiltReport.VMware.vSphere 1.0.0]
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
Add any other context about the problem here.
17 changes: 17 additions & 0 deletions .github/workflows/PSScriptAnalyzer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: PSScriptAnalyzer
on: [push, pull_request]
jobs:
lint:
name: Run PSScriptAnalyzer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: lint
uses: devblackops/github-action-psscriptanalyzer@master
with:
sendComment: true
failOnErrors: true
failOnWarnings: false
failOnInfos: false
repoToken: ${{ secrets.GITHUB_TOKEN }}
settingsPath: .github/workflows/PSScriptAnalyzerSettings.psd1
8 changes: 8 additions & 0 deletions .github/workflows/PSScriptAnalyzerSettings.psd1
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@{
ExcludeRules = @(
'PSUseToExportFieldsInManifest',
'PSReviewUnusedParameter',
'PSUseDeclaredVarsMoreThanAssignments',
'PSAvoidGlobalVars'
)
}
15 changes: 15 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Publish PowerShell Module

on:
release:
types: [published]

jobs:
publish-to-gallery:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Publish
shell: pwsh
run: |
Publish-Module -Path ./ -NuGetApiKey ${{ secrets.PSGALLERY_API_KEY }} -Verbose
11 changes: 8 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
{
"powershell.codeFormatting.preset": "Custom",
"powershell.codeFormatting.useCorrectCasing": true,
"powershell.codeFormatting.autoCorrectAliases": true,
"powershell.codeFormatting.whitespaceBeforeOpenBrace": true,
"powershell.codeFormatting.whitespaceBeforeOpenParen": true,
"powershell.codeFormatting.whitespaceAroundOperator": true,
"powershell.codeFormatting.whitespaceAfterSeparator": true,
"powershell.codeFormatting.addWhitespaceAroundPipe": true,
"powershell.codeFormatting.ignoreOneLineBlock": true,
"powershell.codeFormatting.newLineAfterCloseBrace": false,
"powershell.codeFormatting.newLineAfterOpenBrace": true,
"powershell.codeFormatting.openBraceOnSameLine": true,
"powershell.codeFormatting.alignPropertyValuePairs": false,
"powershell.codeFolding.enable": true,
"powershell.codeFormatting.alignPropertyValuePairs": false,
"powershell.bugReporting.project": "https://github.com/AsBuiltReport/AsBuiltReport.VMware.vSphere/",
"powershell.scriptAnalysis.enable": true,
"powershell.scriptAnalysis.settingsPath": ".github/workflows/PSScriptAnalyzerSettings.psd1",
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.rulers": [
115
]
],
"files.trimTrailingWhitespace": true
}
76 changes: 55 additions & 21 deletions AsBuiltReport.VMware.ESXi.Style.ps1

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions AsBuiltReport.VMware.ESXi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,21 @@
"Report": {
"Name": "VMware ESXi As Built Report",
"Version": "1.0",
"Status": "Released"
"Status": "Released",
"ShowCoverPageImage": true,
"ShowTableOfContents": true,
"ShowHeaderFooter": true,
"ShowTableCaptions": true
},
"Options": {
"ShowLicenseKeys": false,
"ShowVMSnapshots": true
},
"InfoLevel": {
"_comment_": "0 = Disabled, 1 = Summary, 2 = Informative, 3 = Detailed, 4 = Adv Detailed, 5 = Comprehensive",
"_comment_": "0 = Disabled, 1 = Enabled / Summary, 2 = Adv Summary, 3 = Detailed, 4 = Adv Detailed, 5 = Comprehensive",
"VMHost": 3,
"Network": 3,
"Datastore": 3,
"Storage": 3,
"VM": 3
},
"HealthCheck": {
Expand Down
Binary file modified AsBuiltReport.VMware.ESXi.psd1
Binary file not shown.
10 changes: 6 additions & 4 deletions AsBuiltReport.VMware.ESXi.psm1
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# Get public function definition files and dot source them
$Public = @(Get-ChildItem -Path $PSScriptRoot\Src\Public\*.ps1)
# Get public and private function definition files and dot source them
$Public = @(Get-ChildItem -Path $PSScriptRoot\Src\Public\*.ps1 -ErrorAction SilentlyContinue)
$Private = @(Get-ChildItem -Path $PSScriptRoot\Src\Private\*.ps1 -ErrorAction SilentlyContinue)

foreach ($Module in $Public) {
foreach ($Module in @($Public + $Private)) {
try {
. $Module.FullName
} catch {
Write-Error -Message "Failed to import function $($Module.FullName): $_"
}
}

Export-ModuleMember -Function $Public.BaseName
Export-ModuleMember -Function $Public.BaseName
Export-ModuleMember -Function $Private.BaseName
21 changes: 18 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
# AsBuiltReport.VMware.ESXi Changelog
# :arrows_counterclockwise: AsBuiltReport.VMware.ESXi Changelog

## [1.0.0] 2020-04-02
## [[1.1.0](https://github.com/AsBuiltReport/AsBuiltReport.VMware.ESXi/releases/tag/v1.1.0)] - 2021-10-09

### Added
- PowerShell 7 compatibility
- PSScriptAnalyzer & PublishPSModule GitHub Action workflows
- VMHost network adapter LLDP reporting
- NSX TCP/IP stacks for VMkernel Adpater reporting
- Include release and issue links in `CHANGELOG.md`

### Changed
- VMkernel Adapter reporting for enabled services

### Fixed
- Display issues with highlights in `README.md`

## [[1.0.0](https://github.com/AsBuiltReport/AsBuiltReport.VMware.ESXi/releases/tag/v1.1.0)] - 2020-04-02
### Added
- Initial release of VMware ESXi As Built Report

### Fixed
- Created new VMware ESXi As Built Report (Fix #1)
- Created new VMware ESXi As Built Report ([Fix #1](https://github.com/AsBuiltReport/AsBuiltReport.VMware.ESXi/issues/1))
Loading

0 comments on commit a9f5a28

Please sign in to comment.