.drone.yml aktualisiert
Some checks failed
continuous-integration/drone/push Build encountered an error
Some checks failed
continuous-integration/drone/push Build encountered an error
This commit is contained in:
32
.drone.yml
32
.drone.yml
@@ -24,34 +24,16 @@ get:
|
||||
path: secret/data/matrix/bot/drone-bot
|
||||
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
|
||||
name: check_authelia
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- cron
|
||||
- pull_request
|
||||
|
||||
steps:
|
||||
- name: ssh-check
|
||||
image: appleboy/drone-ssh
|
||||
@@ -76,6 +58,10 @@ steps:
|
||||
kind: pipeline
|
||||
name: authelia_apply
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- manual
|
||||
|
||||
steps:
|
||||
- name: ssh-apply
|
||||
image: appleboy/drone-ssh
|
||||
|
||||
Reference in New Issue
Block a user