|
1 | 1 | ---
|
2 | 2 | title: Use Azure Pipelines to build and deploy an HPC solution
|
3 | 3 | description: Use Azure Pipelines CI/CD build and release pipelines to deploy Azure Resource Manager templates for an Azure Batch high performance computing (HPC) solution.
|
4 |
| -author: chrisreddington |
5 |
| -ms.author: chredd |
6 | 4 | ms.date: 04/12/2023
|
7 | 5 | ms.topic: how-to
|
8 | 6 | ---
|
@@ -387,21 +385,19 @@ The following example demonstrates how to deploy an infrastructure and applicati
|
387 | 385 |
|
388 | 386 | 1. Select the **Variables** tab. Create the following variables in your pipeline so you don't have to reenter the same information into multiple tasks.
|
389 | 387 |
|
390 |
| - - Replace the placeholders in **StorageContainerSasToken** and **StorageContainerUri** with the value you enter into |
391 |
| -
|
392 | 388 | |Name|Value|
|
393 | 389 | |----|-----|
|
394 | 390 | |**applicationStorageAccountName**|Name for the storage account to hold the HPC application binaries.|
|
395 | 391 | |**batchAccountApplicationName**|Name for the application in the Batch account.|
|
396 | 392 | |**batchAccountName**|Name for the Batch account.|
|
397 | 393 | |**batchAccountPoolName**|Name for the pool of virtual machines (VMs) to do the processing.|
|
398 |
| - |**batchApplicationId**|Unique ID for the Batch application, of the form: `/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Batch/batchAccounts/<batchAccountName>/applications/<batchAccountApplicationName>`. Replace the `<subscriptionId>` placeholder with your Azure subscription ID, and the other placeholders with the values you set for the other variables in this list.| |
| 394 | + |**batchApplicationId**|Unique ID for the Batch application, of the form: */subscriptions/\<subscriptionId>/resourceGroups/\<resourceGroupName>/providers/Microsoft.Batch/batchAccounts/\<batchAccountName>/applications/\<batchAccountApplicationName>*. Replace the `<subscriptionId>` placeholder with your Azure subscription ID, and the other placeholders with the values you set for the other variables in this list.| |
399 | 395 | |**batchApplicationVersion**|Semantic version of your Batch application, in this case *4.3.1*.|
|
400 | 396 | |**location**|Azure region for the resources to be deployed.|
|
401 | 397 | |**resourceGroupName**|Name for the resource group to deploy resources in.|
|
402 | 398 | |**storageAccountName**|Name for the storage account to hold the linked ARM templates.|
|
403 |
| - |**StorageContainerSasToken**|`$(<Azure File Copy output variables reference name>.StorageContainerSasToken)`. Replace the `<Azure File Copy output variables reference name` placeholder with the **Reference name** value you configure in the **Output Variables** section of the following **Azure File Copy** step. |
404 |
| - |**StorageContainerUri**|`$(<Azure File Copy output variables reference name>.StorageContainerUri)`. Replace the `<Azure File Copy output variables reference name>` placeholder with the **Reference name** value you configure in the **Output Variables** section of the following Azure File Copy step. |
| 399 | + |**StorageContainerSasToken**|`$(<referenceName>.StorageContainerSasToken)`. Replace the `<referenceName` placeholder with the **Reference name** value you configure in the **Output Variables** section of the following **Azure File Copy** step. |
| 400 | + |**StorageContainerUri**|`$(<referenceName>.StorageContainerUri)`. Replace the `<referenceName>` placeholder with the **Reference name** value you configure in the **Output Variables** section of the Azure File Copy step. |
405 | 401 |
|
406 | 402 | 
|
407 | 403 |
|
@@ -433,6 +429,8 @@ For each new task that the following steps specify:
|
433 | 429 |
|
434 | 430 | 
|
435 | 431 |
|
| 432 | +Create the tasks as follows: |
| 433 | + |
436 | 434 | 1. Select the **Download Pipeline Artifacts** task, and set the following properties:
|
437 | 435 | - **Display name**: Enter *Download ApplicationPackage to Agent*.
|
438 | 436 | - **Artifact name**: Enter *hpc-application*.
|
|
0 commit comments