1 Star 0 Fork 93

mayun_drz/Apulis AI Platform

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Jenkinsfile 2.72 KB
一键复制 编辑 原始数据 按行查看 历史
yu.feng 提交于 2021-01-26 12:05 . modify jenkinsfile image name
@Library('apulis-build@master') _
buildPlugin ( {
repoName = 'DLWorkspace'
dockerImages = [
[
'imageName': 'cicd/dlworkspace-compile',
'directory': 'dlworkspace-compile/dlworkspace-compile-amd64',
'arch': ['amd64']
],
[
'imageName': 'cicd/dlworkspace-compile',
'directory': 'dlworkspace-compile/dlworkspace-compile-arm64',
'arch': ['arm64']
],
[
'compileContainer': 'cicd/dlworkspace-compile',
'preBuild':[
['src/ClusterBootstrap', 'mkdir -p build'],
['src/ClusterBootstrap/build', 'rm -rf restfulapi2'],
['src/ClusterBootstrap', 'pip install -r scripts/requirements.txt'],
['src/ClusterManager', 'pip install -r requirements.txt'],
['src/ClusterBootstrap/build', 'cp -r ../../docker-images/restfulapi2 .'],
['src/ClusterBootstrap', 'cp config.yaml.template config.yaml'],
['src/ClusterBootstrap', 'python ./deploy.py rendertemplate ../docker-images/restfulapi2/ports.conf build/restfulapi2/ports.conf'],
['src/ClusterBootstrap', 'python ./deploy.py rendertemplate ../docker-images/restfulapi2/000-default.conf build/restfulapi2/000-default.conf'],
['src/ClusterBootstrap/build/restfulapi2', 'cp -r ../../../Jobs_Templete Jobs_Templete'],
['src/ClusterBootstrap/build/restfulapi2', 'cp -r ../../../utils utils'],
['src/ClusterBootstrap/build/restfulapi2', 'cp -r ../../../RestAPI RestAPI'],
['src/ClusterBootstrap/build/restfulapi2', 'cp -r ../../../ClusterManager ClusterManager'],
['src/ClusterBootstrap/build/restfulapi2', 'cp ../../../../version-info version-info']
],
'imageName': 'apulistech/dlworkspace-restfulapi2',
'directory': 'src/ClusterBootstrap/build/restfulapi2',
'arch': ['amd64','arm64']
],
[
'compileContainer': 'cicd/dlworkspace-compile',
'preBuild':[
['src/ClusterBootstrap', 'mkdir -p build/webui3'],
['src/ClusterBootstrap', 'pip install -r scripts/requirements.txt'],
['src/ClusterManager', 'pip install -r requirements.txt'],
['src/ClusterBootstrap/build', 'cp -r ../../docker-images/webui3 .'],
['src/ClusterBootstrap', 'cp config.yaml.template config.yaml'],
['src/ClusterBootstrap/build/webui3', 'cp -rf ../../../dashboard/* .']
],
'imageName': 'apulistech/dlworkspace-webui3',
'directory': 'src/ClusterBootstrap/build/webui3',
'arch': ['amd64','arm64']
]
]
})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/drz666/Apulis-AI-Platform.git
git@gitee.com:drz666/Apulis-AI-Platform.git
drz666
Apulis-AI-Platform
Apulis AI Platform
v1.5.0

搜索帮助