1 Star 0 Fork 1

caoxl666/KubeFATE

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 871 Bytes
一键复制 编辑 原始数据 按行查看 历史
BUILD-PATH = ${shell pwd}
K8S-DEPLOY = ./k8s-deploy
CHART = ./helm-charts
FML = ./fml_manager
RELEASE_VERSION ?= ${shell git describe --tags}
define sub_make
cd $1 && make $2 && cd ${BUILD-PATH}
endef
all: release
release: k8s-release docker-compose-release helm-chart-release
mkdir -p ${BUILD-PATH}/release
mv ${K8S-DEPLOY}/release/* release/
mv ${BUILD-PATH}/kubefate-docker-compose-${RELEASE_VERSION}.tar.gz release/
mv ${CHART}/fate-*.tgz release/
clean:
rm -r release
k8s-release:
${call sub_make, ${K8S-DEPLOY}, release RELEASE_VERSION=${RELEASE_VERSION}}
docker-compose-release:
tar -czvf kubefate-docker-compose-${RELEASE_VERSION}.tar.gz ./docker-deploy/* ./docker-deploy/.env
helm-chart-release:
${call sub_make, ${CHART}, release RELEASE_VERSION=${RELEASE_VERSION}}
fml-release:
${call sub_make, ${FML}, docker-save VERSION=${RELEASE_VERSION}}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/caoxl666/KubeFATE.git
git@gitee.com:caoxl666/KubeFATE.git
caoxl666
KubeFATE
KubeFATE
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385