Skip to content

Commit 0219833

Browse files
[GH_286827]: Analyzed and fixed the documentation issue; make some updates. Updated ms.date as well
1 parent 639d041 commit 0219833

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: craigshoemaker
66
ms.service: azure-container-apps
77
ms.custom: devx-track-azurecli
88
ms.topic: conceptual
9-
ms.date: 02/03/2025
9+
ms.date: 02/10/2025
1010
ms.author: cshoe
1111
zone_pivot_groups: container-apps-jobs-self-hosted-ci-cd
1212
---
@@ -15,6 +15,13 @@ zone_pivot_groups: container-apps-jobs-self-hosted-ci-cd
1515

1616
GitHub Actions and Azure Pipelines allow you to run CI/CD workflows with self-hosted runners and agents. You can run self-hosted runners and agents using event-driven Azure Container Apps [jobs](./jobs.md).
1717

18+
## Managing Personal Access Tokens (PAT)
19+
20+
As each container registers itself as a one-time agent, managing the configured PAT can be challenging. At some point, the PAT expires, and agents can't register. From an automation perspective, using Azure Pipelines to create the agents with a PAT requires personal intervention.
21+
22+
> [!NOTE]
23+
> A job access token makes more sense in this scenario. Designed for automated workflows, job access tokens help avoid manual intervention when the PAT expires.
24+
1825
Self-hosted runners are useful when you need to run workflows that require access to local resources or tools that aren't available to a cloud-hosted runner. For example, a self-hosted runner in a Container Apps job allows your workflow to access resources inside the job's virtual network that isn't accessible to a cloud-hosted runner.
1926

2027
Running self-hosted runners as event-driven jobs allows you to take advantage of the serverless nature of Azure Container Apps. Jobs execute automatically when a workflow is triggered and exit when the job completes.
@@ -55,7 +62,7 @@ In this tutorial, you learn how to run Azure Pipelines agents as an [event-drive
5562
::: zone-end
5663

5764
> [!NOTE]
58-
> Container apps and jobs don't support running Docker in containers. Any steps in your workflows that use Docker commands will fail when run on a self-hosted runner or agent in a Container Apps job.
65+
> Container apps and jobs don't support running Docker in containers. Any steps in your workflows that use Docker commands fail when run on a self-hosted runner or agent in a Container Apps job.
5966
6067
## Prerequisites
6168

@@ -974,7 +981,7 @@ Once a self-hosted agent job is configured, you can run a pipeline and verify it
974981
Once you're done, run the following command to delete the resource group that contains your Container Apps resources.
975982
976983
>[!CAUTION]
977-
> The following command deletes the specified resource group and all resources contained within it. If resources outside the scope of this tutorial exist in the specified resource group, they will also be deleted.
984+
> The following command deletes the specified resource group and all resources contained within it. If resources outside the scope of this tutorial exist in the specified resource group, they'll also be deleted.
978985
979986
# [Bash](#tab/bash)
980987
```bash

0 commit comments

Comments
 (0)