随笔分类 -  持续集成

上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 39 下一页

Module Sources
摘要:转自:https://www.terraform.io/docs/modules/sources.html 主要记录module source 的格式 The source argument in a module block tells Terraform where to find the so 阅读全文

posted @ 2019-03-27 11:03 荣锋亮 阅读(300) 评论(0) 推荐(0) 编辑

创建一个简单的terraform module
摘要:terraform module可以实现代码的复用,同时方便分享,下面创建一个简单的基于localfile && template provider 的module module 项目 一个简单基于模板生成curl 配置module 项目结构 ├── README.md ├── init.tpl ├ 阅读全文

posted @ 2019-03-27 10:46 荣锋亮 阅读(1679) 评论(0) 推荐(0) 编辑

Writing and playing with custom Terraform Providers
摘要:转自:https://petersouter.xyz/writing-and-playing-with-custom-terraform-providers/ I’ve been digging deeper on Terraform. It’s something I’ve tinkered wi 阅读全文

posted @ 2019-03-26 18:33 荣锋亮 阅读(559) 评论(0) 推荐(0) 编辑

Write your own Terraform provider: Part 1
摘要:转自:https://container-solutions.com/write-terraform-provider-part-1/ This is the first part of a series of blog posts that explain how to write Terrafo 阅读全文

posted @ 2019-03-26 18:32 荣锋亮 阅读(320) 评论(0) 推荐(0) 编辑

Creating Modules
摘要:转自官方文档,主要说明如何创建模块 https://www.terraform.io/docs/modules/index.html A module is a container for multiple resources that are used together. Modules can 阅读全文

posted @ 2019-03-26 15:47 荣锋亮 阅读(199) 评论(0) 推荐(0) 编辑

terraform plugin 版本以及changlog 规范
摘要:文章来自官方文章,转自:https://www.terraform.io/docs/extend/best-practices/versioning.html 里面包含了版本命名的规范,以及changlog 的编写,对于实际的开发具有很大的价值 Given the breadth of availa 阅读全文

posted @ 2019-03-25 19:05 荣锋亮 阅读(843) 评论(0) 推荐(0) 编辑

Terraform Detecting Drift
摘要:转自:https://www.terraform.io/docs/extend/best-practices/detecting-drift.html 这篇文章主要说明了对于资源如何处理 read&&create,可以让我们了解如何进行状态管理 One of the core challenges 阅读全文

posted @ 2019-03-25 17:20 荣锋亮 阅读(392) 评论(0) 推荐(0) 编辑

使用terraform-provider-s3 操作minio
摘要:尽管默认官方提供了s3 的操作,但是对于开源minio 无法支持,更多的是aws 的s3,社区提供了一个通用 s3 操作的provider(基于minio 的sdk) 环境准备 docker-compose 文件 version: "3" services: s3: image: minio/min 阅读全文

posted @ 2019-03-25 14:51 荣锋亮 阅读(527) 评论(0) 推荐(0) 编辑

Terraform 自定义provider 开发
摘要:内容来自官方文档,主要是进行学习自定义provider 开发的流程 开发说明 我们需要开发的有provider 以及resource 对于resource 我们需要进行crud 的处理,同时还需要进行状态的 处理 项目初始化 dep 使用dep 进行包管理 dep init provider pac 阅读全文

posted @ 2019-03-25 11:28 荣锋亮 阅读(1698) 评论(0) 推荐(0) 编辑

Writing Custom Providers
摘要:转自:https://www.terraform.io/docs/extend/writing-custom-providers.html 很详细,做为一个记录 In Terraform, a Provider is the logical abstraction of an upstream AP 阅读全文

posted @ 2019-03-25 09:02 荣锋亮 阅读(498) 评论(0) 推荐(0) 编辑

terraform 几个方便的工具
摘要:几个方便的terraform 工具,方便了解terraform terraform-docs 方便的查看资源的信息(支持markdown,json 格式),对于ci/cd 很方便 项目地址 https://github.com/segmentio/terraform-docs 安装 for mac 阅读全文

posted @ 2019-03-19 14:01 荣锋亮 阅读(2701) 评论(0) 推荐(0) 编辑

几张简单的terraform flow 图——可以快速了解terraform的使用
摘要:以下是一个简单额terraform flow 我们快速的了解terraform 的使用,基于流程 参考图 参考架构 简单使用流程 说明 从上图我们可以看出terraform 的使用 tf 内容编写 定义变量,定义输出(可选的) 编写主要的任务(main.tf) 执行terraform 的操作(资源生 阅读全文

posted @ 2019-03-19 13:31 荣锋亮 阅读(1477) 评论(0) 推荐(0) 编辑

使用k8s && minio 进行 postgres 数据库自动备份
摘要:通过k8s 的定时任务job,我们可以方便的进行定时任务应用的开发,通过minio s3 兼容的cloud native 存储 我们可以方便的通过http 请求进行数据文件的备份,以下简单演示下如何进行集成 环境准备 docker 镜像修改自 https://github.com/Remigius2 阅读全文

posted @ 2019-03-18 18:48 荣锋亮 阅读(2726) 评论(0) 推荐(0) 编辑

nightwatchjs 基于nodejs&& webdriver 协议的自动化测试&&持续集成框架
摘要:nightwatchjs 是基于nodejs&& webdriver 协议的自动化测试&&持续集成框架 参考架构 参考资料 http://nightwatchjs.org/gettingstarted/#browser-drivers-setup 阅读全文

posted @ 2019-03-16 10:58 荣锋亮 阅读(361) 评论(0) 推荐(0) 编辑

试用 openresty/lua-resty-shell
摘要:openresty/lua-resty-shell 是当前最新rc 版本内置的shell 功能,我们可以用来执行一个脚本,以及命令 还是比较方便的。 测试集成了一个oreilly电子书下载的功能 环境准备 docker-compose 文件 version: "3" services: nginx: 阅读全文

posted @ 2019-03-08 13:45 荣锋亮 阅读(1089) 评论(0) 推荐(0) 编辑

kubebapps 添加私有harbor 中的helm repo
摘要:kubebapps 支持添加私有的helm repo,基于http basic auth ,我们通过添加header 就可以了 备注 harbor helm 以及kubebapps 的搭建可以参考 https://www.cnblogs.com/rongfengliang/p/9974172.htm 阅读全文

posted @ 2019-03-06 10:51 荣锋亮 阅读(1277) 评论(0) 推荐(0) 编辑

CONTINUOUS MIGRATION
摘要:转自:https://pgloader.io/blog/continuous-migration/ After having been involved in many migration projects over the last 10 years, I decided to publish t 阅读全文

posted @ 2019-03-05 10:48 荣锋亮 阅读(266) 评论(0) 推荐(0) 编辑

混沌工程原则
摘要:转自: https://github.com/wizardbyron/principlesofchaos_zh-cn 混沌工程是在分布式系统上进行实验的学科, 目的是建立对系统抵御生产环境中失控条件的能力以及信心。 大规模分布式软件系统的发展正在改变软件工程。作为一个行业,我们很快采用了提高开发灵活 阅读全文

posted @ 2019-03-04 18:17 荣锋亮 阅读(1402) 评论(0) 推荐(0) 编辑

验证远程主机SSH指纹
摘要:转自:https://marskid.net/2018/02/05/how-to-verify-ssh-public-key-fingerprint/ 使用SSH进行远程连接新的主机的时候,经常会看到一个提示: $ ssh 127.0.0.1 The authenticity of host '12 阅读全文

posted @ 2019-02-28 09:01 荣锋亮 阅读(8049) 评论(0) 推荐(3) 编辑

GitLab Shell如何通过SSH工作
摘要:转自:https://wayjam.me/post/how-gitlab-shell-works-with-ssh.md GitLab访问Git仓库 首先回顾GitLab的Git仓库四种访问方式: git pull over http -> gitlab-rails (Authorization) 阅读全文

posted @ 2019-02-27 22:37 荣锋亮 阅读(877) 评论(0) 推荐(0) 编辑

上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 39 下一页

导航