12 Commits
Author SHA1 Message Date
曾志威 c0d55c3b86 init 2026-02-25 17:51:37 +08:00
曾志威 2e591839f8 init
continuous-integration/drone Build is passing
2026-02-25 17:45:23 +08:00
曾志威 9c93ece4e9 init
continuous-integration/drone Build is passing
2026-02-25 17:17:11 +08:00
曾志威 bfc0a9e65e init
continuous-integration/drone Build is passing
2026-02-25 15:42:36 +08:00
曾志威 f3695b7f5f init
continuous-integration/drone Build is passing
2026-02-13 00:49:01 +08:00
曾志威 3afc29c6bc init
continuous-integration/drone Build is passing
2026-02-13 00:36:05 +08:00
曾志威 f79423ae3f init
continuous-integration/drone Build is passing
2026-02-13 00:27:48 +08:00
曾志威 f579e142b4 init
continuous-integration/drone Build is passing
2026-02-13 00:04:10 +08:00
曾志威 a163ca49e5 init
continuous-integration/drone Build is passing
2026-02-13 00:01:03 +08:00
曾志威 83cc136ea8 init
continuous-integration/drone Build is passing
2026-02-12 23:46:53 +08:00
曾志威 cc405b5985 init
continuous-integration/drone Build is failing
2026-02-12 23:44:43 +08:00
曾志威 367d513182 init
continuous-integration/drone Build is passing
2026-02-12 23:41:58 +08:00
5 changed files with 129 additions and 29 deletions
+14 -26
View File
@@ -2,29 +2,17 @@ kind: pipeline
name: default
steps:
# 步骤2:拉取其他 Git 项目(common-utils
- name: clone-other-project
image: alpine/git:latest # 轻量 Git 镜像
commands:
# 拉取其他项目到指定目录
- >
git clone
-b proj-walle-snd-3.3-dev
--depth 1
https://zwzeng:glpat-Ht2452yuDgM84iNzu32b@git.ittx.com.cn/wms/wms-loghub-3-x.git
# docker 打包
- name: deploy
image: registry.cn-hangzhou.aliyuncs.com/loghub/wms-system-service:gradle8
commands:
- cd wms-loghub-3-x
- >
gradle jib -stacktrace
--parallel
-Pmax-workers=16
-x test
-PdockerBuild=true
-Dcybertrans.idp.enabled=false
-Djib.from.image=registry.cn-hangzhou.aliyuncs.com/loghub/wms-system-service:snde-jdk
-Djib.to.image=registry.cn-hangzhou.aliyuncs.com/loghub/wms-system-service
-Djib.to.tags=proj-walle-snde-wms-dev
# docker 打包
- name: docker
image: plugins/docker
settings:
context: ./
dockerfile: ./Dockerfile
username:
from_secret: docker_username
password:
from_secret: docker_password
registry: https://registry.cn-hangzhou.aliyuncs.com
repo: registry.cn-hangzhou.aliyuncs.com/loghub/wms-system-service
tags:
- gradle8
+9 -3
View File
@@ -1,5 +1,11 @@
FROM rabbitmq:4.2-management-alpine
FROM gradle:8-alpine
RUN set -eux; \
apk update; \
apk upgrade ;
apk add nodejs npm
RUN set -eux; \
npm install -g coffee-script stylus
ADD gradle.properties /root/.gradle/
ADD init.gradle /root/.gradle/
ADD config.json /root/.docker/
+31
View File
@@ -0,0 +1,31 @@
{
"auths": {
"qa-wms-acr-registry.cn-shanghai.cr.aliyuncs.com": {
"auth": "c2hhbnl1bi5ndUBTSElOVEFDQ1FBUzAxOnNmakxqemZmRThEMCNWZE4="
},
"registry-vpc.cn-hangzhou.aliyuncs.com": {
"auth": "c3d1QGl0dHguY29tLmNuOml0dHgyMDE4"
},
"registry.cn-hangzhou.aliyuncs.com": {
"auth": "c3d1QGl0dHguY29tLmNuOml0dHgyMDE4"
},
"registry.cn-shanghai.aliyuncs.com": {
"auth": "Zy5zaGFueXVuQGdtYWlsLmNvbTpBYTExMTIzNA=="
},
"sh2-cnepb-acr-pd-epp-registry.cn-shanghai.cr.aliyuncs.com": {
"auth": "U2h1aHVpLlBFTkctQURNQDEwNjU1NTY0ODc1NDYzNDI6eWRCQ2QyWVdxVWhUdExqMSUzb0RzRWxQQDJ3UmdI"
},
"ttx-registry-vpc.cn-hangzhou.cr.aliyuncs.com": {
"auth": "Y2J0X2plbmtpbnNfY3JAMTU0MzYwMDc2MDE3NjU0MDpzYmhXUXJWSFBWUU11SyEz"
},
"ttx-registry.cn-hangzhou.cr.aliyuncs.com": {
"auth": "c3lndUAxNTQzNjAwNzYwMTc2NTQwOlR0eEAyMDI1"
},
"wms-acr-registry.cn-shanghai.cr.aliyuncs.com": {
"auth": "c2hhbnl1bi5ndUBTSElOVEFDQ1BSRDAxOkFhMTIzNDU2"
}
},
"HttpHeaders": {
"User-Agent": "Docker-Client/19.03.1 (linux)"
}
}
+7
View File
@@ -0,0 +1,7 @@
org.gradle.daemon=fasle
org.gradle.configureondemand=false
org.gradle.parallel=true
org.gradle.vfs.watch=true
org.gradle.caching=true
systemProp.org.gradle.internal.http.maxConnections=8
+68
View File
@@ -0,0 +1,68 @@
buildscript {
repositories {
mavenLocal()
maven { url 'https://nexus.freeicu.top/repository/maven-public/' }
maven { url "https://repo.huaweicloud.com/repository/maven/huaweicloudsdk" }
maven { url "https://build.shibboleth.net/nexus/content/repositories/releases/" }
maven {
url 'https://nexus.loghub.com/repository/public/'
credentials {
username = "developer"
password = "95bb05e9-1540-4caa"
}
}
}
}
allprojects {
buildscript {
repositories {
mavenLocal()
maven { url 'https://nexus.freeicu.top/repository/maven-public/' }
maven { url "https://repo.huaweicloud.com/repository/maven/huaweicloudsdk" }
maven { url "https://build.shibboleth.net/nexus/content/repositories/releases/" }
maven {
url 'https://nexus.loghub.com/repository/public/'
credentials {
username = "developer"
password = "95bb05e9-1540-4caa"
}
}
}
}
repositories {
mavenLocal()
maven { url 'https://nexus.freeicu.top/repository/maven-public/' }
maven { url "https://repo.huaweicloud.com/repository/maven/huaweicloudsdk" }
maven { url "https://build.shibboleth.net/nexus/content/repositories/releases/" }
maven {
url 'https://nexus.loghub.com/repository/public/'
credentials {
username = "developer"
password = "95bb05e9-1540-4caa"
}
}
}
}
settingsEvaluated { settings ->
settings.pluginManagement {
repositories {
mavenLocal()
maven { url 'https://nexus.freeicu.top/repository/maven-public/' }
maven { url "https://repo.huaweicloud.com/repository/maven/huaweicloudsdk" }
maven { url "https://build.shibboleth.net/nexus/content/repositories/releases/" }
maven {
url 'https://nexus.loghub.com/repository/public/'
credentials {
username = "developer"
password = "95bb05e9-1540-4caa"
}
}
}
}
}