Jenkins Ansible集成 准备工作 参考https://www.cnblogs.com/bk770466199/p/12259007.html完成以下准备工作 需要在jenkins服务器上,配置ansible2.5+python 3.6虚拟环境 配置jenkins.example.com主 ...
分类:
其他好文 时间:
2020-02-23 17:58:33
阅读次数:
45
Druid是一个关系型数据库连接池,它是阿里巴巴的一个开源项目。Druid支持所有JDBC兼容数据库,包括了Oracle、MySQL、PostgreSQL、SQL Server、H2等。Druid在监控、可扩展性、稳定性和性能方面具有明显的优势。通过Druid提供的监控功能,可以实时观察数据库连接池 ...
分类:
编程语言 时间:
2020-02-23 14:37:58
阅读次数:
72
patroni集群第一次初始化失败,再次使用原来的配置尝试初始化,查看信息,不同节点都显示同一个信息:waiting for leader to bootstrap # systemctl status patroni.service ● patroni.service - PostgreSQL h ...
分类:
其他好文 时间:
2020-02-23 11:18:29
阅读次数:
139
docker pull gitlab/gitlab-ce:latest mkdir -p /opt/dockerdata/gitlab/config /opt/dockerdata/gitlab/logs /opt/dockerdata/gitlab/data docker run -d -h gi ...
分类:
其他好文 时间:
2020-02-22 19:52:08
阅读次数:
61
gitlab备份与恢复 建议相同版本 gitlab安装的服务器,内存,存储一定要大 一、gitlab备份 使用命令 gitlab-rake gitlab:backup:create 该命令会备份gitlab仓库、数据库、用户、用户组、用户密钥、权限等信息。(恢复后的gitlab登录口令为备份的口令) ...
分类:
其他好文 时间:
2020-02-22 12:03:33
阅读次数:
65
Jenkins 参数集成 1.新建项目 2.添加选项 #!/bin/sh echo "Current deploy environment is $deploy_env" echo "The build is $version" echo "The paasword is $pass" if $bo ...
分类:
其他好文 时间:
2020-02-21 14:31:36
阅读次数:
65
Jenkins Git集成 1.新建项目 2.新建gitlab项目 克隆地址 3.添加git选项 4.build并查看日志 ...
分类:
其他好文 时间:
2020-02-21 14:25:05
阅读次数:
65
前言Pipeline名词顾名思义就是流水线的意思,因为公司可能会有很多项目,如果使用jenkins构建完成后,开发构建项目需要一项一项点击,比较麻烦,因此,pipeline就应用而生了。部署Pipeline——代码流水线管理1)环境准备:IP地址Jenkins192.168.1.8测试端192.168.1.7部署Jenkins可以参考Jenkins+Gitlab实现持续集成2)Jenkins服务器
分类:
其他好文 时间:
2020-02-21 10:04:17
阅读次数:
85
##9.4开始通过关键字currentSchema指定jdbc:postgresql://localhost:5432/mypgsql?currentSchema=myschema ##旧版本通过searchpath指定jdbc:postgresql://localhost:5432/mypgsql ...
分类:
数据库 时间:
2020-02-20 20:33:44
阅读次数:
105
服务器:centos 客户端:windows(pgAdmin) 1、服务器yum安装 地址:https://www.postgresql.org/download/linux/redhat/ 选择对应要安装的版本,服务器版本后自动会给出地址 dnf install https://download. ...
分类:
数据库 时间:
2020-02-20 15:36:38
阅读次数:
104