diff --git a/.drone.yml b/.drone.yml index 84eb940..72582ac 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,6 +2,10 @@ kind: pipeline type: docker name: nomad-nummer5 +platform: + os: linux + arch: arm64 + steps: - name: test image: alpine diff --git a/apps/drone/live-runner.hcl b/apps/drone/live-runner.hcl index 0ac32b3..b05fcea 100644 --- a/apps/drone/live-runner.hcl +++ b/apps/drone/live-runner.hcl @@ -37,7 +37,7 @@ job "drone-runner" { driver = "podman" volume_mount { volume = "drone-runner" - destination = "/data" + destination = "/drone" read_only = false } @@ -54,13 +54,12 @@ job "drone-runner" { env { 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_RPC_SECRET = "7eb685ed81d0c34bafc5efa7783c20b2" DRONE_RPC_HOST = "drone.service.nr5" DRONE_RPC_PROTO = "http" + DRONE_LOGS_DEBUG = true + DRONE_LOGS_TRACE = true } resources { diff --git a/apps/drone/live.hcl b/apps/drone/live.hcl index 9b90244..55585fb 100644 --- a/apps/drone/live.hcl +++ b/apps/drone/live.hcl @@ -47,7 +47,7 @@ job "drone" { } config { - image = "docker.io/drone/drone:2" + image = "docker.io/drone/drone:latest" ports = ["http"] } @@ -60,6 +60,8 @@ job "drone" { DRONE_RPC_SECRET = "7eb685ed81d0c34bafc5efa7783c20b2" DRONE_SERVER_HOST = "drone.service.nr5" DRONE_SERVER_PROTO = "http" + DRONE_LOGS_DEBUG = true + DRONE_LOGS_TRACE = true } resources { diff --git a/apps/jenkins/live.hcl b/apps/jenkins/live.hcl index e6a883d..3aa90d5 100644 --- a/apps/jenkins/live.hcl +++ b/apps/jenkins/live.hcl @@ -11,6 +11,9 @@ job "jenkins" { port "http" { to = 8080 } + port "api" { + to = 50000 + } } service {