@@ -84,7 +84,7 @@ ENVIRONMENT="env-jobs-sample"
84
84
JOB_NAME=" github-actions-runner-job"
85
85
```
86
86
87
- # [ PowerShell] ( #tab/powershell )
87
+ # [ Azure PowerShell] ( #tab/azure- powershell )
88
88
``` powershell
89
89
$RESOURCE_GROUP="jobs-sample"
90
90
$LOCATION="northcentralus"
@@ -107,7 +107,7 @@ JOB_NAME="azure-pipelines-agent-job"
107
107
PLACEHOLDER_JOB_NAME=" placeholder-agent-job"
108
108
```
109
109
110
- # [ PowerShell] ( #tab/powershell )
110
+ # [ Azure PowerShell] ( #tab/azure- powershell )
111
111
``` powershell
112
112
$RESOURCE_GROUP="jobs-sample"
113
113
$LOCATION="northcentralus"
@@ -136,7 +136,7 @@ The Azure Container Apps environment acts as a secure boundary around container
136
136
--location " $LOCATION "
137
137
```
138
138
139
- # [PowerShell](#tab/powershell)
139
+ # [Azure PowerShell](#tab/azure- powershell)
140
140
` ` ` powershell
141
141
az group create `
142
142
--name " $RESOURCE_GROUP " `
@@ -155,7 +155,7 @@ The Azure Container Apps environment acts as a secure boundary around container
155
155
--location " $LOCATION "
156
156
` ` `
157
157
158
- # [PowerShell](#tab/powershell)
158
+ # [Azure PowerShell](#tab/azure- powershell)
159
159
` ` ` powershell
160
160
az containerapp env create `
161
161
--name " $ENVIRONMENT " `
@@ -235,7 +235,7 @@ To run a self-hosted runner, you need to create a personal access token (PAT) in
235
235
REPO_NAME="<REPO_NAME>"
236
236
```
237
237
238
- # [PowerShell](#tab/powershell)
238
+ # [Azure PowerShell](#tab/azure- powershell)
239
239
```powershell
240
240
$GITHUB_PAT="<GITHUB_PAT>"
241
241
$REPO_OWNER="<REPO_OWNER>"
@@ -267,7 +267,7 @@ To create a self-hosted runner, you need to build a container image that execute
267
267
CONTAINER_REGISTRY_NAME=" <CONTAINER_REGISTRY_NAME>"
268
268
` ` `
269
269
270
- # [PowerShell](#tab/powershell)
270
+ # [Azure PowerShell](#tab/azure- powershell)
271
271
` ` ` powershell
272
272
$CONTAINER_IMAGE_NAME =" github-actions-runner:1.0"
273
273
$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
289
289
--admin-enabled true
290
290
` ` `
291
291
292
- # [PowerShell](#tab/powershell)
292
+ # [Azure PowerShell](#tab/azure- powershell)
293
293
` ` ` powershell
294
294
az acr create `
295
295
--name " $CONTAINER_REGISTRY_NAME " `
@@ -312,7 +312,7 @@ To create a self-hosted runner, you need to build a container image that execute
312
312
" https://github.com/Azure-Samples/container-apps-ci-cd-runner-tutorial.git"
313
313
` ` `
314
314
315
- # [PowerShell](#tab/powershell)
315
+ # [Azure PowerShell](#tab/azure- powershell)
316
316
` ` ` powershell
317
317
az acr build `
318
318
--registry " $CONTAINER_REGISTRY_NAME " `
@@ -354,7 +354,7 @@ You can now create a job that uses to use the container image. In this section,
354
354
--registry-server " $CONTAINER_REGISTRY_NAME .azurecr.io"
355
355
` ` `
356
356
357
- # [PowerShell](#tab/powershell)
357
+ # [Azure PowerShell](#tab/azure- powershell)
358
358
` ` ` powershell
359
359
az containerapp job create -n " $JOB_NAME " -g " $RESOURCE_GROUP " --environment " $ENVIRONMENT " `
360
360
--trigger-type Event `
@@ -439,7 +439,7 @@ To verify the job was configured correctly, you modify the workflow to use a sel
439
439
--query ' [].{Status: properties.status, Name: name, StartTime: properties.startTime}'
440
440
```
441
441
442
- # [PowerShell](#tab/powershell)
442
+ # [Azure PowerShell](#tab/azure- powershell)
443
443
```powershell
444
444
az containerapp job execution list `
445
445
--name "$JOB_NAME" `
@@ -535,7 +535,7 @@ To run a self-hosted runner, you need to create a personal access token (PAT) in
535
535
AZP_POOL="container-apps"
536
536
```
537
537
538
- # [PowerShell](#tab/powershell)
538
+ # [Azure PowerShell](#tab/azure- powershell)
539
539
```powershell
540
540
$AZP_TOKEN="<AZP_TOKEN>"
541
541
$ORGANIZATION_URL="<ORGANIZATION_URL>"
@@ -566,7 +566,7 @@ To create a self-hosted agent, you need to build a container image that runs the
566
566
CONTAINER_REGISTRY_NAME=" <CONTAINER_REGISTRY_NAME>"
567
567
` ` `
568
568
569
- # [PowerShell](#tab/powershell)
569
+ # [Azure PowerShell](#tab/azure- powershell)
570
570
` ` ` powershell
571
571
$CONTAINER_IMAGE_NAME =" azure-pipelines-agent:1.0"
572
572
$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
590
590
--admin-enabled true
591
591
` ` `
592
592
593
- # [PowerShell](#tab/powershell)
593
+ # [Azure PowerShell](#tab/azure- powershell)
594
594
` ` ` powershell
595
595
az acr create `
596
596
--name " $CONTAINER_REGISTRY_NAME " `
@@ -613,7 +613,7 @@ To create a self-hosted agent, you need to build a container image that runs the
613
613
" https://github.com/Azure-Samples/container-apps-ci-cd-runner-tutorial.git"
614
614
` ` `
615
615
616
- # [PowerShell](#tab/powershell)
616
+ # [Azure PowerShell](#tab/azure- powershell)
617
617
` ` ` powershell
618
618
az acr build `
619
619
--registry " $CONTAINER_REGISTRY_NAME " `
@@ -650,7 +650,7 @@ You can run a manual job to register an offline placeholder agent. The job runs
650
650
--registry-server " $CONTAINER_REGISTRY_NAME .azurecr.io"
651
651
` ` `
652
652
653
- # [PowerShell](#tab/powershell)
653
+ # [Azure PowerShell](#tab/azure- powershell)
654
654
` ` ` powershell
655
655
az containerapp job create -n " $PLACEHOLDER_JOB_NAME " -g " $RESOURCE_GROUP " --environment " $ENVIRONMENT " `
656
656
--trigger-type Manual `
@@ -689,7 +689,7 @@ You can run a manual job to register an offline placeholder agent. The job runs
689
689
az containerapp job start -n " $PLACEHOLDER_JOB_NAME " -g " $RESOURCE_GROUP "
690
690
` ` `
691
691
692
- # [PowerShell](#tab/powershell)
692
+ # [Azure PowerShell](#tab/azure- powershell)
693
693
` ` ` powershell
694
694
az containerapp job start -n " $PLACEHOLDER_JOB_NAME " -g " $RESOURCE_GROUP "
695
695
` ` `
@@ -707,7 +707,7 @@ You can run a manual job to register an offline placeholder agent. The job runs
707
707
--query ' [].{Status: properties.status, Name: name, StartTime: properties.startTime}'
708
708
` ` `
709
709
710
- # [PowerShell](#tab/powershell)
710
+ # [Azure PowerShell](#tab/azure- powershell)
711
711
` ` ` powershell
712
712
az containerapp job execution list `
713
713
--name " $PLACEHOLDER_JOB_NAME " `
@@ -731,7 +731,7 @@ You can run a manual job to register an offline placeholder agent. The job runs
731
731
az containerapp job delete -n "$PLACEHOLDER_JOB_NAME" -g "$RESOURCE_GROUP"
732
732
```
733
733
734
- # [PowerShell](#tab/powershell)
734
+ # [Azure PowerShell](#tab/azure- powershell)
735
735
```powershell
736
736
az containerapp job delete -n "$PLACEHOLDER_JOB_NAME" -g "$RESOURCE_GROUP"
737
737
```
@@ -765,7 +765,7 @@ az containerapp job create -n "$JOB_NAME" -g "$RESOURCE_GROUP" --environment "$E
765
765
--registry-server "$CONTAINER_REGISTRY_NAME.azurecr.io"
766
766
```
767
767
768
- # [PowerShell](#tab/powershell)
768
+ # [Azure PowerShell](#tab/azure- powershell)
769
769
```powershell
770
770
az containerapp job create -n "$JOB_NAME" -g "$RESOURCE_GROUP" --environment "$ENVIRONMENT" `
771
771
--trigger-type Event `
@@ -842,7 +842,7 @@ Now that you've configured a self-hosted agent job, you can run a pipeline and v
842
842
--query ' [].{Status: properties.status, Name: name, StartTime: properties.startTime}'
843
843
` ` `
844
844
845
- # [PowerShell](#tab/powershell)
845
+ # [Azure PowerShell](#tab/azure- powershell)
846
846
` ` ` powershell
847
847
az containerapp job execution list `
848
848
--name " $JOB_NAME " `
@@ -871,7 +871,7 @@ az group delete \
871
871
--resource-group $RESOURCE_GROUP
872
872
```
873
873
874
- # [PowerShell](#tab/powershell)
874
+ # [Azure PowerShell](#tab/azure- powershell)
875
875
```powershell
876
876
az group delete `
877
877
--resource-group $RESOURCE_GROUP
0 commit comments