зеркало из https://github.com/Azure/Avere.git
Reorder steps in pipelines YAML
This commit is contained in:
Родитель
192aa069f5
Коммит
5a9093795e
|
@ -11,6 +11,11 @@ steps:
|
|||
inputs:
|
||||
versionSpec: '3.7'
|
||||
architecture: 'x64'
|
||||
- script: |
|
||||
python3 --version
|
||||
pip install --upgrade pip setuptools wheel
|
||||
pip install -r test/requirements.txt
|
||||
displayName: 'Install Python Dependencies'
|
||||
- script: |
|
||||
az login --service-principal -u $AZURE_CLIENT_ID -p $AZURE_CLIENT_SECRET --tenant $AZURE_TENANT_ID
|
||||
displayName: 'Authenticate Service Principal'
|
||||
|
@ -18,11 +23,6 @@ steps:
|
|||
AZURE_TENANT_ID: $(SPTENANTID)
|
||||
AZURE_CLIENT_ID: $(SPAPPID)
|
||||
AZURE_CLIENT_SECRET: $(SPPW)
|
||||
- script: |
|
||||
python3 --version
|
||||
pip install --upgrade pip setuptools wheel
|
||||
pip install -r test/requirements.txt
|
||||
displayName: 'Install Python Dependencies'
|
||||
- script: |
|
||||
python3 test/avere_template_deploy.py --skip-az-ops
|
||||
displayName: 'Test Avere vFXT template-based deployment'
|
||||
|
|
|
@ -54,10 +54,10 @@ def load_params():
|
|||
"""
|
||||
Loads the parameters needed in this script (e.g., resource group name).
|
||||
|
||||
If the user specified a parameters file, load those values into DEPLOY_PARAMS.
|
||||
Otherwise, generate the parameter values and store those values for re-use.
|
||||
The generated parameter values are stored in the current working directory
|
||||
as <resource-group-name>.params.json.
|
||||
If the user specified a parameters file, load those values into
|
||||
DEPLOY_PARAMS. Otherwise, generate the parameter values and store those
|
||||
values for re-use. The generated parameter values are stored in the current
|
||||
working directory as <resource-group-name>.params.json.
|
||||
"""
|
||||
global DEPLOY_PARAMS
|
||||
if SCRIPT_ARGS.param_file: # Open user-specified params file.
|
||||
|
|
Загрузка…
Ссылка в новой задаче