Skip to content

Commit

Permalink
Enable switching installation mode from pipeline web UI
Browse files Browse the repository at this point in the history
  • Loading branch information
guyer committed Aug 3, 2024
1 parent e0902f0 commit 63c2d73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .azure/templates/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ steps:
conda-lock install --name myEnvironment \
environments/locks/conda-${{ parameters.solver }}-lock.yml
displayName: Create Anaconda environment from lockfile
condition: not(eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build'))
condition: and(ne(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build'),eq(variables['CONDA_ENVIRONMENT_NOT_LOCK'],''))
# Daily midnight build uses environment.yml files to catch regressions
# due to updates in dependencies
- bash: |
conda env create --name myEnvironment \
--file environments/${{ parameters.solver }}-environment.yml
displayName: Create Anaconda environment from environments
condition: eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build')
condition: or(eq(variables['Build.CronSchedule.DisplayName'], 'Daily midnight build'), ne(variables['CONDA_ENVIRONMENT_NOT_LOCK'],''))
- bash: |
if [[ "${{ parameters.conda_packages }}" != "" ]]; then
Expand Down

0 comments on commit 63c2d73

Please sign in to comment.