Skip to content

Commit f7e7eb4

Browse files
authored
Merge pull request #3 from Microsoft/buildpipeline
build: removing conda task and making use of Use Python version task
2 parents df988f2 + 286b99a commit f7e7eb4

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

azure-pipelines.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,10 @@ pool:
66
#Your build pipeline references a secret variable named ‘subscription_id’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab, and then select the option to make it secret. See https://go.microsoft.com/fwlink/?linkid=865972
77

88
steps:
9-
- task: CondaEnvironment@1
10-
displayName: 'Create Conda Environment '
9+
- task: UsePythonVersion@0
1110
inputs:
12-
createCustomEnvironment: true
13-
environmentName: azuremlsdk
14-
packageSpecs: 'python=3.6'
15-
updateConda: false
16-
createOptions: 'cython numpy'
11+
versionSpec: '3.6'
12+
architecture: 'x64'
1713

1814
- task: Bash@3
1915
displayName: 'Install Requirements'
@@ -22,7 +18,7 @@ steps:
2218
filePath: 'environment_setup/install_requirements.sh'
2319
workingDirectory: 'environment_setup'
2420

25-
- script: |
21+
- script: |
2622
az login --service-principal -u $(sp_username) -p $(sp_password) --tenant $(sp_tenantid)
2723
2824
displayName: 'Login to Azure'

environment_setup/install_requirements.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727

2828
python --version
2929
pip install azure-cli==2.0.46
30-
pip install --upgrade azureml-sdk[notebooks,automl]
30+
pip install --upgrade azureml-sdk[cli]
3131
pip install -r requirements.txt

0 commit comments

Comments
 (0)