mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
Add release logic to ymls (#8450)
* adding releasing logic via tagging * add dep for releasing * fix name * minor fixes
This commit is contained in:
@@ -195,7 +195,3 @@ steps:
|
||||
- script: 'echo "##vso[build.addbuildtag]Scheduled" '
|
||||
displayName: 'Add scheduled tag if needed'
|
||||
condition: and(in(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['Build.Reason'], 'Schedule'))
|
||||
|
||||
- script: 'echo "##vso[build.addbuildtag]AutoRelease" '
|
||||
displayName: 'Add AutoRelease tag if needed'
|
||||
condition: and(in(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['AUTO_RELEASE'], 'true'))
|
||||
|
||||
@@ -183,10 +183,6 @@ steps:
|
||||
displayName: 'Add scheduled tag if needed'
|
||||
condition: and(in(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['Build.Reason'], 'Schedule'))
|
||||
|
||||
- script: 'echo "##vso[build.addbuildtag]AutoRelease" '
|
||||
displayName: 'Add AutoRelease tag if needed copy'
|
||||
condition: and(in(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['AUTO_RELEASE'], 'true'))
|
||||
|
||||
- script: 'echo "##vso[build.addbuildtag]PerfTestCandidate" '
|
||||
displayName: 'Add PerfTestCandidate tag if needed'
|
||||
condition: and(in(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['VSCODE_QUALITY'], 'insider'))
|
||||
|
||||
@@ -22,6 +22,17 @@ jobs:
|
||||
timeoutInMinutes: 120
|
||||
cancelTimeoutInMinutes: 5
|
||||
|
||||
- job: Release
|
||||
condition: and(succeeded(), or(eq(variables['VSCODE_RELEASE'], 'true'), and(eq(variables['VSCODE_QUALITY'], 'insider'), eq(variables['Build.Reason'], 'Schedule'))))
|
||||
pool:
|
||||
vmImage: 'Ubuntu-16.04'
|
||||
dependsOn:
|
||||
- macOS
|
||||
- Linux
|
||||
- Windows
|
||||
steps:
|
||||
- template: sql-release.yml
|
||||
|
||||
trigger: none
|
||||
pr: none
|
||||
|
||||
|
||||
5
build/azure-pipelines/sql-release.yml
Normal file
5
build/azure-pipelines/sql-release.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
steps:
|
||||
- script: |
|
||||
set -e
|
||||
echo "##vso[build.addbuildtag]Release"
|
||||
displayName: Set For Release
|
||||
@@ -420,10 +420,6 @@ steps:
|
||||
displayName: 'Tag build if scheduled'
|
||||
condition: and(in(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['Build.Reason'], 'Schedule'))
|
||||
|
||||
- powershell: 'Write-Host "##vso[build.addbuildtag]AutoRelease" '
|
||||
displayName: 'Tag build for AutoRelease if needed'
|
||||
condition: and(in(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['AUTO_RELEASE'], 'true'))
|
||||
|
||||
- powershell: 'Write-Host "##vso[build.addbuildtag]PerfTestCandidate" '
|
||||
displayName: 'Tag build for PerfTestCandidate if needed'
|
||||
condition: and(in(variables['Agent.JobStatus'], 'Succeeded'), eq(variables['VSCODE_QUALITY'], 'insider'))
|
||||
|
||||
Reference in New Issue
Block a user