This commit is contained in:
+9
-23
@@ -24,34 +24,16 @@ get:
|
|||||||
path: secret/data/matrix/bot/drone-bot
|
path: secret/data/matrix/bot/drone-bot
|
||||||
name: roomid
|
name: roomid
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: ssh
|
|
||||||
name: authelia_check
|
|
||||||
|
|
||||||
clone:
|
|
||||||
disable: true
|
|
||||||
|
|
||||||
server:
|
|
||||||
host: 10.0.4.18
|
|
||||||
user: root
|
|
||||||
password:
|
|
||||||
from_secret: password_authelia
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: check_authelia_update
|
|
||||||
commands:
|
|
||||||
- |
|
|
||||||
set -e
|
|
||||||
fetch -o /tmp/authelia-update.sh \
|
|
||||||
https://git.familie-berner.de/Open/infra-maintenance/raw/branch/main/authelia/authelia-update.sh
|
|
||||||
chmod +x /tmp/authelia-update.sh
|
|
||||||
timeout 5m /tmp/authelia-update.sh
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: check_authelia
|
name: check_authelia
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- cron
|
||||||
|
- pull_request
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: ssh-check
|
- name: ssh-check
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
@@ -76,6 +58,10 @@ steps:
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: authelia_apply
|
name: authelia_apply
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- manual
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: ssh-apply
|
- name: ssh-apply
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
|
|||||||
Reference in New Issue
Block a user