控制台脚本使devops更容易
fluiddevops的Python项目详细描述
fluiddevops是一个小软件包,它提供了一些控制台脚本 使DevOps更容易。
有关运行Docker容器的详细信息,请参阅目录docker。
安装
python setup.py develop
功能
fluidmirror或fm可轻松设置 一组包的Mercurial和Git镜像,并定期检查 更新信息:
basic commands: init initialize mirror.cfg list list configuration clone hg clone set-remote set remote (push) path in hgrc pull hg pull -u push hg push sync sync: pull and push run run a shell command inside the repo(s)
fluidicat显示命令的输出或文件的内容 间歇性:
positional arguments: FILE Files to read, if empty, stdin is used optional arguments: -h, --help show this help message and exit -e EVERY, --every EVERY Print every N line -w WAIT, --wait WAIT Wait time before displaying a message
bitbucket或bb与位桶交互:
basic commands: init initialize bitbucket configuration file create create a new bitbucket repository update update an existing bitbucket repository delete delete an existing bitbucket repository clone clone a bitbucket repository pull pull a bitbucket repository create_from_local create a bitbucket repo from existing local repo pull_request open a bitbucket pull request download download a file from a bitbucket repo list list all bitbucket repos privilege update account privilege on an existing repo group-privilege update group privilege on an existing repo add_remote add remote url See `bitbucket <command> --help` for more information on a specific command.