Compare commits

..

24 Commits

Author SHA1 Message Date
2ac4fc31a5 ansible is its own repo now 2025-11-17 13:37:05 +01:00
749a2a7d12 docker registry @ ring86 2025-11-17 13:33:47 +01:00
bf7e62ee1d auto02 podman config 2025-08-21 09:57:05 +02:00
b127b9d685 resources 2025-02-12 11:23:41 +01:00
68bd782c14 shuffeling apps around the cluster 2025-02-10 17:33:25 +01:00
fe8f8748df more hosts @wks 2025-02-10 17:33:14 +01:00
46e743b84a consul 2024-12-11 14:10:12 +01:00
075c7170cd podman and nomad stuff
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-11 13:37:02 +01:00
154db99ee3 fixes #18 2024-12-11 13:35:18 +01:00
8c5b879333 fixes #13
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-05 18:30:28 +01:00
77892d42eb refs #11 at last
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-05 18:28:06 +01:00
3d3afa337c fixes #11 no java for all
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-05 18:25:08 +01:00
849190dc98 podman (not sid)
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-05 18:24:31 +01:00
9cced3f65b fixes #11 no java for all 2024-12-05 18:24:17 +01:00
11db3c60e3 fixes #11 no java for all 2024-12-05 18:24:03 +01:00
6e6cee989e fixes #20
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-05 18:12:33 +01:00
478aa7f9c9 fixes #16, blacklist modules
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-05 17:44:02 +01:00
f65f0ff2df fixes #16, blacklist modules 2024-12-05 17:43:53 +01:00
6b825464a3 fixes #31 podman install and config
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-04 12:23:43 +01:00
b5eb5d495d ansible
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-01 11:11:16 +01:00
05c9a5fc2a fixes #27 loading modules, ansible
All checks were successful
continuous-integration/drone/push Build is passing
2024-11-29 13:17:33 +01:00
7073aaf332 apt-cacher volume on ebin01 2024-11-29 12:37:17 +01:00
e8cd8f6239 starlark to the rescue?
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build is passing
2024-10-29 10:43:12 +01:00
41b023d43e starlark to the rescue?
Some checks reported errors
continuous-integration/drone/push Build was killed
2024-10-29 10:40:39 +01:00
12 changed files with 51 additions and 21 deletions

View File

@@ -1,14 +1,15 @@
def main(ctx):
return {
"kind": "pipeline",
"type": "docker",
"name": "nomad-nummer5",
"platform": [
"platform":
{
"os": "linux",
"arch": "arm64"
}
],
,
"steps": [
{
"name": "git log",

View File

@@ -10,7 +10,7 @@ capability {
}
context {
server = "ebin02.wks"
server = "ebin01.wks"
share = "/data/raid1-ssd/app-data/apt-cacher-ng"
mountPermissions = "0"
}

View File

@@ -43,7 +43,7 @@ job "dmarc" {
REPORT_DB_TYPE = "pgsql"
REPORT_DB_HOST = "postgres.service.nr5"
REPORT_DB_PORT = "5432"
REPORT_DB_NAME = "dmarc-srg"
REPORT_DB_NAME = "dmarc"
REPORT_DB_USER = "dmarc"
REPORT_DB_PASS = "4XSS4gKpheSBoMsIs"
PARSER_IMAP_PORT = "143"

View File

@@ -3,7 +3,7 @@ job "docker-registry-ui" {
"nummer5",
]
type = "service"
node_pool = "apps"
node_pool = "sys"
group "apps" {
count = 1

View File

@@ -3,7 +3,7 @@ job "drone-runner" {
"nummer5",
]
type = "service"
node_pool = "apps"
node_pool = "sys"
group "apps" {
count = 1
@@ -77,8 +77,8 @@ job "drone-runner" {
}
resources {
cpu = 300
memory = 500
cpu = 2000
memory = 1024
}
}

View File

@@ -10,7 +10,7 @@ capability {
}
context {
server = "ebin02.wks"
server = "ebin01.wks"
share = "/data/raid1-ssd/app-data/drone-data"
mountPermissions = "0"
}

View File

@@ -47,6 +47,7 @@ job "gitea" {
}
restart {
interval = "10m"
attempts = 5
delay = "30s"
}
@@ -89,7 +90,7 @@ job "gitea" {
}
resources {
cpu = 200
cpu = 500
memory = 512
}

View File

@@ -10,7 +10,7 @@ capability {
}
context {
server = "ebin02.wks"
server = "ebin01.wks"
share = "/data/raid1-ssd/app-data/gitea-data"
mountPermissions = "0"
}

View File

@@ -1,6 +1,6 @@
job "openwrt" {
datacenters = ["nummer5"]
node_pool = "apps"
node_pool = "sys"
priority = 10
group "apps" {

View File

@@ -3,7 +3,12 @@ job "postgres" {
type = "service"
node_pool = "sys"
priority = 80
#constraint {
# attribute = "${attr.unique.hostname}"
# value = "pine01"
#}
group "service" {
count = 1
volume "postgres-data" {
@@ -15,7 +20,7 @@ job "postgres" {
}
network {
mode = "host"
#mode = "host"
port "postgres"{
static = 5432
}
@@ -23,10 +28,10 @@ job "postgres" {
service {
name = "postgres"
port = "postgres"
#tags = [
# "traefik.enable=true",
# "traefik.tcp.routers.postgres.rule=Host(`postgres.service.nr5`)",
#]
tags = [
"traefik.enable=true",
"traefik.tcp.routers.postgres.rule=Host(`postgres.service.nr5`)",
]
}
task "postgres" {
driver = "podman"
@@ -49,8 +54,8 @@ job "postgres" {
}
resources {
cpu = 1000
memory = 512
cpu = 3500
memory = 1500
}

View File

@@ -1,2 +1,2 @@
hosts="pine01.wks pine02.wks pine03.wks pine04.wks pine05.wks adm01.wks ebin01.wks ebin02.wks"
hosts="adm01.wks pine01.wks pine02.wks pine03.wks pine04.wks pine05.wks ebin01.wks ebin02.wks drucki.wks switch_cloud.wks drucki_switch.wks"
domain="wks"

23
drone.yml.bak Normal file
View File

@@ -0,0 +1,23 @@
kind: pipeline
type: docker
name: nomad-nummer5
platform:
os: linux
arch: arm64
environment:
TARGET_HOST: "test.chaos"
steps:
- name: git log
image: cr.wks/debian-stable
commands:
- git diff-tree --no-commit-id --name-only HEAD -r
- name: test
image: alpine
commands:
- echo hello
- echo world
- echo $TARGET_HOST