Skip to content

Commit

Permalink
#1763 ensure build auto-cancel is turned on
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Strzebonski committed May 11, 2022
1 parent dc04fdd commit 3606967
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 6 deletions.
1 change: 1 addition & 0 deletions ci/azure/azure-clang-10-alpine-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-clang-10-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-clang-11-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-clang-12-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-clang-13-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-clang-14-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-clang-3.9-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-clang-5.0-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-clang-9-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-gcc-10-ubuntu-openmpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-gcc-11-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-gcc-12-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-gcc-5-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-gcc-6-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
11 changes: 6 additions & 5 deletions ci/azure/azure-gcc-7-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down Expand Up @@ -69,15 +70,15 @@ stages:
- job: Build
displayName: Build
pool:
vmImage: 'ubuntu-18.04'
name: 'vt-agent-pool'
timeoutInMinutes: 180
steps:
- task: Bash@3
displayName: Job setup
inputs:
targetType: 'inline'
script: |
echo setup
source /etc/docker-setup.sh
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
Expand Down Expand Up @@ -134,14 +135,14 @@ stages:
containerregistrytype: 'Container Registry'
dockerComposeFile: '**/docker-compose.yml'
action: 'Run a Docker Compose command'
dockerComposeCommand: '$(compose_command) ubuntu-cpp-clean-noinstall'
dockerComposeCommand: '$(compose_command) ubuntu-cpp-clean'
- task: DockerCompose@0
displayName: Build container
inputs:
containerregistrytype: 'Container Registry'
dockerComposeFile: '**/docker-compose.yml'
action: 'Run a Docker Compose command'
dockerComposeCommand: 'run ubuntu-cpp-clean-noinstall'
dockerComposeCommand: 'run ubuntu-cpp-clean'
env:
CODECOV_TOKEN: $(codecov_token)
- task: Bash@3
Expand Down Expand Up @@ -172,7 +173,7 @@ stages:
dockerRegistryEndpoint: 'dockerRegistryConnection1'
dockerComposeFile: '**/docker-compose.yml'
action: 'Run a Docker Compose command'
dockerComposeCommand: 'push ubuntu-cpp-clean-noinstall'
dockerComposeCommand: 'push ubuntu-cpp-clean'
- task: Bash@3
displayName: Create artifacts
continueOnError: true
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-gcc-8-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-gcc-9-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-intel-oneapi-icpx-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-nvidia-10-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
1 change: 1 addition & 0 deletions ci/azure/azure-nvidia-11-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ trigger:
- 1.0.0*

pr:
autoCancel: true
branches:
include:
- '*'
Expand Down
2 changes: 1 addition & 1 deletion scripts/workflows-azure.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ workflow_runs_on = "vmImage: 'ubuntu-18.04'"
build_root = $(ARCH)-[% linux %]-$(UBUNTU)-$(COMPILER)-cache
linux_env = " UBUNTU: [% distro %]"
vt_diagnostics = 1
pr_pattern = "pr:\\n branches:\\n include:\\n - '*'\\n"
pr_pattern = "pr:\\n autoCancel: true\\n branches:\\n include:\\n - '*'\\n"
job_setup = "echo setup"
vt_no_color = 1
vt_build_shared_libs = 0
Expand Down

0 comments on commit 3606967

Please sign in to comment.