Skip to content

Commit ec48b78

Browse files
Azure pipelines (#1871)
* add AzDO ymls * publish tests * artifacts * os specific artifacts * goodbye AppVeyor and Travis
1 parent 1098b04 commit ec48b78

12 files changed

+258
-122
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ vscps-preview.zip
1313
npm-debug.log
1414
.vscode-test/
1515
*.DS_Store
16+
test-results.xml

.travis.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.vsts-ci/azure-pipelines-ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
trigger:
2+
- master
3+
- legacy/1.x
4+
variables:
5+
# Don't download unneeded packages
6+
- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE
7+
value: 'true'
8+
# Don't send telemetry
9+
- name: DOTNET_CLI_TELEMETRY_OPTOUT
10+
value: 'true'
11+
jobs:
12+
- job: Windows
13+
pool:
14+
vmImage: 'VS2017-Win2016'
15+
steps:
16+
- template: templates/ci-general.yml
17+
18+
- job: macOS
19+
pool:
20+
vmImage: 'macOS-10.13'
21+
steps:
22+
- template: templates/ci-general.yml
23+
24+
- job: Linux
25+
pool:
26+
vmImage: 'Ubuntu-16.04'
27+
steps:
28+
- template: templates/ci-general.yml

.vsts-ci/templates/ci-general.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
steps:
2+
# Setup
3+
- pwsh: |
4+
git clone https://github.com/PowerShell/PowerShellEditorServices.git ../PowerShellEditorServices
5+
Install-Module InvokeBuild -Scope CurrentUser -Force
6+
Install-Module PlatyPS -Scope CurrentUser -Force
7+
# Build
8+
- pwsh: Invoke-Build
9+
- task: PublishTestResults@2
10+
inputs:
11+
testRunner: JUnit
12+
testResultsFiles: '**/test-results.xml'
13+
condition: succeededOrFailed()
14+
- task: PublishBuildArtifacts@1
15+
inputs:
16+
ArtifactName: vscode-powershell
17+
PathtoPublish: '$(Build.ArtifactStagingDirectory)'

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# PowerShell Language Support for Visual Studio Code
22

33
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df06b9909e7442cebc1132bda0b8c0e3)](https://app.codacy.com/app/TylerLeonhardt/vscode-powershell?utm_source=github.com&utm_medium=referral&utm_content=PowerShell/vscode-powershell&utm_campaign=Badge_Grade_Dashboard)
4-
[![Version](https://vsmarketplacebadge.apphb.com/version/ms-vscode.PowerShell.svg)](https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell) [![Installs](https://vsmarketplacebadge.apphb.com/installs-short/ms-vscode.PowerShell.svg)](https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell) [![windows build](https://img.shields.io/appveyor/ci/PowerShell/vscode-powershell/master.svg?label=windows+build)](https://ci.appveyor.com/project/PowerShell/vscode-powershell) [![linux/macos build](https://img.shields.io/travis/PowerShell/vscode-powershell/master.svg?label=linux/macos+build)](https://travis-ci.org/PowerShell/vscode-powershell) [![Join the chat at https://gitter.im/PowerShell/vscode-powershell](https://badges.gitter.im/PowerShell/vscode-powershell.svg)](https://gitter.im/PowerShell/vscode-powershell?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
4+
[![Build Status](https://powershell.visualstudio.com/vscode-powershell/_apis/build/status/PowerShell.vscode-powershell?branchName=master)](https://powershell.visualstudio.com/vscode-powershell/_build/latest?definitionId=51&branchName=master)
5+
[![Version](https://vsmarketplacebadge.apphb.com/version/ms-vscode.PowerShell.svg)](https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell)
6+
[![Installs](https://vsmarketplacebadge.apphb.com/installs-short/ms-vscode.PowerShell.svg)](https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell)
7+
[![Join the chat at https://gitter.im/PowerShell/vscode-powershell](https://badges.gitter.im/PowerShell/vscode-powershell.svg)](https://gitter.im/PowerShell/vscode-powershell?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
58

69
This extension provides rich PowerShell language support for [Visual Studio Code](https://github.com/Microsoft/vscode).
710
Now you can write and debug PowerShell scripts using the excellent IDE-like interface

appveyor.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

build/travis.ps1

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/azure_data_studio/README_FOR_MARKETPLACE.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# PowerShell Language Support for Azure Data Studio
22

33
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df06b9909e7442cebc1132bda0b8c0e3)](https://app.codacy.com/app/TylerLeonhardt/vscode-powershell?utm_source=github.com&utm_medium=referral&utm_content=PowerShell/vscode-powershell&utm_campaign=Badge_Grade_Dashboard)
4-
[![windows build](https://img.shields.io/appveyor/ci/PowerShell/vscode-powershell/master.svg?label=windows+build)](https://ci.appveyor.com/project/PowerShell/vscode-powershell) [![linux/macos build](https://img.shields.io/travis/PowerShell/vscode-powershell/master.svg?label=linux/macos+build)](https://travis-ci.org/PowerShell/vscode-powershell) [![Join the chat at https://gitter.im/PowerShell/vscode-powershell](https://badges.gitter.im/PowerShell/vscode-powershell.svg)](https://gitter.im/PowerShell/vscode-powershell?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
4+
[![Build Status](https://powershell.visualstudio.com/vscode-powershell/_apis/build/status/PowerShell.vscode-powershell?branchName=master)](https://powershell.visualstudio.com/vscode-powershell/_build/latest?definitionId=51&branchName=master)
5+
[![Join the chat at https://gitter.im/PowerShell/vscode-powershell](https://badges.gitter.im/PowerShell/vscode-powershell.svg)](https://gitter.im/PowerShell/vscode-powershell?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
56

67
This extension provides rich PowerShell language support for [Azure Data Studio](github.com/Microsoft/azuredatastudio).
78
Now you can write and debug PowerShell scripts using the excellent IDE-like interface
@@ -113,17 +114,17 @@ Here is a sample of what that output will look like:
113114

114115
```
115116
Name Status Size Space Recovery Compat. Owner
116-
Available Model Level
117+
Available Model Level
117118
---- ------ ---- ---------- -------- ------- -----
118-
AdventureWorks2017 Normal 336.00 MB 57.01 MB Simple 140 sa
119-
master Normal 6.00 MB 368.00 KB Simple 140 sa
120-
model Normal 16.00 MB 5.53 MB Full 140 sa
121-
msdb Normal 48.44 MB 1.70 MB Simple 140 sa
122-
PBIRS Normal 144.00 MB 55.95 MB Full 140 sa
123-
PBIRSTempDB Normal 16.00 MB 4.20 MB Simple 140 sa
124-
SSISDB Normal 325.06 MB 26.21 MB Full 140 sa
125-
tempdb Normal 72.00 MB 61.25 MB Simple 140 sa
126-
WideWorldImporters Normal 3.2 GB 2.6 GB Simple 130 sa
119+
AdventureWorks2017 Normal 336.00 MB 57.01 MB Simple 140 sa
120+
master Normal 6.00 MB 368.00 KB Simple 140 sa
121+
model Normal 16.00 MB 5.53 MB Full 140 sa
122+
msdb Normal 48.44 MB 1.70 MB Simple 140 sa
123+
PBIRS Normal 144.00 MB 55.95 MB Full 140 sa
124+
PBIRSTempDB Normal 16.00 MB 4.20 MB Simple 140 sa
125+
SSISDB Normal 325.06 MB 26.21 MB Full 140 sa
126+
tempdb Normal 72.00 MB 61.25 MB Simple 140 sa
127+
WideWorldImporters Normal 3.2 GB 2.6 GB Simple 130 sa
127128
```
128129

129130
This example uses the `Get-SqlDatabase` cmdlet to retrieve a list of all databases on the ServerB instance, then presents a grid/table (using the `Out-GridView` cmdlet) to select which databases should be backed up. Once the user clicks on the "OK" button, only the highlighted databases will be backed up.

0 commit comments

Comments
 (0)