From 4aeb89a3edc714ee21dd52d06f4a01780b21d8e1 Mon Sep 17 00:00:00 2001 From: Jonathan Guyer Date: Sat, 3 Aug 2024 17:17:02 -0400 Subject: [PATCH] Revert "Enable switching installation mode from pipeline web UI" This reverts commit 63c2d73461e2f1ed3944b194c1182ab7b499c53c. --- .azure/templates/install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure/templates/install.yml b/.azure/templates/install.yml index 0a96320f2a..aee4234db2 100644 --- a/.azure/templates/install.yml +++ b/.azure/templates/install.yml @@ -44,7 +44,7 @@ steps: conda-lock install --name myEnvironment \ environments/locks/conda-${{ parameters.solver }}-lock.yml displayName: Create Anaconda environment from lockfile - condition: and(ne(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build'),eq(variables['CONDA_ENVIRONMENT_NOT_LOCK'],'')) + condition: not(eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build')) # Daily midnight build uses environment.yml files to catch regressions # due to updates in dependencies @@ -52,7 +52,7 @@ steps: conda env create --name myEnvironment \ --file environments/${{ parameters.solver }}-environment.yml displayName: Create Anaconda environment from environments - condition: or(eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build'), ne(variables['CONDA_ENVIRONMENT_NOT_LOCK'],'')) + condition: eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build') - bash: | if [[ "${{ parameters.conda_packages }}" != "" ]]; then