зеркало из
1
0
Форкнуть 0
* Fix batch pool name
This commit is contained in:
Karthick Narendran 2022-07-04 20:23:02 +01:00 коммит произвёл GitHub
Родитель a9b82df836
Коммит 675fd30b3c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 7 добавлений и 4 удалений

Просмотреть файл

@ -19,7 +19,7 @@ param batchAccountPoolMountFileUrl string
param acrName string = '' param acrName string = ''
// Parameters with default values for Data Fetch Batch Account Pool // Parameters with default values for Data Fetch Batch Account Pool
param batchAccountCpuOnlyPoolName string = 'data-cpu-pool' param batchAccountCpuOnlyPoolName string = '${environmentCode}-data-cpu-pool'
param batchAccountCpuOnlyPoolVmSize string = 'standard_d2s_v3' param batchAccountCpuOnlyPoolVmSize string = 'standard_d2s_v3'
param batchAccountCpuOnlyPoolDedicatedNodes int = 1 param batchAccountCpuOnlyPoolDedicatedNodes int = 1
param batchAccountCpuOnlyPoolImageReferencePublisher string = 'microsoft-azure-batch' param batchAccountCpuOnlyPoolImageReferencePublisher string = 'microsoft-azure-batch'

Просмотреть файл

@ -80,7 +80,7 @@ param batchAccountPoolAllocationMode string = 'BatchService'
param batchAccountPublicNetworkAccess bool = true param batchAccountPublicNetworkAccess bool = true
// Parameters with default values for Data Fetch Batch Account Pool // Parameters with default values for Data Fetch Batch Account Pool
param batchAccountCpuOnlyPoolName string = 'data-cpu-pool' param batchAccountCpuOnlyPoolName string = '${environmentCode}-data-cpu-pool'
param batchAccountCpuOnlyPoolVmSize string = 'standard_d2s_v3' param batchAccountCpuOnlyPoolVmSize string = 'standard_d2s_v3'
param batchAccountCpuOnlyPoolDedicatedNodes int = 1 param batchAccountCpuOnlyPoolDedicatedNodes int = 1
param batchAccountCpuOnlyPoolImageReferencePublisher string = 'microsoft-azure-batch' param batchAccountCpuOnlyPoolImageReferencePublisher string = 'microsoft-azure-batch'

Просмотреть файл

@ -20,6 +20,7 @@ parser.add_argument('--synapse_workspace_id', type=str, required=True, help='Id
parser.add_argument('--synapse_workspace', type=str, required=True, help='Synapse pool name') parser.add_argument('--synapse_workspace', type=str, required=True, help='Synapse pool name')
parser.add_argument('--batch_storage_account_name', type=str, required=True, help='Name of the Batch Storage Account') parser.add_argument('--batch_storage_account_name', type=str, required=True, help='Name of the Batch Storage Account')
parser.add_argument('--batch_account', type=str, required=True, help="Batch Account name") parser.add_argument('--batch_account', type=str, required=True, help="Batch Account name")
parser.add_argument('--batch_pool_name', type=str, required=True, help="Batch Pool name")
parser.add_argument('--linked_key_vault', type=str, required=True, help="Key Vault to be added as Linked Service") parser.add_argument('--linked_key_vault', type=str, required=True, help="Key Vault to be added as Linked Service")
parser.add_argument('--location', type=str, required=True, help="Batch Account Location") parser.add_argument('--location', type=str, required=True, help="Batch Account Location")
parser.add_argument('--pipeline_name', type=str, required=True, help="Name of the pipeline to package") parser.add_argument('--pipeline_name', type=str, required=True, help="Name of the pipeline to package")
@ -146,6 +147,7 @@ if __name__ == "__main__":
'__raw_data_storage_account__': args.raw_storage_account_name, '__raw_data_storage_account__': args.raw_storage_account_name,
'__batch_storage_account__': args.batch_storage_account_name, '__batch_storage_account__': args.batch_storage_account_name,
'__batch_account__': args.batch_account, '__batch_account__': args.batch_account,
'__batch_pool_name__': args.batch_pool_name,
'__linked_key_vault__': args.linked_key_vault, '__linked_key_vault__': args.linked_key_vault,
'__synapse_storage_account__': args.synapse_storage_account_name, '__synapse_storage_account__': args.synapse_storage_account_name,
'__synapse_pool_name__': args.synapse_pool_name, '__synapse_pool_name__': args.synapse_pool_name,

Просмотреть файл

@ -92,6 +92,7 @@ if [[ "$AI_MODEL_INFRA_TYPE" == "batch-account" ]]; then
--modes $MODE \ --modes $MODE \
--batch_storage_account_name $BATCH_STORAGE_ACCOUNT_NAME \ --batch_storage_account_name $BATCH_STORAGE_ACCOUNT_NAME \
--batch_account $BATCH_ACCOUNT_NAME \ --batch_account $BATCH_ACCOUNT_NAME \
--batch_pool_name ${ENV_CODE}-data-cpu-pool \
--linked_key_vault $KEY_VAULT_NAME \ --linked_key_vault $KEY_VAULT_NAME \
--synapse_pool_name $SYNAPSE_POOL \ --synapse_pool_name $SYNAPSE_POOL \
--location $BATCH_ACCOUNT_LOCATION \ --location $BATCH_ACCOUNT_LOCATION \

Просмотреть файл

@ -5,7 +5,7 @@
"type": "AzureBatch", "type": "AzureBatch",
"typeProperties": { "typeProperties": {
"batchUri": "https://__batch_account__.__location__.batch.azure.com", "batchUri": "https://__batch_account__.__location__.batch.azure.com",
"poolName": "data-cpu-pool", "poolName": "__batch_pool_name__",
"accountName": "__batch_account__", "accountName": "__batch_account__",
"linkedServiceName": { "linkedServiceName": {
"referenceName": "AOI Batch Storage", "referenceName": "AOI Batch Storage",

Просмотреть файл

@ -5,7 +5,7 @@
"type": "AzureBatch", "type": "AzureBatch",
"typeProperties": { "typeProperties": {
"batchUri": "https://__batch_account__.__location__.batch.azure.com", "batchUri": "https://__batch_account__.__location__.batch.azure.com",
"poolName": "data-cpu-pool", "poolName": "__batch_pool_name__",
"accountName": "__batch_account__", "accountName": "__batch_account__",
"linkedServiceName": { "linkedServiceName": {
"referenceName": "AOI Batch Storage", "referenceName": "AOI Batch Storage",