Skip to content

Commit

Permalink
Preparation for release as standalone fork and further maintenance (#1)
Browse files Browse the repository at this point in the history
* Change publisher id for the fork

[skip ci]

* Changed extension id, using the latest Version of package AzD Pipeline task - task

* Changed Build Badge in readme

* Update README.md

* Replaced additional AIT artifacts and urls in manifest and image files

* Delete Orschel.HyperV-8.0.0.vsix

* Update Readme.md

* Removed legacy versions from AzD pipeline, increased version to 8

* Set extension target to AzD service and AzD Server 2020+

* Update Readme.md
  • Loading branch information
norschel authored Apr 27, 2023
1 parent 59b160d commit aafe360
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 51 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,18 @@ The subsequent Azure Pipelines release process changes the extension name and ID
The task is primarily tested manually because different Hyper-V hypervisor/host os versions and the appropriate Hyper-V cmdlets are required. Especially in older versions Hyper-V commandlets are not always backward-compatible (Pre - Windows 10).

# Build and Release Status
<ToDo Status Badge>

Build [![Build Status](https://dev.azure.com/ait-public/GitHub/_apis/build/status/AITGmbH.AIT.BuildSuite.HyperV?branchName=master)](https://dev.azure.com/ait-public/GitHub/_build/latest?definitionId=1?branchName=master)
Release Management - Preview
<ToDo Status Badge>

Release Management - Preview [![RM Status - Preview Stage](https://vsrm.dev.azure.com/ait-public/_apis/public/Release/badge/3dcbbf76-dfb1-4f85-8bde-1d140be6ee91/1/1)](https://vsrm.dev.azure.com/ait-public/_apis/public/Release/badge/3dcbbf76-dfb1-4f85-8bde-1d140be6ee91/1/1)

Release Management - Public [![RM Status - Preview Stage](https://vsrm.dev.azure.com/ait-public/_apis/public/Release/badge/3dcbbf76-dfb1-4f85-8bde-1d140be6ee91/1/2)](https://vsrm.dev.azure.com/ait-public/_apis/public/Release/badge/3dcbbf76-dfb1-4f85-8bde-1d140be6ee91/1/2)
Release Management - Public
<ToDo Status Badge>

# Contribute
Contributions to the Hyper-V Azure Pipelines task are welcome. Some ways to contribute are to try things out, file issues and make pull-requests.

# Information about this forked version
This HyperV Azure DevOps pipeline task is based on AIT.BuildSuite.HyperV repository.
In the future (from April 2023), the extension will be maintained under its own publisher (Orschel instead of AIT GmbH).
AIT will discontinue further maintenance.
37 changes: 12 additions & 25 deletions build/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ trigger:
- master

variables:
majorversion: 7
majorversion: 8
minorversion: 0
PublisherID: 'AITGmbh'
PublisherID: 'Orschel'

jobs:
- job: BuildExtensionVariant
Expand All @@ -24,28 +24,16 @@ jobs:
matrix:
Preview_AzureDevOps:
ExtensionName: 'Hyper-V (Preview)'
ExtensionID: 'aithyperv-preview'
ExtensionID: 'hyperv-preview'
ExtensionCategory: 'Azure Pipelines'
VsixFileSuffix: 'azurepipelines_preview'
DropSuffix: 'Preview'
Public_AzureDevOps:
ExtensionName: 'Hyper-V'
ExtensionID: 'aithyperv'
ExtensionID: 'hyperv'
ExtensionCategory: 'Azure Pipelines'
VsixFileSuffix: 'azurepipelines'
DropSuffix: 'AzD'
Preview_LegacyTFS:
ExtensionName: 'Hyper-V (Legacy-Preview)'
ExtensionID: 'aithyperv-legacy-preview'
ExtensionCategory: 'Build and release'
VsixFileSuffix: '_build_and_release_preview'
DropSuffix: 'LegacyPreview'
Public_LegacyTFS:
ExtensionName: 'Hyper-V (Legacy)'
ExtensionID: 'aithyperv-legacy'
ExtensionCategory: 'Build and release'
VsixFileSuffix: '_build_and_release'
DropSuffix: 'Legacy'

steps:
- task: colinsalmcorner.colinsalmcorner-buildtasks.replace-tokens-task.ReplaceTokens@1
Expand Down Expand Up @@ -76,19 +64,18 @@ jobs:
# ExcludeRules: 'PSAvoidUsingWriteHost'
# Severity: 'Error,Warning'
- task: UseNode@1
displayName: 'Use Node 10.x'
inputs:
version: 10.x
#- task: UseNode@1
# displayName: 'Use Node 10.x'
# inputs:
# version: 10.x

- task: ms-devlabs.vsts-developer-tools-build-tasks.tfx-installer-build-task.TfxInstaller@3
displayName: 'Use Node CLI for Azure DevOps (tfx-cli): 0.8.x'
- task: TfxInstaller@4
inputs:
version: 0.8.x
version: 'v0.11.x'
checkLatest: true

- task: ms-devlabs.vsts-developer-tools-build-tasks.package-extension-build-task.PackageAzureDevOpsExtension@3
displayName: 'Package Extension: AIT BuildSuite HyperV for Azure DevOps / Visual Studio Marketplace based deployment'
- task: PackageAzureDevOpsExtension@4
displayName: 'Package Extension - HyperV for Azure DevOps / Visual Studio Marketplace based deployment'
inputs:
rootFolder: src/HyperVServer
outputPath: '$(build.artifactstagingdirectory)\AIT.BuildSuite.HyperV_$(VsixFileSuffix).vsix'
Expand Down
Binary file modified src/HyperVServer/HyperVServer/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 11 additions & 7 deletions src/HyperVServer/HyperVServer/task.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"id": "2317AC39-2411-4668-BE26-97430F8DBADD",
"id": "2817AC39-2411-4668-BE26-14530F8DBADD",
"name": "HyperVServer",
"friendlyName": "Hyper-V Server",
"author": "AIT Gmbh & Co. KG",
"author": "Nico Orschel",
"description": "Remote control Hyper-V VMs and perform actions like start and stop VM, create or restore a snapshot (without SCVMM)",
"helpMarkDown": "This step supports remote control of Hyper-V VMs and servers (without SCVMM). It supports starting and stopping a VM plus creating, restoring or deleting a VM snapshot.",
"category": "Deploy",
"version": {
"Major": 0,
"Major": 8,
"Minor": 0,
"Patch": 0
},
Expand Down Expand Up @@ -87,9 +87,13 @@
}
},
"targets": [
{
"id": "Microsoft.VisualStudio.Services"
}
]
{
"id": "Microsoft.VisualStudio.Services.Cloud"
},
{
"id": "Microsoft.TeamFoundation.Server",
"version": "[18.0,)"
}
]
}

5 changes: 2 additions & 3 deletions src/HyperVServer/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,15 @@ and [Hyper-V Module](https://technet.microsoft.com/itpro/powershell/windows/hype
* Changes since 7.0.36: Removed non-existent parameter for hyperv cmdlet version 1.0 (only affects old hyper-v versions -> pre Win 2016)
* Changes since 7.0.62: Added additional support for older hyperv cmdlet version 1.1 (only affects old hyper-v versions -> pre Win 2016)
* Changes since 7.0.66: Fixed loading of older cmdlet versions, added some additional debug outputs (could be enabled with system.debug = true)
* Changes since 8.0.0: Removed support for old TFS legacy versions, in the future only support for AzD pipelines (2020+) is provided, taking over the maintenance from AIT

### Known limitions
-------

# Additional Links
-------
* [AIT-Homepage](http://www.aitgmbh.de/)
* [AIT TFS-Tools](http://www.aitgmbh.de/downloads/team-foundation-server-tools.html)

# Privacy information
-------
This extension operates completely locally and does not process any personal data on external computers.
For general information on data protection, please refer to our data protection declaration.
For general information on data protection, please refer to our data protection declaration.
Binary file modified src/HyperVServer/extension-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 13 additions & 12 deletions src/HyperVServer/vss-extension.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"manifestVersion": 1,
"id": "aithyperv",
"version": "1.0.0",
"id": "HyperV",
"version": "8.0.0",
"name": "Hyper-V",
"publisher": "AITGmbh",
"public": false,
"publisher": "Orschel",
"public": true,
"targets": [{
"id": "Microsoft.VisualStudio.Services"
}],
"description": "Remote control Hyper-V VMs and perform actions like start and stop VM, create or restore a snapshot (without SCVMM)",
"repository": {
"type": "git",
"uri": "https://github.com/AITGmbH/AIT.BuildSuite.HyperV"
"uri": "https://github.com/norschel/AzurePipeline.HyperV"
},
"content": {
"details": {
Expand All @@ -23,16 +23,16 @@
},
"links": {
"getstarted": {
"uri": "https://github.com/AITGmbH/AIT.BuildSuite.HyperV/wiki"
"uri": "https://github.com/norschel/AzurePipeline.HyperV/wiki"
},
"support": {
"uri": "https://github.com/AITGmbH/AIT.BuildSuite.HyperV/issues"
"uri": "https://github.com/norschel/AzurePipeline.HyperV/issues"
},
"privacypolicy": {
"uri": "https://www.aitgmbh.de/datenschutz"
"uri": "https://github.com/norschel/AzurePipeline.HyperV"
},
"license": {
"uri": "https://github.com/AITGmbH/AIT.BuildSuite.HyperV/blob/master/LICENSE"
"uri": "https://github.com/norschel/AzurePipeline.HyperV/blob/master/LICENSE"
}
},
"screenshots": [
Expand All @@ -47,7 +47,7 @@
}
],
"categories": [
"__ExtensionCategory__"
"Azure Pipelines"
],
"tags": [
"Deploy task",
Expand All @@ -59,7 +59,8 @@
"SCVMM",
"System Center Virtual Machine Manager",
"Windows Server",
"AIT BuildSuite"
"AIT BuildSuite",
"Xpirit"
],
"icons": {
"default": "extension-icon.png"
Expand All @@ -68,7 +69,7 @@
"path": "HyperVServer"
}],
"contributions": [{
"id": "92BE4BBF-8AB1-464A-BFC0-840D2A667725",
"id": "72BE4BBF-8AB2-564A-BFC0-840D2A667825",
"type": "ms.vss-distributed-task.task",
"targets": ["ms.vss-distributed-task.tasks"],
"properties": {
Expand Down

0 comments on commit aafe360

Please sign in to comment.