Skip to content

Correcting the parameter list for `DeploySharedSchemas` step

Aman Verma requested to merge users/amaverma/BootstrapBugFix into master

Issue

Azure_bootstrap step fails with error

DeploySharedSchemas.py: error: unrecognized arguments: -l load_sequence.1.0.0.json

Cause

Previously the DeploySharedSchemas.py used to accept two arguments - load sequence and URL

$AZURE_DEPLOYMENTS_SCRIPTS_SUBDIR/DeploySharedSchemas.py -l load_sequence.1.0.0.json -u $AZURE_SCHEMA_URL. The script has been modified to accept these values from environment variables in this commit 28729d8e . The -l parameter is no longer supported.

Fix

Taking reactionary changes in azure related scripts. Now the script call looks like this: $AZURE_DEPLOYMENTS_SCRIPTS_SUBDIR/DeploySharedSchemas.py -u $AZURE_SCHEMA_URL

No load sequence is being passed since default value works in our case.

cc: @kibattul , @harshit283

Edited by Aman Verma

Merge request reports