This commit is contained in:
@@ -13,7 +13,9 @@ job "drone-runner" {
|
|||||||
port "http" {
|
port "http" {
|
||||||
to = 3000
|
to = 3000
|
||||||
}
|
}
|
||||||
|
dns {
|
||||||
|
servers = ["172.16.23.1"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
volume "drone-runner" {
|
volume "drone-runner" {
|
||||||
type = "csi"
|
type = "csi"
|
||||||
@@ -38,12 +40,13 @@ job "drone-runner" {
|
|||||||
|
|
||||||
config {
|
config {
|
||||||
image = "docker.io/drone/drone-runner-docker:latest"
|
image = "docker.io/drone/drone-runner-docker:latest"
|
||||||
force_pull = false
|
force_pull = true
|
||||||
ports = ["http"]
|
ports = ["http"]
|
||||||
privileged = true
|
privileged = true
|
||||||
volumes = [
|
volumes = [
|
||||||
"/var/run/podman/podman.sock:/var/run/docker.sock",
|
"/var/run/podman/podman.sock:/var/run/docker.sock",
|
||||||
"/etc/containers:/etc/containers"
|
"/etc/containers:/etc/containers",
|
||||||
|
"/etc/resolv.conf:/etc/resolv.conf"
|
||||||
]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -60,9 +63,10 @@ job "drone-runner" {
|
|||||||
DRONE_RPC_HOST = "drone.service.nr5"
|
DRONE_RPC_HOST = "drone.service.nr5"
|
||||||
DRONE_RPC_PROTO = "http"
|
DRONE_RPC_PROTO = "http"
|
||||||
DRONE_RUNNER_CAPACITY = 1
|
DRONE_RUNNER_CAPACITY = 1
|
||||||
DRONE_LOGS_DEBUG = false
|
DRONE_LOGS_DEBUG = true
|
||||||
DRONE_LOGS_TRACE = false
|
DRONE_LOGS_TRACE = true
|
||||||
DOCKER_BUILDKIT = 1
|
DOCKER_BUILDKIT = 1
|
||||||
|
DRONE_GIT_ALWAYS_AUTH = true
|
||||||
}
|
}
|
||||||
|
|
||||||
resources {
|
resources {
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ job "drone" {
|
|||||||
|
|
||||||
config {
|
config {
|
||||||
image = "docker.io/drone/drone:latest"
|
image = "docker.io/drone/drone:latest"
|
||||||
|
force_pull = true
|
||||||
ports = ["http"]
|
ports = ["http"]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -65,7 +66,7 @@ job "drone" {
|
|||||||
DRONE_GIT_ALWAYS_AUTH = true
|
DRONE_GIT_ALWAYS_AUTH = true
|
||||||
DRONE_GITEA_SERVER = "http://gitea.service.nr5"
|
DRONE_GITEA_SERVER = "http://gitea.service.nr5"
|
||||||
DRONE_GITEA_CLIENT_ID = "6c48da2c-2748-438e-b776-51f41d3fe607"
|
DRONE_GITEA_CLIENT_ID = "6c48da2c-2748-438e-b776-51f41d3fe607"
|
||||||
DRONE_GITEA_CLIENT_SECRET = "gto_ewohqwympejkb52veheox6doc4juodojyyvph4yf4gekhgtx7zna"
|
DRONE_GITEA_CLIENT_SECRET = "gto_shthxcqiqutd4f3quejnpefgbedaewfqnnkdi3cfmsdoxjq7qfsq"
|
||||||
DRONE_RPC_SECRET = "7eb685ed81d0c34bafc5efa7783c20b2"
|
DRONE_RPC_SECRET = "7eb685ed81d0c34bafc5efa7783c20b2"
|
||||||
DRONE_SERVER_HOST = "drone.service.nr5"
|
DRONE_SERVER_HOST = "drone.service.nr5"
|
||||||
DRONE_SERVER_PROTO = "http"
|
DRONE_SERVER_PROTO = "http"
|
||||||
|
|||||||
Reference in New Issue
Block a user