@@ -15,8 +15,8 @@ TEST_WORKSPACE="$(pwd)/spk-env"
15
15
[ ! -z " $SP_APP_ID " ] || { echo " Provide SP_APP_ID" ; exit 1; }
16
16
[ ! -z " $SP_PASS " ] || { echo " Provide SP_PASS" ; exit 1; }
17
17
[ ! -z " $SP_TENANT " ] || { echo " Provide SP_TENANT" ; exit 1; }
18
- [ ! -z " $AZ_RESOURCE_GROUP " ] || { echo " Provide AZ_RESOURCE_GROUP" ; exit 1; }
19
- [ ! -z " $AZ_STORAGE_ACCOUNT " ] || { echo " Provide AZ_STORAGE_ACCOUNT" ; exit 1; }
18
+ # [ ! -z "$AZ_RESOURCE_GROUP" ] || { echo "Provide AZ_RESOURCE_GROUP"; exit 1;}
19
+ # [ ! -z "$AZ_STORAGE_ACCOUNT" ] || { echo "Provide AZ_STORAGE_ACCOUNT"; exit 1;}
20
20
AZDO_ORG_URL=" ${AZDO_ORG_URL:- " https://dev.azure.com/$AZDO_ORG " } "
21
21
22
22
echo " TEST_WORKSPACE: $TEST_WORKSPACE "
54
54
cd $TEST_WORKSPACE
55
55
56
56
# Introspection Storage Account Setup
57
- sat_name=fabrikamdeployments
58
- sa_partition_key=" integration-test"
57
+ # sat_name=fabrikamdeployments
58
+ # sa_partition_key="integration-test"
59
59
60
- storage_account_exists $AZ_STORAGE_ACCOUNT $AZ_RESOURCE_GROUP " fail"
61
- storage_account_cors_enabled $AZ_STORAGE_ACCOUNT " enable"
62
- storage_account_cors_enabled $AZ_STORAGE_ACCOUNT " wait"
63
- storage_account_table_exists $sat_name $AZ_STORAGE_ACCOUNT " create"
64
- storage_account_table_exists $sat_name $AZ_STORAGE_ACCOUNT " fail"
65
- sa_access_key=$( az storage account keys list -n $AZ_STORAGE_ACCOUNT -g $AZ_RESOURCE_GROUP | jq ' .[0].value' )
60
+ # storage_account_exists $AZ_STORAGE_ACCOUNT $AZ_RESOURCE_GROUP "fail"
61
+ # storage_account_cors_enabled $AZ_STORAGE_ACCOUNT "enable"
62
+ # storage_account_cors_enabled $AZ_STORAGE_ACCOUNT "wait"
63
+ # storage_account_table_exists $sat_name $AZ_STORAGE_ACCOUNT "create"
64
+ # storage_account_table_exists $sat_name $AZ_STORAGE_ACCOUNT "fail"
65
+ # sa_access_key=$(az storage account keys list -n $AZ_STORAGE_ACCOUNT -g $AZ_RESOURCE_GROUP | jq '.[0].value')
66
66
67
67
# Manifest Repo Setup ------------------
68
68
mkdir $manifests_dir
@@ -168,11 +168,11 @@ spk project create-variable-group $vg_name -r $ACR_NAME -d $hld_repo_url -u $SP_
168
168
variable_group_exists $AZDO_ORG_URL $AZDO_PROJECT $vg_name " fail"
169
169
170
170
# Add introspection variables to variable group
171
- variable_group_id=$( az pipelines variable-group list --org $AZDO_ORG_URL -p $AZDO_PROJECT | jq ' .[] | select(.name=="fabrikam-vg") | .id' )
172
- variable_group_variable_create $variable_group_id $AZDO_ORG_URL $AZDO_PROJECT " ACCOUNT_KEY" $sa_access_key " secret"
173
- variable_group_variable_create $variable_group_id $AZDO_ORG_URL $AZDO_PROJECT " ACCOUNT_NAME" $AZ_STORAGE_ACCOUNT
174
- variable_group_variable_create $variable_group_id $AZDO_ORG_URL $AZDO_PROJECT " PARTITION_KEY" $sa_partition_key
175
- variable_group_variable_create $variable_group_id $AZDO_ORG_URL $AZDO_PROJECT " TABLE_NAME" $sat_name
171
+ # variable_group_id=$(az pipelines variable-group list --org $AZDO_ORG_URL -p $AZDO_PROJECT | jq '.[] | select(.name=="fabrikam-vg") | .id')
172
+ # variable_group_variable_create $variable_group_id $AZDO_ORG_URL $AZDO_PROJECT "ACCOUNT_KEY" $sa_access_key "secret"
173
+ # variable_group_variable_create $variable_group_id $AZDO_ORG_URL $AZDO_PROJECT "ACCOUNT_NAME" $AZ_STORAGE_ACCOUNT
174
+ # variable_group_variable_create $variable_group_id $AZDO_ORG_URL $AZDO_PROJECT "PARTITION_KEY" $sa_partition_key
175
+ # variable_group_variable_create $variable_group_id $AZDO_ORG_URL $AZDO_PROJECT "TABLE_NAME" $sat_name
176
176
177
177
spk service create $FrontEnd -d $services_dir >> $TEST_WORKSPACE /log.txt
178
178
directory_to_check=" $services_full_dir /$FrontEnd "
0 commit comments