drone stuff and adding platform
Some checks reported errors
continuous-integration/drone Build encountered an error

This commit is contained in:
2023-10-22 12:54:31 +02:00
parent 2f7bfc462c
commit d182bf0b39
3 changed files with 9 additions and 4 deletions

View File

@@ -2,6 +2,10 @@ kind: pipeline
type: docker type: docker
name: nomad-nummer5 name: nomad-nummer5
platform:
os: Linux
arch: arm
steps: steps:
- name: test - name: test
image: alpine image: alpine

View File

@@ -42,7 +42,7 @@ job "drone-runner" {
} }
config { config {
image = "docker.io/drone/drone-runner-docker:1" image = "docker.io/drone/drone-runner-docker:latest"
ports = ["http"] ports = ["http"]
volumes = [ volumes = [
"/var/run/podman/podman.sock:/var/run/docker.sock", "/var/run/podman/podman.sock:/var/run/docker.sock",
@@ -53,13 +53,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 {

View File

@@ -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 {