.drone.yml aktualisiert
This commit is contained in:
24
.drone.yml
24
.drone.yml
@@ -36,15 +36,15 @@
|
|||||||
# -----------------------------
|
# -----------------------------
|
||||||
---
|
---
|
||||||
kind: secret
|
kind: secret
|
||||||
name: username_docker
|
name: username_xigmanas
|
||||||
get:
|
get:
|
||||||
path: secret/data/docker/ssh
|
path: secret/data/xigmanas/ssh
|
||||||
name: username
|
name: username
|
||||||
---
|
---
|
||||||
kind: secret
|
kind: secret
|
||||||
name: password_docker
|
name: password_xigmanas
|
||||||
get:
|
get:
|
||||||
path: secret/data/docker/ssh
|
path: secret/data/xigmasnas/ssh
|
||||||
name: password
|
name: password
|
||||||
|
|
||||||
# ----------------------------------------
|
# ----------------------------------------
|
||||||
@@ -80,11 +80,11 @@ type: ssh
|
|||||||
name: authelia_check
|
name: authelia_check
|
||||||
|
|
||||||
server:
|
server:
|
||||||
host: 172.16.1.53
|
host: xigmanas.lan
|
||||||
user:
|
user:
|
||||||
from_secret: username_docker
|
from_secret: username_xigmanas
|
||||||
password:
|
password:
|
||||||
from_secret: password_docker
|
from_secret: password_xigmanas
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
depth: 50
|
depth: 50
|
||||||
@@ -94,7 +94,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
# Script läuft im Jail, nativ, keine Containerisierung
|
# Script läuft im Jail, nativ, keine Containerisierung
|
||||||
# Check-only: KEIN --apply
|
# Check-only: KEIN --apply
|
||||||
- timeout 5m bastille cmd authelia /root/authelia-update.sh
|
- timeout 5m bastille cmd authelia sh -s < authelia/authelia-update.sh
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
@@ -111,11 +111,11 @@ type: ssh
|
|||||||
name: authelia_apply
|
name: authelia_apply
|
||||||
|
|
||||||
server:
|
server:
|
||||||
host: 172.16.1.53
|
host: xigmanas.lan
|
||||||
user:
|
user:
|
||||||
from_secret: username_docker
|
from_secret: username_xigmanas
|
||||||
password:
|
password:
|
||||||
from_secret: password_docker
|
from_secret: password_xigmanas
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
depth: 50
|
depth: 50
|
||||||
@@ -124,7 +124,7 @@ steps:
|
|||||||
- name: apply_authelia_update
|
- name: apply_authelia_update
|
||||||
commands:
|
commands:
|
||||||
# Apply + auto-revert (Rollback falls Dienst nach Update nicht sauber läuft)
|
# Apply + auto-revert (Rollback falls Dienst nach Update nicht sauber läuft)
|
||||||
- timeout 10m bastille cmd authelia /root/authelia-update.sh --apply --auto-revert
|
- timeout 10m bastille cmd authelia sh -s -- --apply --auto-revert < authelia-update.sh
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
|||||||
Reference in New Issue
Block a user