Skip to content

Commit 4dedcbb

Browse files
authored
Fix typos for runner upgrade (#31796)
* Fix typos for runner upgrade * Update update_private_action_runner.md
1 parent dc805b3 commit 4dedcbb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/en/actions/private_actions/update_private_action_runner.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Run:
3030
docker run -d \
3131
--cpus="0.25" \
3232
--memory="1g" \
33-
-e DD_PRIVATE_RUNNER_CONFIG_DIR=/etc/dd-action-runner/config
33+
-e DD_PRIVATE_RUNNER_CONFIG_DIR=/etc/dd-action-runner/config \
3434
-v ./config:/etc/dd-action-runner/config \
3535
--health-cmd "curl http://localhost:9016/liveness" \
3636
--health-interval 10s \
@@ -54,18 +54,18 @@ Navigate to the directory containing your `docker-compose.yaml` file.
5454
```yaml
5555
services:
5656
private-actions-runner:
57-
image: gcr.io/datadoghq/private-action-runner:<latest_version>
57+
image: gcr.io/datadoghq/private-action-runner:{{< private-action-runner-version "private-action-runner" >}}
5858
cpus: 25
5959
mem_limit: 1g
6060
deploy:
6161
replicas: 1
6262
environment:
6363
- DD_BASE_URL=https://app.datadoghq.com
64-
- DD_PRIVATE_RUNNER_CONFIG_DIR=/etc/dd-action-runner/config
65-
- RUNNER_ENROLLMENT_TOKEN=<the_token>
64+
- DD_PRIVATE_RUNNER_CONFIG_DIR=/etc/dd-action-runner/config
6665
- STATSD_ENABLED=true
6766
volumes:
6867
- "./config:/etc/dd-action-runner/config"
68+
```
6969
7070
Start the container again:
7171
```bash
@@ -115,4 +115,4 @@ kubectl logs <name-of-the-pod>
115115
```
116116
[1]: https://api.datadoghq.com/api/v2/on-prem-management-service/runner/latest-image
117117
[2]: https://github.com/DataDog/helm-charts/blob/main/charts/private-action-runner/CHANGELOG.md
118-
[3]: https://github.com/DataDog/helm-charts/blob/main/charts/private-action-runner/values.yaml
118+
[3]: https://github.com/DataDog/helm-charts/blob/main/charts/private-action-runner/values.yaml

0 commit comments

Comments
 (0)