Merge branch 'main' of ssh://gitea.service.nr5:2222/chaos/nomad-nummer5
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -20,14 +20,6 @@ job "drone-runner" {
|
||||
port = "http"
|
||||
}
|
||||
|
||||
volume "drone-runner" {
|
||||
type = "csi"
|
||||
source = "drone-runner"
|
||||
read_only = false
|
||||
access_mode = "single-node-writer"
|
||||
attachment_mode = "file-system"
|
||||
}
|
||||
|
||||
restart {
|
||||
attempts = 5
|
||||
delay = "30s"
|
||||
@@ -35,14 +27,10 @@ job "drone-runner" {
|
||||
|
||||
task "drone-runner" {
|
||||
driver = "podman"
|
||||
volume_mount {
|
||||
volume = "drone-runner"
|
||||
destination = "/drone"
|
||||
read_only = false
|
||||
}
|
||||
|
||||
config {
|
||||
image = "docker.io/drone/drone-runner-docker:latest"
|
||||
force_pull = true
|
||||
ports = ["http"]
|
||||
privileged = true
|
||||
volumes = [
|
||||
@@ -58,13 +46,15 @@ job "drone-runner" {
|
||||
DRONE_RPC_SECRET = "7eb685ed81d0c34bafc5efa7783c20b2"
|
||||
DRONE_RPC_HOST = "drone.service.nr5"
|
||||
DRONE_RPC_PROTO = "http"
|
||||
DRONE_RUNNER_CAPACITY = 1
|
||||
DRONE_LOGS_DEBUG = true
|
||||
DRONE_LOGS_TRACE = true
|
||||
DOCKER_BUILDKIT = 1
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 500
|
||||
memory = 128
|
||||
cpu = 300
|
||||
memory = 1500
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user