-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1530 from PowerShell/andschwa/ado
Update release and CI pipelines
- Loading branch information
Showing
8 changed files
with
68 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,25 @@ | ||
name: PR-$(System.PullRequest.PullRequestNumber)-$(Date:yyyyMMdd)$(Rev:.rr) | ||
|
||
trigger: | ||
# Batch merge builds together while a merge build is running | ||
batch: true | ||
branches: | ||
include: | ||
- master | ||
|
||
pr: | ||
branches: | ||
include: | ||
- master | ||
- legacy/1.x | ||
- master | ||
|
||
resources: | ||
repositories: | ||
- repository: ComplianceRepo | ||
type: github | ||
endpoint: ComplianceGHRepo | ||
endpoint: GitHub | ||
name: PowerShell/compliance | ||
|
||
jobs: | ||
- job: Compliance_Job | ||
- job: Compliance | ||
pool: | ||
vmImage: windows-latest | ||
steps: | ||
- checkout: self | ||
clean: true | ||
- checkout: ComplianceRepo | ||
clean: true | ||
- template: ci-compliance.yml@ComplianceRepo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
steps: | ||
- checkout: self | ||
- checkout: vscode-powershell | ||
|
||
- download: current | ||
artifact: PowerShellEditorServices | ||
displayName: Download signed pipeline artifacts | ||
|
||
- pwsh: | | ||
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted | Out-Null | ||
Install-Module -Name PowerShellForGitHub -Scope CurrentUser -Force -Confirm:$false | ||
Import-Module '$(Build.SourcesDirectory)/vscode-powershell/tools/ReleaseTools.psm1' | ||
Set-GitHubConfiguration -SuppressTelemetryReminder | ||
$password = ConvertTo-SecureString -String '$(GitHubToken)' -AsPlainText -Force | ||
Set-GitHubAuthentication -Credential (New-Object System.Management.Automation.PSCredential ("token", $password)) | ||
New-DraftRelease -RepositoryName PowerShellEditorServices -Assets '$(Pipeline.Workspace)/PowerShellEditorServices/PowerShellEditorServices.zip' | ||
$(Build.SourcesDirectory)/vscode-powershell/tools/setupReleaseTools.ps1 -Token $(GitHubToken) | ||
New-DraftRelease -RepositoryName PowerShellEditorServices -Assets $(Pipeline.Workspace)/PowerShellEditorServices/PowerShellEditorServices.zip | ||
displayName: Drafting a GitHub Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters