puck's People
puck's Issues
默认配置需调整
DEFAULT_DEPLOY_DIR="/data/x/projects" #发布到目标机的文件夹
DEFAULT_GIT_REPO_BASE="[email protected]:xcodecraft/" #git仓库根路径,默认情况下,据$DEFAULT_GIT_REPO_BASE$prj clone工程
DEFAULT_REMOTE_USER="xxx" #主要影响文件所主
DEFAULT_PRJ_GROUP="xxx" #默认prj_group
PATCH_BASEPATH=$HOME/release/patches #发布过程中,patch文件存储路径
RELEASE_BASEPATH=$HOME/release #发布过程中,临时文件存放路径
DEFAULT_DEPLOY_DIR 是不合适的 。
因为:
sdk 会发布到 /data/x/sdks
建议:
DEFAULT_PRJ_GROUP => DEFAULT_PLATFORM
发布支持 --env 参数
场景:
online 环境有多组机器:
online-zone-c
online-zone-b
发布时需要:
puck.sh --env online --host online-zone-c
支持 发布计划 --plan
场景:
一个项目,有API的系统,有后台任务的系统。
这时就需要两个不同的发布计划
puck.sh --prj myprj --plan myprj_api
puck.sh --prj myprj --plan myprj_task
puck 命令建议
puck all --prj prj --host <dev|demo|online> --tag [tag| branch| commit ]
puck patch --prj prj --host <dev|demo|online> --tag [tag]
puck 需要支持分支发布
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.