.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
|
- custom
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: ssh-apply
|
- name: ssh-check
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
settings:
|
settings:
|
||||||
host: 10.0.4.18
|
host: 10.0.4.18
|
||||||
@@ -72,21 +72,17 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: password_authelia
|
from_secret: password_authelia
|
||||||
port: 22
|
port: 22
|
||||||
command_timeout: 15m
|
command_timeout: 10m
|
||||||
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
|
|
||||||
|
|
||||||
echo "[INFO] Build event: ${DRONE_BUILD_EVENT}"
|
script:
|
||||||
echo "[INFO] Args: ${DRONE_CUSTOM_ARGS:-<none>}"
|
- /bin/sh -eu -c '
|
||||||
|
fetch -o /tmp/authelia-update.sh \
|
||||||
timeout 10m /tmp/authelia-update.sh ${DRONE_CUSTOM_ARGS}
|
https://git.familie-berner.de/Open/infra-maintenance/raw/branch/main/authelia/authelia-update.sh &&
|
||||||
EOF
|
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
|
kind: pipeline
|
||||||
|
|||||||
Reference in New Issue
Block a user