test/.drone.yml
admin 56f7f49797
All checks were successful
continuous-integration/drone/push Build is passing
更新 .drone.yml
2025-05-08 09:08:49 +00:00

36 lines
610 B
YAML

kind: pipeline
type: docker
name: pipeline-1
steps:
- name: build
image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.17
commands:
- cd $DRONE_WORKSPACE
- ls /drone/src/
node:
app: build
---
kind: pipeline
type: docker
name: pipeline-2
depends_on:
- pipeline-1
clone:
disable: true
steps:
- name: deploy
image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.17
commands:
- echo "===== Drone 相关变量 ====="
- env | grep DRONE_
- echo "===== 路径变量 ====="
- env | grep PATH
node:
app: mvn