[fix]:[20251208][drone 测试持久化目录]
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
9e95b0d608
commit
b79fb4e5f4
27
.drone.yml
27
.drone.yml
@ -16,11 +16,9 @@ workspace:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: maven-cache
|
- name: maven-cache
|
||||||
host:
|
path: /localcache/maven/repository
|
||||||
path: /localcache/maven/repository
|
|
||||||
- name: npm-cache
|
- name: npm-cache
|
||||||
host:
|
path: /localcache/npm-cache
|
||||||
path: /localcache/npm-cache
|
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
depth: 0
|
depth: 0
|
||||||
@ -31,6 +29,9 @@ steps:
|
|||||||
- name: java-build-test
|
- name: java-build-test
|
||||||
image: registry.cn-beijing.aliyuncs.com/yinzy/maven:jk3.9-8
|
image: registry.cn-beijing.aliyuncs.com/yinzy/maven:jk3.9-8
|
||||||
pull: false
|
pull: false
|
||||||
|
volumes:
|
||||||
|
- name: maven-cache
|
||||||
|
path: /localcache/maven/repository
|
||||||
environment:
|
environment:
|
||||||
MAVEN_OPTS: -Dmaven.repo.local=/localcache/maven/repository
|
MAVEN_OPTS: -Dmaven.repo.local=/localcache/maven/repository
|
||||||
commands:
|
commands:
|
||||||
@ -44,9 +45,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
|
||||||
@ -85,17 +86,13 @@ workspace:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: maven-cache
|
- name: maven-cache
|
||||||
host:
|
path: /localcache/maven/repository
|
||||||
path: /localcache/maven/repository
|
|
||||||
- name: docker_sock
|
- name: docker_sock
|
||||||
host:
|
path: /var/run/docker.sock
|
||||||
path: /var/run/docker.sock
|
|
||||||
- name: jar-cache
|
- name: jar-cache
|
||||||
host:
|
path: /localcache/apps
|
||||||
path: /localcache/apps
|
|
||||||
- name: npm-cache
|
- name: npm-cache
|
||||||
host:
|
path: /localcache/npm-cache
|
||||||
path: /localcache/npm-cache
|
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
depth: 0
|
depth: 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user