aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2020-06-17 21:31:30 -0700
committerGitHub <noreply@github.com>2020-06-17 21:31:30 -0700
commit00e0dbdcb1ed8db22b29182d6fbe170199ac7c21 (patch)
tree3c31050b696705e6babe98857a96d78d02285722 /scripts
parent7960648b4d922888e7a5c2a4c3ae9e153eab0374 (diff)
downloadvcpkg-00e0dbdcb1ed8db22b29182d6fbe170199ac7c21.tar.gz
vcpkg-00e0dbdcb1ed8db22b29182d6fbe170199ac7c21.zip
[vcpkg] Clean tombstones in every build except PR validations (#12000)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/azure-pipelines/azure-pipelines.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/azure-pipelines/azure-pipelines.yml b/scripts/azure-pipelines/azure-pipelines.yml
index 9379e06a0..f729b3ee7 100644
--- a/scripts/azure-pipelines/azure-pipelines.yml
+++ b/scripts/azure-pipelines/azure-pipelines.yml
@@ -4,7 +4,7 @@
variables:
windows-pool: 'PrWin-2020-06-04'
linux-pool: 'PrLin-2020-06-08'
- delete-tombstones-first: false
+ delete-tombstones-first: ${{ ne(variables['Build.Reason'], 'PullRequest') }}
stages:
- stage: delete_tombstones
@@ -13,7 +13,7 @@ stages:
- job: windows
displayName: 'Clean Windows Tombstones'
pool: $(windows-pool)
- condition: eq(variables['delete-tombstones-first'], 'true')
+ condition: ${{ variables['delete-tombstones-first'] }}
steps:
- task: PowerShell@2
displayName: 'Initialize Environment'
@@ -24,13 +24,13 @@ stages:
- job: linux
displayName: 'Clean Linux Tombstones'
pool: $(linux-pool)
- condition: eq(variables['delete-tombstones-first'], 'true')
+ condition: ${{ variables['delete-tombstones-first'] }}
steps:
- bash: rm -rf /archives/fail
displayName: 'Delete /archives/fail'
- job: osx
displayName: 'Clean MacOS Tombstones'
- condition: eq(variables['delete-tombstones-first'], 'true')
+ condition: ${{ variables['delete-tombstones-first'] }}
pool:
name: vcpkgAgentPool
demands: Agent.OS -equals Darwin