更新 .drone.yml
This commit is contained in:
parent
477207816f
commit
10631e1dad
18
.drone.yml
18
.drone.yml
@ -2,20 +2,20 @@ kind: pipeline
|
||||
type: docker
|
||||
name: pipeline-1
|
||||
|
||||
# clone:
|
||||
# disable: true
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
workspace:
|
||||
path: /drone/src/${DRONE_BUILD_NUMBER}
|
||||
|
||||
steps:
|
||||
# - name: clone
|
||||
# image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/alpine/git:latest
|
||||
# commands:
|
||||
# - git clone -b main http://root:rootroot@115.190.73.171:3000/admin/test02.git
|
||||
# - ls -la /drone/src/
|
||||
# - ls -la /drone/src/${DRONE_BUILD_NUMBER}
|
||||
# - sleep 1m
|
||||
- name: clone
|
||||
image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/alpine/git:latest
|
||||
commands:
|
||||
- git clone -b main http://root:rootroot@115.190.73.171:3000/admin/test02.git
|
||||
- ls -la /drone/src/
|
||||
- ls -la /drone/src/${DRONE_BUILD_NUMBER}
|
||||
- sleep 1m
|
||||
|
||||
- name: build
|
||||
image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.17
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user