Compare commits
2
Commits
zhongliang
..
redis
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49f4a9d477 | ||
|
|
367d513182 |
@@ -1,25 +0,0 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
|
||||
# 步骤2:拉取其他 Git 项目(common-utils)
|
||||
- name: clone-other-project
|
||||
image: alpine/git:latest # 轻量 Git 镜像
|
||||
commands:
|
||||
# 拉取其他项目到指定目录
|
||||
- >
|
||||
git clone
|
||||
-b dev-kingbase-zhongliang-mi-dev
|
||||
--depth 1
|
||||
https://zwzeng:glpat-Ht2452yuDgM84iNzu32b@git.ittx.com.cn/wms/xwms-2-7.git
|
||||
|
||||
# docker 打包
|
||||
- name: deploy
|
||||
image: registry.cn-hangzhou.aliyuncs.com/loghub/wms-system-service:gradle6
|
||||
commands:
|
||||
- cd xwms-2-7
|
||||
- gradle --init-script ~/.gradle/init.gradle clean build --info -x test -x war --refresh-dependencies
|
||||
- ls build/libs/*
|
||||
- cp build/libs/*.war build/libs/mi-wms-test.zip
|
||||
- ossutil -c /root/.ossutilconfig cp build/libs/mi-wms-test.zip oss://ttx-download/projects/mi-wms-test/ -u
|
||||
+14
-22
@@ -2,25 +2,17 @@ kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
|
||||
# 步骤2:拉取其他 Git 项目(common-utils)
|
||||
- name: clone-other-project
|
||||
image: alpine/git:latest # 轻量 Git 镜像
|
||||
commands:
|
||||
# 拉取其他项目到指定目录
|
||||
- >
|
||||
git clone
|
||||
-b dev-kingbase-zhongliang
|
||||
--depth 1
|
||||
https://zwzeng:glpat-Ht2452yuDgM84iNzu32b@git.ittx.com.cn/wms/xwms-2-7.git
|
||||
|
||||
# docker 打包
|
||||
- name: deploy
|
||||
image: registry.cn-hangzhou.aliyuncs.com/loghub/wms-system-service:gradle6
|
||||
commands:
|
||||
- cd xwms-2-7
|
||||
- gradle --init-script ~/.gradle/init.gradle clean build --info -x test -x war --refresh-dependencies
|
||||
- ls build/libs/*
|
||||
- cp build/libs/*.war build/libs/zongliang-wms-test.zip
|
||||
- ossutil -c /root/.ossutilconfig cp build/libs/zongliang-wms-test.zip oss://ttx-download/projects/zongliang-wms-test/ -u
|
||||
|
||||
# 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/redis
|
||||
tags:
|
||||
- 8
|
||||
|
||||
+1
-3
@@ -1,7 +1,5 @@
|
||||
# 基于 RabbitMQ 4.2 管理界面的 Alpine Linux 镜像构建
|
||||
FROM rabbitmq:4.2-management-alpine
|
||||
FROM redis:8.6-rc1-alpine3.23
|
||||
|
||||
# 更新 Alpine 包管理器索引和已安装的软件包以确保安全性
|
||||
RUN set -eux; \
|
||||
apk update; \
|
||||
apk upgrade ;
|
||||
|
||||
Reference in New Issue
Block a user