Skip to content

Commit 37943cc

Browse files
Merge pull request #212452 from KimForss/main
Pipeline updates
2 parents b5d219c + 3e090b0 commit 37943cc

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

articles/virtual-machines/workloads/sap/automation-configure-devops.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ You can finalize the Azure DevOps configuration by running the following scripts
5252
$Env:DevSubscriptionID="<YourDevSubscriptionID>"
5353
$Env:DevSubscriptionName="<YourDevSubscriptionName>"
5454
55-
56-
5755
```
5856
> [!NOTE]
5957
> The ControlPlaneSubscriptionID and DevSubscriptionID can use the same subscriptionID.
@@ -69,6 +67,8 @@ Once the variables are defined run the following script to create the service pr
6967
Invoke-WebRequest -Uri https://raw.githubusercontent.com/Azure/sap-automation/main/deploy/scripts/update_devops_credentials.ps1 -OutFile .\configureDevOps.ps1 ; .\configureDevOps.ps1
7068
7169
```
70+
> [!NOTE]
71+
> In PowerShell navigate to a folder where you have write permissions before running the Invoke-WebRequest command.
7272
7373
### Create a sample Control Plane configuration
7474

@@ -233,18 +233,6 @@ Create the SAP configuration and software installation pipeline by choosing _New
233233

234234
Save the Pipeline, to see the Save option select the chevron next to the Run button. Navigate to the Pipelines section and select the pipeline. Rename the pipeline to 'SAP configuration and software installation' by choosing 'Rename/Move' from the three-dot menu on the right.
235235

236-
## Configuration Web App pipeline
237-
238-
Create the Configuration Web App pipeline by choosing _New Pipeline_ from the Pipelines section, select 'Azure Repos Git' as the source for your code. Configure your Pipeline to use an existing Azure Pipelines YAML File. Specify the pipeline with the following settings:
239-
240-
| Setting | Value |
241-
| ------- | -------------------------------------------------- |
242-
| Branch | main |
243-
| Path | `deploy/pipelines/21-deploy-web-app.yaml` |
244-
| Name | Configuration Web App |
245-
246-
Save the Pipeline, to see the Save option select the chevron next to the Run button. Navigate to the Pipelines section and select the pipeline. Rename the pipeline to 'Configuration Web App' by choosing 'Rename/Move' from the three-dot menu on the right.
247-
248236
## Deployment removal pipeline
249237

250238
Create the deployment removal pipeline by choosing _New Pipeline_ from the Pipelines section, select 'Azure Repos Git' as the source for your code. Configure your Pipeline to use an existing Azure Pipelines YAML File. Specify the pipeline with the following settings:
@@ -378,8 +366,13 @@ Create a new variable group 'SDAF-MGMT' for the control plane environment using
378366
| FENCING_SPN_TENANT | 'Service principal tenant ID' for the fencing agent. | Required for highly available deployments using a service principal for fencing agent. |
379367
| PAT | `<Personal Access Token>` | Use the Personal Token defined in the previous step |
380368
| POOL | `<Agent Pool name>` | The Agent pool to use for this environment |
369+
| | | |
381370
| APP_REGISTRATION_APP_ID | 'App registration application ID' | Required if deploying the web app |
382371
| WEB_APP_CLIENT_SECRET | 'App registration password' | Required if deploying the web app |
372+
| | | |
373+
| SDAF_GENERAL_GROUP_ID | The group ID for the SDAF-General group | The ID can be retrieved from the URL parameter 'variableGroupId' when accessing the variable group using a browser. For example: 'variableGroupId=8 |
374+
| WORKLOADZONE_PIPELINE_ID | The ID for the 'SAP workload zone deployment' pipeline | The ID can be retrieved from the URL parameter 'definitionId' from the pipeline page in Azure DevOps. For example: 'definitionId=31. |
375+
| SYSTEM_PIPELINE_ID | The ID for the 'SAP system deployment (infrastructure)' pipeline | The ID can be retrieved from the URL parameter 'definitionId' from the pipeline page in Azure DevOps. For example: 'definitionId=32. |
383376

384377
Save the variables.
385378

@@ -388,7 +381,8 @@ Save the variables.
388381
>
389382
> When using the web app, ensure that the Build Service has at least Contribute permissions.
390383
>
391-
> You can use the clone functionality to create the next environment variable group.
384+
> You can use the clone functionality to create the next environment variable group. APP_REGISTRATION_APP_ID, WEB_APP_CLIENT_SECRET, SDAF_GENERAL_GROUP_ID, WORKLOADZONE_PIPELINE_ID and SYSTEM_PIPELINE_ID are only needed for the SDAF-MGMT group.
385+
392386

393387

394388
## Create a service connection

0 commit comments

Comments
 (0)