Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project XWiki

This repo by project for deploy xwiki v. 11.4

Zero point:

2 vagrant machines based on centos 7:

  • stage vm ip 192.168.0.240
  • prod vm ip 192.168.0.242

Dockerfile stores image with ansible 2.7.10

Build the image as:

docker build -t <SOMENAME>/ansible .

For example SOMENAME as afinsky:

docker build -t afinsky/ansible .

Test the ansible running inside the container:

docker run --rm -it -v $(pwd):/ansible/playbooks \
    afinsky/ansible --version

Jenkinsfile stores pipe description for local Jenkins machine

Clone repo with Jenkinsfile ->

Play Jenkinsfile on node (slave-machine):

-> Clone full repo master branch ->

-> Build image from ansible version 2.7.10 from Dockerfile ->

-> Create container with ansible ->

-> Run playbook on stage-mashine ->

-> Approve if you want run playbook on prod-mashine ->

[if okay] -> Run playbook on prod-mashine ->

-> Remove container with ansible ->

-> Job Status Notification in Slack

About

This repo by project for deploy xwiki

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages