File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
content/en/actions/private_actions Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 30
30
docker run -d \
31
31
--cpus=" 0.25" \
32
32
--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 \
34
34
-v ./config:/etc/dd-action-runner/config \
35
35
--health-cmd " curl http://localhost:9016/liveness" \
36
36
--health-interval 10s \
@@ -54,18 +54,18 @@ Navigate to the directory containing your `docker-compose.yaml` file.
54
54
``` yaml
55
55
services :
56
56
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" >}}
58
58
cpus : 25
59
59
mem_limit : 1g
60
60
deploy :
61
61
replicas : 1
62
62
environment :
63
63
- 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
66
65
- STATSD_ENABLED=true
67
66
volumes :
68
67
- " ./config:/etc/dd-action-runner/config"
68
+ ` ` `
69
69
70
70
Start the container again:
71
71
` ` ` bash
@@ -115,4 +115,4 @@ kubectl logs <name-of-the-pod>
115
115
```
116
116
[ 1 ] : https://api.datadoghq.com/api/v2/on-prem-management-service/runner/latest-image
117
117
[ 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
You can’t perform that action at this time.
0 commit comments