[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:
|
||||
- name: maven-cache
|
||||
host:
|
||||
path: /localcache/maven/repository
|
||||
path: /localcache/maven/repository
|
||||
- name: npm-cache
|
||||
host:
|
||||
path: /localcache/npm-cache
|
||||
path: /localcache/npm-cache
|
||||
|
||||
clone:
|
||||
depth: 0
|
||||
@ -31,6 +29,9 @@ steps:
|
||||
- name: java-build-test
|
||||
image: registry.cn-beijing.aliyuncs.com/yinzy/maven:jk3.9-8
|
||||
pull: false
|
||||
volumes:
|
||||
- name: maven-cache
|
||||
path: /localcache/maven/repository
|
||||
environment:
|
||||
MAVEN_OPTS: -Dmaven.repo.local=/localcache/maven/repository
|
||||
commands:
|
||||
@ -44,9 +45,9 @@ steps:
|
||||
- name: frontend-build
|
||||
image: registry.cn-beijing.aliyuncs.com/yinzy/node:20.11-alpine3.19
|
||||
pull: false
|
||||
# volumes:
|
||||
# - name: npm-cache
|
||||
# path: /localcache/npm-cache
|
||||
volumes:
|
||||
- name: npm-cache
|
||||
path: /localcache/npm-cache
|
||||
commands:
|
||||
- cd vue-ui
|
||||
- npm config set cache /localcache/npm-cache/.npm
|
||||
@ -85,17 +86,13 @@ workspace:
|
||||
|
||||
volumes:
|
||||
- name: maven-cache
|
||||
host:
|
||||
path: /localcache/maven/repository
|
||||
path: /localcache/maven/repository
|
||||
- name: docker_sock
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
path: /var/run/docker.sock
|
||||
- name: jar-cache
|
||||
host:
|
||||
path: /localcache/apps
|
||||
path: /localcache/apps
|
||||
- name: npm-cache
|
||||
host:
|
||||
path: /localcache/npm-cache
|
||||
path: /localcache/npm-cache
|
||||
|
||||
clone:
|
||||
depth: 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user