You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -129,9 +133,6 @@ Write-Output "Agent Pool Name: $AgentPoolName"
129
133
- Run code directly from GitHub.
130
134
- Import and run code from repositories in your Azure DevOps project.
131
135
132
-
> [!IMPORTANT]
133
-
> Run the following steps on your local workstation. Also ensure that you have the latest Azure CLI installed by running the `az upgrade` command.
134
-
135
136
### Configure artifacts for a new workload zone
136
137
137
138
Run this procedure after the control plane project is available.
@@ -206,7 +207,7 @@ New-SDAFADOWorkloadZone `
206
207
-Verbose
207
208
```
208
209
209
-
1.In Azure DevOps, confirm that the workload zone variable group and service connection were created.
210
+
In Azure DevOps, confirm that the workload zone variable group and service connection were created.
210
211
211
212
### Create a sample control plane configuration
212
213
@@ -252,17 +253,17 @@ Only do this step if direct import is unavailable.
252
253
1. In **Repos** > **Files**, select **Clone**.
253
254
1. Clone the repository to a local folder.
254
255
255
-
For more information, see [Clone a repository](/azure/devops/repos/git/clone?view=azure-devops#clone-an-azure-repos-git-repo&preserve-view=true).
256
+
:::image type="content" source="./media/devops/automation-repo-clone.png" alt-text="Screenshot of Azure DevOps with a repository ready for cloning.":::
256
257
257
-
:::image type="content" source="./media/devops/automation-repo-clone.png" alt-text="Screenshot of Azure DevOps with a repository ready for cloning.":::
258
+
For more information, see [Clone a repository](/azure/devops/repos/git/clone?view=azure-devops#clone-an-azure-repos-git-repo&preserve-view=true).
258
259
259
260
### Manually import the repository content by using a local clone
260
261
261
262
1. Download [sap-automation-samples](https://github.com/Azure/sap-automation-samples) as a `.zip` file.
262
263
1. Extract the archive and copy the content into the root of your local clone.
263
264
1. Open the local folder in Visual Studio Code and verify that source control shows pending changes.
264
265
265
-
:::image type="content" source="./media/devops/automation-vscode-changes.png" alt-text="Screenshot of Visual Studio Code showing pending source control changes after files are copied.":::
266
+
:::image type="content" source="./media/devops/automation-vscode-changes.png" alt-text="Screenshot of Visual Studio Code showing pending source control changes after files are copied.":::
266
267
267
268
1. Commit the imported content, for example with message **Import from GitHub**.
268
269
1. Select **Sync Changes** to push changes back to Azure Repos.
@@ -289,7 +290,7 @@ To pull the code from GitHub, you need a GitHub service connection. For more inf
289
290
290
291
1. In Azure DevOps, go to **Project Settings** > **Pipelines** > **Service connections**.
291
292
292
-
:::image type="content" source="./media/devops/automation-create-service-connection.png" alt-text="Screenshot that shows how to create a service connection for GitHub in Azure DevOps.":::
293
+
:::image type="content" source="./media/devops/automation-create-service-connection.png" alt-text="Screenshot that shows how to create a service connection for GitHub in Azure DevOps.":::
293
294
294
295
1. Select **GitHub** as the service connection type.
295
296
1. In **OAuth Configuration**, select **Azure Pipelines**.
@@ -302,8 +303,7 @@ To pull the code from GitHub, you need a GitHub service connection. For more inf
302
303
303
304
The automation framework can provision a web app as part of the control plane. If you want to use the web app, create an app registration first.
304
305
305
-
1. Open Azure Cloud Shell.
306
-
1. Run the following commands for your shell environment.
306
+
Open an Azure Cloud Shell, then run the following commands for your shell environment:
307
307
308
308
# [Linux](#tab/linux)
309
309
@@ -343,7 +343,7 @@ del manifest.json
343
343
344
344
---
345
345
346
-
1.Store the app registration ID and generated client secret in a secure location, such as Azure Key Vault or Azure DevOps secret variables. Don't store credentials in plain text files, screenshots, or source control.
346
+
Store the app registration ID and generated client secret in a secure location, such as Azure Key Vault or Azure DevOps secret variables. Don't store credentials in plain text files, screenshots, or source control.
347
347
348
348
## Create Azure Pipelines
349
349
@@ -491,7 +491,7 @@ Most of the pipelines add files to the Azure Repos and therefore require pull pe
491
491
1. Open the source repository **Security** tab.
492
492
1. Grant **Contribute** permission to `Build Service`.
493
493
494
-
:::image type="content" source="./media/devops/automation-repo-permissions.png" alt-text="Screenshot of Azure DevOps repository security settings with Build Service permissions.":::
494
+
:::image type="content" source="./media/devops/automation-repo-permissions.png" alt-text="Screenshot of Azure DevOps repository security settings with Build Service permissions.":::
495
495
496
496
## Deploy the control plane
497
497
@@ -509,9 +509,9 @@ To connect to the deployer:
509
509
510
510
1. Sign in to the [Azure portal](https://portal.azure.com).
511
511
512
-
1. Go to the resource group that contains the deployer virtual machine.
512
+
1. Go to the resource group that contains the deployer virtual machine (VM).
513
513
514
-
1. Connect to the virtual machine by using Azure Bastion.
514
+
1. Connect to the VM by using Azure Bastion.
515
515
516
516
1. The default username is **azureadm**.
517
517
@@ -523,7 +523,7 @@ To connect to the deployer:
523
523
524
524
1. From the list of secrets, select the secret that ends with **-sshkey**.
525
525
526
-
1. Connect to the virtual machine.
526
+
1. Connect to the VM.
527
527
528
528
To configure the deployer, run the following script:
529
529
@@ -580,12 +580,12 @@ az ad app update --id $TF_VAR_app_registration_app_id --web-home-page-url https:
580
580
581
581
---
582
582
583
-
1.Grant **Reader** at subscription scope to the app service system-assigned managed identity:
583
+
Grant **Reader** at subscription scope to the app service system-assigned managed identity:
584
584
585
-
- Open the app service resource.
586
-
- Select **Identity**.
587
-
- On **System assigned**, select **Azure role assignments** > **Add role assignment**.
588
-
- Select scope **Subscription** and role **Reader**, then select **Save**.
585
+
- Open the app service resource.
586
+
- Select **Identity**.
587
+
- On **System assigned**, select **Azure role assignments** > **Add role assignment**.
588
+
- Select scope **Subscription** and role **Reader**, then select **Save**.
589
589
590
590
You should now be able to visit the web app and use it to deploy SAP workload zones and SAP system infrastructure.
0 commit comments