Compare commits

..

3 Commits

Author SHA1 Message Date
d182bf0b39 drone stuff and adding platform
Some checks reported errors
continuous-integration/drone Build encountered an error
2023-10-22 12:54:31 +02:00
2f7bfc462c Merge branch 'main' of ssh://gitea.service.nr5:2222/chaos/nomad-nummer5 2023-10-22 12:23:16 +02:00
8552ef12cf local jenkins changes 2023-10-22 12:23:12 +02:00
4 changed files with 12 additions and 4 deletions

View File

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

View File

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

View File

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

View File

@@ -11,6 +11,9 @@ job "jenkins" {
port "http" {
to = 8080
}
port "api" {
to = 50000
}
}
service {