.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:
26
.drone.yml
26
.drone.yml
@@ -64,7 +64,7 @@ trigger:
|
||||
- custom
|
||||
|
||||
steps:
|
||||
- name: ssh-apply
|
||||
- name: ssh-check
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host: 10.0.4.18
|
||||
@@ -72,21 +72,17 @@ steps:
|
||||
password:
|
||||
from_secret: password_authelia
|
||||
port: 22
|
||||
command_timeout: 15m
|
||||
envs:
|
||||
- DRONE_CUSTOM_ARGS
|
||||
- DRONE_BUILD_EVENT
|
||||
script: |
|
||||
sh -eu <<'EOF'
|
||||
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
|
||||
command_timeout: 10m
|
||||
|
||||
echo "[INFO] Build event: ${DRONE_BUILD_EVENT}"
|
||||
echo "[INFO] Args: ${DRONE_CUSTOM_ARGS:-<none>}"
|
||||
|
||||
timeout 10m /tmp/authelia-update.sh ${DRONE_CUSTOM_ARGS}
|
||||
EOF
|
||||
script:
|
||||
- /bin/sh -eu -c '
|
||||
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 &&
|
||||
echo "[INFO] Build event: ${DRONE_BUILD_EVENT}" &&
|
||||
echo "[INFO] Args: ${DRONE_CUSTOM_ARGS:-<none>}" &&
|
||||
timeout 10m /tmp/authelia-update.sh ${DRONE_CUSTOM_ARGS}
|
||||
'
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
||||
Reference in New Issue
Block a user