摘要: 1、说明 Jenkins的Master-Slave架构特点可解决多并发任务的负载问题;Master节点提供WebGUI和API功能来管理运行任务,Slave节点运行Master分配的任务; 这也意味着Slave节点可以分布在不同平台并且无需安装Jenkins的完整包。 2、配置 jenkins版本: 阅读全文
posted @ 2020-10-14 15:18 Zero116 阅读(513) 评论(0) 推荐(0) 编辑
摘要: 1、Jenkins pipeline 使用邮件扩展发送邮件 https://www.cnblogs.com/imyalost/p/8781759.html 2、jenkins配置邮件通知 https://blog.51cto.com/5766902/2317533 阅读全文
posted @ 2020-10-12 12:33 Zero116 阅读(932) 评论(0) 推荐(0) 编辑
摘要: 原文: https://sutune.me/2018/08/05/httprunner/ https://www.cnblogs.com/suitcases/p/10181049.html HttpRunner 简介 HttpRunner 是一款面向 HTTP(S) 协议的通用测试框架,只需编写维护 阅读全文
posted @ 2020-09-30 15:02 Zero116 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 一、 选择主题 转到主题制作网站 jenkins-material-theme 1. 选择主题颜色 可以选择自己喜欢的任何颜色,这里紫色只做演示 2.上传Logo 要求png格式图片,最小高度40px 3. 下载主题 上传好logo后就可以下载插件主题 下载的主题文件名为: jenkins-mate 阅读全文
posted @ 2020-09-10 11:42 Zero116 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 一、配置uwsgi 1、安装 pip install uwsgi 2、新增文件uwsgi.ini;跟manage.py 同一级目录 1 [uwsgi] 2 ; 监听的端口 3 http = :8000 4 5 ; 指定和nginx进行套接字通信的方式:端口或文件 6 ; socket = 127.0 阅读全文
posted @ 2020-08-11 15:39 Zero116 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 1. 备份原来的yum源 $sudo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo-backup 2.设置aliyun的yum源 $sudo wget -O /etc/yum.repos.d/CentOS 阅读全文
posted @ 2020-04-20 17:46 Zero116 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 将pip的源换为国内的。 1.新建目录及文件~/.pip/pip.conf 2.内容为: [global]index-url = https://pypi.tuna.tsinghua.edu.cn/simple [install]trusted-host=mirrors.aliyun.com 阅读全文
posted @ 2020-04-17 17:49 Zero116 阅读(999) 评论(0) 推荐(0) 编辑
摘要: 1、Harbor 搜索镜像及查看 tag 1、如果想要通过 API 获取 Harbor 上面的镜像及 tag 可以使用下面整理的脚本: cacat get_images.sh #!/bin/bash USER="admin" PASS="Harbor12345" HURL="http://192.1 阅读全文
posted @ 2020-03-05 15:06 Zero116 阅读(827) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/surplus/p/11441186.html 阅读全文
posted @ 2020-03-04 12:31 Zero116 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 一.说明 mac电脑自带终端神奇iterm2,日常登录服务器操作一般场景为ssh user@ip,确认后再输入密码操作。 该操作较为麻烦且需通过hostname判断所在主机。 通过ssh生成秘钥方式较为麻烦,先推荐使用iterms自带功能进行服务器登录。 二.使用 1、建立记住密码功能 1.1 本地 阅读全文
posted @ 2020-02-27 19:07 Zero116 阅读(2101) 评论(0) 推荐(0) 编辑