mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 19:50:30 +00:00
The log level -3 is the minimum log level that is supported today, smaller than debug(-1) and -2(used to log some HRA related logs). This commit adds a logging HTTP transport to log HTTP requests and responses to that log level. It implements http.RoundTripper so that it can log each HTTP request with useful metadata like `from_cache` and `ratelimit_remaining`. The former is set to `true` only when the logged request's response was served from ARC's in-memory cache. The latter is set to X-RateLimit-Remaining response header value if and only if the response was served by GitHub, not by ARC's cache.
25 lines
536 B
YAML
25 lines
536 B
YAML
# Set actions-runner-controller settings for testing
|
|
githubAPICacheDuration: 10s
|
|
logLevel: "-3"
|
|
githubWebhookServer:
|
|
logLevel: "-3"
|
|
enabled: true
|
|
labels: {}
|
|
replicaCount: 1
|
|
syncPeriod: 10m
|
|
useRunnerGroupsVisibility: true
|
|
secret:
|
|
enabled: true
|
|
# create: true
|
|
name: "github-webhook-server"
|
|
### GitHub Webhook Configuration
|
|
#github_webhook_secret_token: ""
|
|
service:
|
|
type: NodePort
|
|
ports:
|
|
- port: 80
|
|
targetPort: http
|
|
protocol: TCP
|
|
name: http
|
|
nodePort: 31000
|