更新 .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
|
type: docker
|
||||||
name: pipeline-1
|
name: pipeline-1
|
||||||
|
|
||||||
# clone:
|
clone:
|
||||||
# disable: true
|
disable: true
|
||||||
|
|
||||||
workspace:
|
workspace:
|
||||||
path: /drone/src/${DRONE_BUILD_NUMBER}
|
path: /drone/src/${DRONE_BUILD_NUMBER}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# - name: clone
|
- name: clone
|
||||||
# image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/alpine/git:latest
|
image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/alpine/git:latest
|
||||||
# commands:
|
commands:
|
||||||
# - git clone -b main http://root:rootroot@115.190.73.171:3000/admin/test02.git
|
- git clone -b main http://root:rootroot@115.190.73.171:3000/admin/test02.git
|
||||||
# - ls -la /drone/src/
|
- ls -la /drone/src/
|
||||||
# - ls -la /drone/src/${DRONE_BUILD_NUMBER}
|
- ls -la /drone/src/${DRONE_BUILD_NUMBER}
|
||||||
# - sleep 1m
|
- sleep 1m
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.17
|
image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/gcr.io/iguazio/alpine:3.17
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user