shell + python脚本监控gitlab ci停滞任务数
生产实践:
用于Gitlab sidekiq队列停滞任务数清除重启
学习技巧:
Shell while、function,Python BeautifulSoup使用
脚本内容:
Gitlab CI任务停滞数达到几百时会导致发布系统任务阻塞,影响开发使用,之前出过几次问题,搞个脚本...
Continue reading >>生产实践:
用于Gitlab sidekiq队列停滞任务数清除重启
学习技巧:
Shell while、function,Python BeautifulSoup使用
脚本内容:
Gitlab CI任务停滞数达到几百时会导致发布系统任务阻塞,影响开发使用,之前出过几次问题,搞个脚本...
Continue reading >>生产实践:
用于Gitlab sidekiq进程挂掉自动重启
学习技巧:
while、if语句、检测记数function,sidekiq启动
脚本内容:
上次搞了个通宵,把公司用了大几年的gitlab从8.11一步步手动编译升级到了11.4.14,没想到踩了个大坑,这个版本的sidekiq调用re2正...
Continue reading >>◎ https://github.com/anzhihe/learning/tree/master/shell,移至github更新
bash4.0中文手册 [Download]
Linux学习笔记 [Download]
The Linux Command Line中文版 [Download]
abs-guid...
生产实践:
使用shell脚本更改Gitlab所有用户创建项目限制数
学习技巧:
curl使用、双层for循环、shell数组、gitlab api调用
脚本内容:
最近好几个开发同事反馈gitlab不能创建仓库,没有创建按钮,一看原来是projects_limit数到限制了,gitlab默认是每个用...
Continue reading >>生产实践:
使用shell脚本并发查询存在单点容器的服务树节点
学习技巧:
curl使用、模拟队列并发、fifo管道
脚本内容:
选取404个服务树节点,通过shell脚本并发查出有单点容器的节点并输出单点容器ip、服务树节点信息,使用模拟队列和fifo管道两种查询方式。可以先了解下shell脚本并发...
Continue reading >>The following methods demonstrate different methods on how to compute the time a potion of code or script take to complete their execution.
Time Methods - Full Examples (141 downloads)