Skip to content

Commit 7b3fcdc

Browse files
Merge pull request #277518 from v-jaswel/aca/v-jaswel_fix_include_tab_discrepancy_20240606
[ACA] Fix discrepancy with tabs in include file.
2 parents 69127af + 7e6b26c commit 7b3fcdc

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

articles/container-apps/tutorial-ci-cd-runners-jobs.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ ENVIRONMENT="env-jobs-sample"
8484
JOB_NAME="github-actions-runner-job"
8585
```
8686

87-
# [PowerShell](#tab/powershell)
87+
# [Azure PowerShell](#tab/azure-powershell)
8888
```powershell
8989
$RESOURCE_GROUP="jobs-sample"
9090
$LOCATION="northcentralus"
@@ -107,7 +107,7 @@ JOB_NAME="azure-pipelines-agent-job"
107107
PLACEHOLDER_JOB_NAME="placeholder-agent-job"
108108
```
109109

110-
# [PowerShell](#tab/powershell)
110+
# [Azure PowerShell](#tab/azure-powershell)
111111
```powershell
112112
$RESOURCE_GROUP="jobs-sample"
113113
$LOCATION="northcentralus"
@@ -136,7 +136,7 @@ The Azure Container Apps environment acts as a secure boundary around container
136136
--location "$LOCATION"
137137
```
138138

139-
# [PowerShell](#tab/powershell)
139+
# [Azure PowerShell](#tab/azure-powershell)
140140
```powershell
141141
az group create `
142142
--name "$RESOURCE_GROUP" `
@@ -155,7 +155,7 @@ The Azure Container Apps environment acts as a secure boundary around container
155155
--location "$LOCATION"
156156
```
157157

158-
# [PowerShell](#tab/powershell)
158+
# [Azure PowerShell](#tab/azure-powershell)
159159
```powershell
160160
az containerapp env create `
161161
--name "$ENVIRONMENT" `
@@ -235,7 +235,7 @@ To run a self-hosted runner, you need to create a personal access token (PAT) in
235235
REPO_NAME="<REPO_NAME>"
236236
```
237237
238-
# [PowerShell](#tab/powershell)
238+
# [Azure PowerShell](#tab/azure-powershell)
239239
```powershell
240240
$GITHUB_PAT="<GITHUB_PAT>"
241241
$REPO_OWNER="<REPO_OWNER>"
@@ -267,7 +267,7 @@ To create a self-hosted runner, you need to build a container image that execute
267267
CONTAINER_REGISTRY_NAME="<CONTAINER_REGISTRY_NAME>"
268268
```
269269

270-
# [PowerShell](#tab/powershell)
270+
# [Azure PowerShell](#tab/azure-powershell)
271271
```powershell
272272
$CONTAINER_IMAGE_NAME="github-actions-runner:1.0"
273273
$CONTAINER_REGISTRY_NAME="<CONTAINER_REGISTRY_NAME>"
@@ -289,7 +289,7 @@ To create a self-hosted runner, you need to build a container image that execute
289289
--admin-enabled true
290290
```
291291

292-
# [PowerShell](#tab/powershell)
292+
# [Azure PowerShell](#tab/azure-powershell)
293293
```powershell
294294
az acr create `
295295
--name "$CONTAINER_REGISTRY_NAME" `
@@ -312,7 +312,7 @@ To create a self-hosted runner, you need to build a container image that execute
312312
"https://github.com/Azure-Samples/container-apps-ci-cd-runner-tutorial.git"
313313
```
314314
315-
# [PowerShell](#tab/powershell)
315+
# [Azure PowerShell](#tab/azure-powershell)
316316
```powershell
317317
az acr build `
318318
--registry "$CONTAINER_REGISTRY_NAME" `
@@ -354,7 +354,7 @@ You can now create a job that uses to use the container image. In this section,
354354
--registry-server "$CONTAINER_REGISTRY_NAME.azurecr.io"
355355
```
356356
357-
# [PowerShell](#tab/powershell)
357+
# [Azure PowerShell](#tab/azure-powershell)
358358
```powershell
359359
az containerapp job create -n "$JOB_NAME" -g "$RESOURCE_GROUP" --environment "$ENVIRONMENT" `
360360
--trigger-type Event `
@@ -439,7 +439,7 @@ To verify the job was configured correctly, you modify the workflow to use a sel
439439
--query '[].{Status: properties.status, Name: name, StartTime: properties.startTime}'
440440
```
441441
442-
# [PowerShell](#tab/powershell)
442+
# [Azure PowerShell](#tab/azure-powershell)
443443
```powershell
444444
az containerapp job execution list `
445445
--name "$JOB_NAME" `
@@ -535,7 +535,7 @@ To run a self-hosted runner, you need to create a personal access token (PAT) in
535535
AZP_POOL="container-apps"
536536
```
537537
538-
# [PowerShell](#tab/powershell)
538+
# [Azure PowerShell](#tab/azure-powershell)
539539
```powershell
540540
$AZP_TOKEN="<AZP_TOKEN>"
541541
$ORGANIZATION_URL="<ORGANIZATION_URL>"
@@ -566,7 +566,7 @@ To create a self-hosted agent, you need to build a container image that runs the
566566
CONTAINER_REGISTRY_NAME="<CONTAINER_REGISTRY_NAME>"
567567
```
568568
569-
# [PowerShell](#tab/powershell)
569+
# [Azure PowerShell](#tab/azure-powershell)
570570
```powershell
571571
$CONTAINER_IMAGE_NAME="azure-pipelines-agent:1.0"
572572
$CONTAINER_REGISTRY_NAME="<CONTAINER_REGISTRY_NAME>"
@@ -590,7 +590,7 @@ To create a self-hosted agent, you need to build a container image that runs the
590590
--admin-enabled true
591591
```
592592
593-
# [PowerShell](#tab/powershell)
593+
# [Azure PowerShell](#tab/azure-powershell)
594594
```powershell
595595
az acr create `
596596
--name "$CONTAINER_REGISTRY_NAME" `
@@ -613,7 +613,7 @@ To create a self-hosted agent, you need to build a container image that runs the
613613
"https://github.com/Azure-Samples/container-apps-ci-cd-runner-tutorial.git"
614614
```
615615
616-
# [PowerShell](#tab/powershell)
616+
# [Azure PowerShell](#tab/azure-powershell)
617617
```powershell
618618
az acr build `
619619
--registry "$CONTAINER_REGISTRY_NAME" `
@@ -650,7 +650,7 @@ You can run a manual job to register an offline placeholder agent. The job runs
650650
--registry-server "$CONTAINER_REGISTRY_NAME.azurecr.io"
651651
```
652652
653-
# [PowerShell](#tab/powershell)
653+
# [Azure PowerShell](#tab/azure-powershell)
654654
```powershell
655655
az containerapp job create -n "$PLACEHOLDER_JOB_NAME" -g "$RESOURCE_GROUP" --environment "$ENVIRONMENT" `
656656
--trigger-type Manual `
@@ -689,7 +689,7 @@ You can run a manual job to register an offline placeholder agent. The job runs
689689
az containerapp job start -n "$PLACEHOLDER_JOB_NAME" -g "$RESOURCE_GROUP"
690690
```
691691
692-
# [PowerShell](#tab/powershell)
692+
# [Azure PowerShell](#tab/azure-powershell)
693693
```powershell
694694
az containerapp job start -n "$PLACEHOLDER_JOB_NAME" -g "$RESOURCE_GROUP"
695695
```
@@ -707,7 +707,7 @@ You can run a manual job to register an offline placeholder agent. The job runs
707707
--query '[].{Status: properties.status, Name: name, StartTime: properties.startTime}'
708708
```
709709
710-
# [PowerShell](#tab/powershell)
710+
# [Azure PowerShell](#tab/azure-powershell)
711711
```powershell
712712
az containerapp job execution list `
713713
--name "$PLACEHOLDER_JOB_NAME" `
@@ -731,7 +731,7 @@ You can run a manual job to register an offline placeholder agent. The job runs
731731
az containerapp job delete -n "$PLACEHOLDER_JOB_NAME" -g "$RESOURCE_GROUP"
732732
```
733733
734-
# [PowerShell](#tab/powershell)
734+
# [Azure PowerShell](#tab/azure-powershell)
735735
```powershell
736736
az containerapp job delete -n "$PLACEHOLDER_JOB_NAME" -g "$RESOURCE_GROUP"
737737
```
@@ -765,7 +765,7 @@ az containerapp job create -n "$JOB_NAME" -g "$RESOURCE_GROUP" --environment "$E
765765
--registry-server "$CONTAINER_REGISTRY_NAME.azurecr.io"
766766
```
767767
768-
# [PowerShell](#tab/powershell)
768+
# [Azure PowerShell](#tab/azure-powershell)
769769
```powershell
770770
az containerapp job create -n "$JOB_NAME" -g "$RESOURCE_GROUP" --environment "$ENVIRONMENT" `
771771
--trigger-type Event `
@@ -842,7 +842,7 @@ Now that you've configured a self-hosted agent job, you can run a pipeline and v
842842
--query '[].{Status: properties.status, Name: name, StartTime: properties.startTime}'
843843
```
844844
845-
# [PowerShell](#tab/powershell)
845+
# [Azure PowerShell](#tab/azure-powershell)
846846
```powershell
847847
az containerapp job execution list `
848848
--name "$JOB_NAME" `
@@ -871,7 +871,7 @@ az group delete \
871871
--resource-group $RESOURCE_GROUP
872872
```
873873
874-
# [PowerShell](#tab/powershell)
874+
# [Azure PowerShell](#tab/azure-powershell)
875875
```powershell
876876
az group delete `
877877
--resource-group $RESOURCE_GROUP

0 commit comments

Comments
 (0)