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

36 lines
614 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 -la /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