代码拉取完成,页面将自动刷新
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}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。