Skip to content

Commit 0f2c14c

Browse files
Make the updates as suggested by the PMs, performed freshness pass as well.
1 parent 0219833 commit 0f2c14c

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

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

Lines changed: 8 additions & 9 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/10/2025
9+
ms.date: 02/20/2025
1010
ms.author: cshoe
1111
zone_pivot_groups: container-apps-jobs-self-hosted-ci-cd
1212
---
@@ -15,13 +15,6 @@ 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-
2518
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.
2619

2720
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.
@@ -42,6 +35,9 @@ In this tutorial, you learn how to run GitHub Actions runners as an [event-drive
4235
> [!IMPORTANT]
4336
> Self-hosted runners are only recommended for *private* repositories. Using them with public repositories can allow dangerous code to execute on your self-hosted runner. For more information, see [Self-hosted runner security](https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#self-hosted-runner-security).
4437
38+
> [!NOTE]
39+
> The personal access token (PAT) has an expiration date. It's the customer's responsibility to ensure that the PAT is regularly rotated and isn't expired. Monitor and update your PAT accordingly to maintain uninterrupted services.
40+
4541
::: zone-end
4642

4743
::: zone pivot="container-apps-jobs-self-hosted-ci-cd-azure-pipelines"
@@ -59,6 +55,9 @@ In this tutorial, you learn how to run Azure Pipelines agents as an [event-drive
5955
> [!IMPORTANT]
6056
> Self-hosted agents are only recommended for *private* projects. Using them with public projects can allow dangerous code to execute on your self-hosted agent. For more information, see [Self-hosted agent security](/azure/devops/pipelines/agents/linux-agent#permissions).
6157
58+
> [!NOTE]
59+
> The personal access token (PAT) has an expiration date. It's the customer's responsibility to ensure that the PAT is regularly rotated and isn't expired. Monitor and update your PAT accordingly to maintain uninterrupted services.
60+
6261
::: zone-end
6362

6463
> [!NOTE]
@@ -981,7 +980,7 @@ Once a self-hosted agent job is configured, you can run a pipeline and verify it
981980
Once you're done, run the following command to delete the resource group that contains your Container Apps resources.
982981
983982
>[!CAUTION]
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.
983+
> 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're also deleted.
985984
986985
# [Bash](#tab/bash)
987986
```bash

0 commit comments

Comments
 (0)