-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
best practices devops: add template for common use in pipelines (#814)
* bp devops add template for use in all pipelines to abstract common code * add displayname for template * no displayname for template
- Loading branch information
1 parent
e0f8b8c
commit beab2f7
Showing
2 changed files
with
27 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. | ||
# file: env-setup.yml | ||
# | ||
|
||
steps: | ||
|
||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '3.6' | ||
architecture: 'x64' | ||
displayName: 'Use Python 3.6' | ||
|
||
- bash: | | ||
echo "##vso[task.prependpath]/data/anaconda/bin" | ||
displayName: Add Conda to PATH | ||
|
||
- script: | ||
pip install azureml-sdk && | ||
pip install azure-cli && | ||
pip install --upgrade azureml-sdk[cli] | ||
displayName: 'install azureml-sdk' | ||
|
||
|
||
|