+24
-2
@@ -15,15 +15,37 @@ steps:
|
||||
# docker 打包
|
||||
- name: deploy
|
||||
image: registry.cn-hangzhou.aliyuncs.com/loghub/wms-system-service:gradle9
|
||||
environment:
|
||||
GRADLE_USER_HOME: /cache/gradle
|
||||
volumes:
|
||||
- name: gradle-cache
|
||||
path: /cache/gradle
|
||||
- name: jib-cache
|
||||
path: /cache/jib
|
||||
commands:
|
||||
- cd wes-loghub
|
||||
- >
|
||||
gradle jib -stacktrace
|
||||
--parallel
|
||||
-Pmax-workers=16
|
||||
--info
|
||||
--console=plain
|
||||
--warning-mode=all
|
||||
--build-cache
|
||||
--configure-on-demand
|
||||
--parallel
|
||||
--max-workers=16
|
||||
-x test
|
||||
-PdockerBuild=true
|
||||
-Dcybertrans.idp.enabled=false
|
||||
-Djib.from.image=registry.cn-hangzhou.aliyuncs.com/ttx/amazoncorretto:25-alpine3.23-jdk
|
||||
-Djib.to.image=registry.cn-hangzhou.aliyuncs.com/loghub/wes
|
||||
-Djib.to.tags=proj-shopee-test
|
||||
-Djib.baseImageCache=/cache/jib/base
|
||||
-Djib.applicationCache=/cache/jib/application
|
||||
|
||||
volumes:
|
||||
- name: gradle-cache
|
||||
host:
|
||||
path: /var/lib/drone-cache/shopee-wes/gradle
|
||||
- name: jib-cache
|
||||
host:
|
||||
path: /var/lib/drone-cache/shopee-wes/jib
|
||||
|
||||
Reference in New Issue
Block a user