Git Product home page Git Product logo

devops's Introduction

devops

关于基础架构实践

git服务器

服务器上的 Git - 配置服务器按照文中描述进行.

依据公匙来判断用户的身份

自定义 Git - 使用强制策略的一个例子 中提到

如果你允许所有操作都通过公匙授权的单一帐号(比如“git”)进行,就有必要通过一个 shell 包装脚本依据公匙来判断用户的身份,并且相应地设定环境变量来表示该用户的身份。

具体的做法是使用gitolite.

git-shell

这里描述了如何自定义git-shell-commands, 来管理裸仓库.

git post-receive 触发jenkins任务.

这里描述了一种通过git post-receive触发jenkins任务的方法. 自定义-Git-使用强制策略的一个例子

创建一个bare仓库

$ ssh git@gitserver
git > create sample.git

很好的git资源

使用docker来运行软件组件. 使用国内镜像.

ansible

  • [Ansible for DevOps]
  • [ansible up & running]

vagrant

启动脚本参照了kubernets的vagrant provider实现

saltstack

问题

使用centos/7作为box时,Vagrantfile文件所在目录会被挂载到/home/vagrant/sync, 但当虚拟机启动后,在宿主机上的后续变更,不会被同步到虚拟机中, 使用synced_folder时,出现错误,不能被正确挂载 解决方法 当使用该文档中的方法加上type: "nfs"时,vagrant up时,会在宿主机上启动NFS服务器,该过程要求sudo输入密码,这与自动化不匹配

使用 ubuntu/trusty64 时, stdin: is not a tty

devops's People

Contributors

potterhe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.