Skip to content

An unbaked vagrant box that uses chef to spin up a pipeline consisting of archiva, github, sonarqube, jenkins, tomcat, selenium, and hygieia.

Notifications You must be signed in to change notification settings

liatrio-chef/hygieia-dev-unbaked

Repository files navigation

hygieia-dev-unbaked Vagrant Box

An unbaked vagrant box that uses chef to spin up a pipeline consisting of archiva, github, sonarqube, jenkins, tomcat, selenium, and hygieia.

The unbaked version can be found here: https://github.com/liatrio-chef/hygieia-dev-unbaked

The baked version can be found here: https://github.com/liatrio-chef/hygieia-dev-baked

Requirements

Vagrant 1.8.1

ChefDK must be installed: https://downloads.chef.io/chef-dk/

vagrant-berkshelf plugin must installed: vagrant plugin install vagrant-berkshelf. This cookbook relies on Berkshelf to pull wrapper cookbook dependencies from https://github.com/liatrio-chef

Usage

git clone git@github.com:liatrio/hygieia-dev-unbaked.git

vagrant up

Alt text

Pipeline (Internal IP 192.168.100.10)

  • Jenkins - Browse to http://localhost:18083/

    • may need to build petclinic 1-3x due to network issues if archiva fails to mirror artifacts
    • on successful build the war is deployed to the tomcat instance by scp'ing the artifact from archiva to /opt/tomcat_petclinic/webapps
  • Archiva - Browse to http://localhost:18081/

    • admin :: admin1
    • snapshots :: snapshots1
    • deploy :: deploy1
  • Sonarqube - Browse to http://localhost:19000/

    • admin :: admin
  • Tomcat - Browse to http://localhost:18082/

  • Selenium - Browse to http://localhost:14444/

    • Chrome and Firefox are provided
    • Each run as a Jenkins to test searching for an Owner in the Petclinic app.
    • A screenshot is captured for each browser in /var/lib/jenkins/jobs/selenium-chrome-petclinic-test/workspace/checkup_chrome.png and /var/lib/jenkins/jobs/selenium-firefox-petclinic-test/workspace/checkup_firefox.png
  • Hygieia - Browse to http://localhost:13000/

    • create a user and dashboard, the collectors are aware of the different components

Configuration

Modify /home/vagrant/dashboard.properties to point to your existing servers and then restart all collectors by running: cd /etc/systemd/system; sudo systemctl restart hygieia-*

License and Authors

Authors: drew@liatrio.com

About

An unbaked vagrant box that uses chef to spin up a pipeline consisting of archiva, github, sonarqube, jenkins, tomcat, selenium, and hygieia.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages