Merge branch 'main' of ssh://gitea.service.nr5:2222/chaos/nomad-nummer5
This commit is contained in:
@@ -2,6 +2,10 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: nomad-nummer5
|
name: nomad-nummer5
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: alpine
|
image: alpine
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ job "drone-runner" {
|
|||||||
driver = "podman"
|
driver = "podman"
|
||||||
volume_mount {
|
volume_mount {
|
||||||
volume = "drone-runner"
|
volume = "drone-runner"
|
||||||
destination = "/data"
|
destination = "/drone"
|
||||||
read_only = false
|
read_only = false
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -54,13 +54,12 @@ job "drone-runner" {
|
|||||||
|
|
||||||
env {
|
env {
|
||||||
TZ = "Europe/Berlin"
|
TZ = "Europe/Berlin"
|
||||||
DRONE_GITEA_SERVER = "http://gitea.service.nr5"
|
|
||||||
DRONE_GITEA_CLIENT_ID = "6c48da2c-2748-438e-b776-51f41d3fe607"
|
|
||||||
DRONE_GITEA_CLIENT_SECRET = "gto_ewohqwympejkb52veheox6doc4juodojyyvph4yf4gekhgtx7zna"
|
|
||||||
DRONE_RUNNER_NAME = "drone-runner01"
|
DRONE_RUNNER_NAME = "drone-runner01"
|
||||||
DRONE_RPC_SECRET = "7eb685ed81d0c34bafc5efa7783c20b2"
|
DRONE_RPC_SECRET = "7eb685ed81d0c34bafc5efa7783c20b2"
|
||||||
DRONE_RPC_HOST = "drone.service.nr5"
|
DRONE_RPC_HOST = "drone.service.nr5"
|
||||||
DRONE_RPC_PROTO = "http"
|
DRONE_RPC_PROTO = "http"
|
||||||
|
DRONE_LOGS_DEBUG = true
|
||||||
|
DRONE_LOGS_TRACE = true
|
||||||
}
|
}
|
||||||
|
|
||||||
resources {
|
resources {
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ job "drone" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "docker.io/drone/drone:2"
|
image = "docker.io/drone/drone:latest"
|
||||||
ports = ["http"]
|
ports = ["http"]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -60,6 +60,8 @@ job "drone" {
|
|||||||
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"
|
||||||
|
DRONE_LOGS_DEBUG = true
|
||||||
|
DRONE_LOGS_TRACE = true
|
||||||
}
|
}
|
||||||
|
|
||||||
resources {
|
resources {
|
||||||
|
|||||||
@@ -11,6 +11,9 @@ job "jenkins" {
|
|||||||
port "http" {
|
port "http" {
|
||||||
to = 8080
|
to = 8080
|
||||||
}
|
}
|
||||||
|
port "api" {
|
||||||
|
to = 50000
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
service {
|
service {
|
||||||
|
|||||||
Reference in New Issue
Block a user