Skip to content

This repository contains code code to assist installing the application stack as required by the NSL apps (editor, mapper and services). It also contains code to enable CI/CD using jenkins

License

Notifications You must be signed in to change notification settings

pmcneil/nsl-infra

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains code code to assist installing the application stack as required by the NSL apps (editor, mapper and services)

Technologies used are:

  • Ansible
  • Packer
  • Vagrant

Steps to stand up a new environment:

  1. Provision a ubuntu / redhat machine possibly in AWS ( or elsewhere) ( If using Vagrant Oracle VirtualBox is used to automatically provision a VM)
  2. Include the public ip/hostname and the private ip in the inventory/your_env_name_file
  3. Create corresponding dir and files under group_vars. Use the existing env dir/files as examples
  4. Run the following ansible-playbook command to install
    1. Tomcat
    2. Postgres
    3. ApacheDS ansible-playbook -i inventory/*your_env_name_file* -u ubuntu --private-key ../DAWRAWSSYD.pem playbooks/site.yml
  5. Run the following ansible-playbook command to deploy war files for the NSL apps ansible-playbook -i inventory/*your_env_name_file* -u ubuntu --private-key ../DAWRAWSSYD.pem playbooks/deploy.yml

CI/CD set:

Jenkins is our CI server. Under the covers jenkins uses

  • shell scripts,
  • Ansible playbooks,
  • github wehooks

As soon as a developer pushes changes to the remote github repo ; github webhook will trigger a build job in jenkins. Jenkins plugins used ( not an exaustive list) :

Report bugs using github issues

About

This repository contains code code to assist installing the application stack as required by the NSL apps (editor, mapper and services). It also contains code to enable CI/CD using jenkins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 86.3%
  • Groovy 13.7%