File: lava-docker-worker

package info (click to toggle)
lava 2026.01-4
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 30,844 kB
  • sloc: python: 82,790; javascript: 16,658; sh: 1,364; makefile: 328
file content (30 lines) | stat: -rw-r--r-- 1,040 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Configuration for lava-docker-worker daemon

# worker name
# Should be set for host that have random hostname (containers, ...)
# The name can be any unique string.
# WORKER_NAME="--name <hostname.fqdn>"

# Logging level should be uppercase (DEBUG, INFO, WARN, ERROR)
# LOGLEVEL="DEBUG"

# Log file for the worker logs
# LOG_FILE="/var/log/lava-dispatcher-host/lava-docker-worker.log"

# Server connection
# URL="http://localhost/"
# TOKEN="--token <token>"
# WS_URL="--ws-url http://localhost/ws/"
# HTTP_TIMEOUT="--http-timeout 600"
# JOB_LOG_INTERVAL="--job-log-interval 5"
# MOUNTS="--mount /path/to/directory --mount /path/on/host:/path/on/container --mount /path/host:/path/container:ro"

# Docker build directory
# Should be set to a directory with a Dockerfile inside.
# BUILD_DIR="/etc/lava-dispatcher-host/build"
# By default, '--no-cache' is used to force a clean build. Add
# "--use-cache" to BUILD_OPTIONS to use build cache.
# BUILD_OPTIONS="--use-cache"

# Sentry Data Source Name.
# SENTRY_DSN="--sentry-dsn <sentry-dsn>"