Skip to content

maxkrukov/capians

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

403 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

capians

Tool for deployment (deploy & rollback) via git (https or ssh).

Links

About

It is based on ansible with capistrano3 algorithm. It keeps git repo in bare form. So it saves time especially using a large repos. Optionally it is integrated with jenkins with Telegram massaging.

How to test

Console usage

Requirements

  • ansible 2.4.1.0
  • Vagrant 1.8.1
  • virtualbox 4.3 or higher

You need to install ansible, vagrant and virtualbox

yum install -y git ansible vagrant virtualbox

or

apt install -y git ansible vagrant virtualbox
continue
git clone https://github.com/maxkrukov/capians.git
cd ./capians
vagrant up
cp vars.example vars  # Set your vars into it
To deploy:
ansible-playbook deploy.yml 
To rollback:
ansible-playbook deploy.yml -e "act=rollback"

Custom tasks

You can also configure templates, {pre,after}-symlink tasks for deploy/rollback . Configure files located in roles/{deploy/rollback}/tasks/custom/ . It has ansible yaml syntax.

Jenkins integration with telegram massaging

About

It is very simple tool for deploy, rollback, testing based on ansible and jenkins. Job is fully parameterized. You need to run jenkins.dsl script to configure job structure. Then set all parameters for your environment. Instruction will be provided below soon.

Requirements

About

Tool for deployment

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages