From b2ab26c8d5c63f4f7bb0403e8ad72efbf6c3401c Mon Sep 17 00:00:00 2001 From: Anatoly Vildemanov Date: Mon, 26 Apr 2021 18:37:21 +0300 Subject: [PATCH] AZP: Fix snapshot, run always in merge state --- buildlib/azure-pipelines.yml | 15 ++++++++++++--- buildlib/jucx-publish.yml | 3 ++- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/buildlib/azure-pipelines.yml b/buildlib/azure-pipelines.yml index e0d833f24a3..0ede99f7122 100644 --- a/buildlib/azure-pipelines.yml +++ b/buildlib/azure-pipelines.yml @@ -8,12 +8,21 @@ trigger: resources: containers: - - container: centos7 - image: ucfconsort.azurecr.io/ucx/centos7:1 - endpoint: ucfconsort_registry + - container: centos7_cuda10_1 + image: rdmz-harbor.rdmz.labs.mlnx/ucx/centos7-mofed5.0-cuda10.1:1 stages: + - stage: Check_Commit + jobs: + - job: Check + steps: + - checkout: self + clean: true + - bash: | + echo "##vso[task.setvariable variable=Launch;isOutput=true]Yes" + name: Commit - stage: Build + dependsOn: Check_Commit jobs: - template: jucx-publish.yml parameters: diff --git a/buildlib/jucx-publish.yml b/buildlib/jucx-publish.yml index 337cb7bf740..51befc2b4ca 100644 --- a/buildlib/jucx-publish.yml +++ b/buildlib/jucx-publish.yml @@ -6,7 +6,8 @@ parameters: jobs: - job: jucx_release condition: eq(stageDependencies.Check_Commit.Check.outputs['Commit.Launch'], 'Yes') - container: ubuntu20_cuda11_2 + # we need to use lowest version for compatible + container: centos7_cuda10_1 pool: name: MLNX demands: