rustdreamer 3 years ago
parent b312dcd929
commit df0f467ea8

@ -1,17 +1,17 @@
---
kind: pipeline
name: default
kind: pipeline
name: default
volumes:
- name: dockersock
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
- name: cache
- name: cache
host: ·
path: /tmp/cache/visitor-new-api
steps:
- name: restore-cache
steps:
- name: restore-cache
pull: if-not-exists
image: drillster/drone-volume-cache
settings:
@ -23,7 +23,7 @@
- name: cache
path: /cache
- name: install
- name: install
image: node:14.16.1
pull: if-not-exists
commands:
@ -34,7 +34,7 @@
event: [push, pull_request]
branch: [development, test, master, sso]
- name: rebuild-cache
- name: rebuild-cache
pull: if-not-exists
image: drillster/drone-volume-cache
settings:
@ -46,8 +46,8 @@
- name: cache
path: /cache
# build
- name: build
# build
- name: build
pull: if-not-exists
image: node:14.16.1
commands:
@ -56,8 +56,8 @@
event: [push, pull_request]
branch: [development, test, master, sso]
# docker-build
- name: docker-build
# docker-build
- name: docker-build
pull: if-not-exists
image: plugins/docker
volumes:
@ -77,8 +77,8 @@
event: [push, pull_request]
branch: [development, test, master]
# run
- name: dev-run
# run
- name: dev-run
image: appleboy/drone-ssh
pull: if-not-exists
settings:
@ -95,7 +95,7 @@
event: [push, pull_request]
branch: [development]
- name: notify
- name: notify
image: fifsky/drone-wechat-work
pull: if-not-exists
# pull: always
@ -117,4 +117,3 @@
status:
- failure
- success
Loading…
Cancel
Save