Skip to content

Commit

Permalink
Updated pipelines for Azure DevOps Extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
lfraile committed May 16, 2020
1 parent 81c89ab commit e47818f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 25 deletions.
32 changes: 16 additions & 16 deletions extensions/pipelines/azure-devops-extension-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,8 @@ variables:
extensionid: esquio-extensions
packagefile: '$(Build.ArtifactStagingDirectory)/Esquio-$(Extension.Version).vsix'


# trigger:
# branches:
# include:
# - master
# paths:
# include:
# - extensions/*
trigger: none
pr: none

steps:
- task: TfxInstaller@1
Expand Down Expand Up @@ -51,6 +44,21 @@ steps:
pathToExtension: 'extensions/azure-devops/set-toggle-parameter/set-toggle-parameterV2'
taskName: 'set toggle parameter'

- template: templates/azure-task-build-template.yml
parameters:
pathToExtension: 'extensions/azure-devops/rollback-feature/rollback-featureV3'
taskName: rollback

- template: templates/azure-task-build-template.yml
parameters:
pathToExtension: 'extensions/azure-devops/rollout-feature/rollout-featureV3'
taskName: rollout

- template: templates/azure-task-build-template.yml
parameters:
pathToExtension: 'extensions/azure-devops/set-toggle-parameter/set-toggle-parameterV3'
taskName: 'set toggle parameter'

- task: ExtensionVersion@1
inputs:
connectTo: 'VsTeam'
Expand All @@ -75,11 +83,3 @@ steps:
vsixFile: '$(packagefile)'
updateTasksVersion: false
extensionVisibility: 'public'

# - task: 'b86cdd2a-0579-4d40-b28f-18197ffaf520@1'
# inputs:
# connectTo: 'VsTeam'
# connectedServiceName: '$(marketplaceConnection)'
# method: 'id'
# publisherId: '$(publisher)'
# extensionId: '$(extensionid)'
25 changes: 16 additions & 9 deletions extensions/pipelines/azure-devops-extension-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,21 @@ steps:
pathToExtension: 'extensions/azure-devops/set-toggle-parameter/set-toggle-parameterV2'
taskName: 'set toggle parameter'

- template: templates/azure-task-build-template.yml
parameters:
pathToExtension: 'extensions/azure-devops/rollback-feature/rollback-featureV3'
taskName: rollback

- template: templates/azure-task-build-template.yml
parameters:
pathToExtension: 'extensions/azure-devops/rollout-feature/rollout-featureV3'
taskName: rollout

- template: templates/azure-task-build-template.yml
parameters:
pathToExtension: 'extensions/azure-devops/set-toggle-parameter/set-toggle-parameterV3'
taskName: 'set toggle parameter'

- task: ExtensionVersion@1
inputs:
connectTo: 'VsTeam'
Expand All @@ -68,12 +83,4 @@ steps:
fileType: 'vsix'
vsixFile: '$(packagefile)'
updateTasksVersion: false
extensionVisibility: 'private'

# - task: 'b86cdd2a-0579-4d40-b28f-18197ffaf520@1'
# inputs:
# connectTo: 'VsTeam'
# connectedServiceName: '$(marketplaceConnection)'
# method: 'id'
# publisherId: '$(publisher)'
# extensionId: '$(extensionid)'
extensionVisibility: 'private'

0 comments on commit e47818f

Please sign in to comment.