[fix]:[20251208][drone 测试持久化目录]
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
This commit is contained in:
parent
e28f963c01
commit
9e95b0d608
24
.drone.yml
24
.drone.yml
@ -16,9 +16,11 @@ workspace:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: maven-cache
|
- name: maven-cache
|
||||||
path: /localcache/maven/repository
|
host:
|
||||||
|
path: /localcache/maven/repository
|
||||||
- name: npm-cache
|
- name: npm-cache
|
||||||
path: /localcache/npm-cache
|
host:
|
||||||
|
path: /localcache/npm-cache
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
depth: 0
|
depth: 0
|
||||||
@ -42,9 +44,9 @@ steps:
|
|||||||
- name: frontend-build
|
- name: frontend-build
|
||||||
image: registry.cn-beijing.aliyuncs.com/yinzy/node:20.11-alpine3.19
|
image: registry.cn-beijing.aliyuncs.com/yinzy/node:20.11-alpine3.19
|
||||||
pull: false
|
pull: false
|
||||||
volumes:
|
# volumes:
|
||||||
- name: npm-cache
|
# - name: npm-cache
|
||||||
path: /localcache/npm-cache
|
# path: /localcache/npm-cache
|
||||||
commands:
|
commands:
|
||||||
- cd vue-ui
|
- cd vue-ui
|
||||||
- npm config set cache /localcache/npm-cache/.npm
|
- npm config set cache /localcache/npm-cache/.npm
|
||||||
@ -83,13 +85,17 @@ workspace:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: maven-cache
|
- name: maven-cache
|
||||||
path: /localcache/maven/repository
|
host:
|
||||||
|
path: /localcache/maven/repository
|
||||||
- name: docker_sock
|
- name: docker_sock
|
||||||
path: /var/run/docker.sock
|
host:
|
||||||
|
path: /var/run/docker.sock
|
||||||
- name: jar-cache
|
- name: jar-cache
|
||||||
path: /localcache/apps
|
host:
|
||||||
|
path: /localcache/apps
|
||||||
- name: npm-cache
|
- name: npm-cache
|
||||||
path: /localcache/npm-cache
|
host:
|
||||||
|
path: /localcache/npm-cache
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
depth: 0
|
depth: 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user