Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 2.15 KB

README.md

File metadata and controls

54 lines (39 loc) · 2.15 KB

hygieia-dev-baked Vagrant Box

A baked vagrant box that spins 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

Usage

git clone git@github.com:liatrio/hygieia-dev-baked.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/

  • Hygieia - Browse to http://localhost:13000/

    • admin :: password
    • an existing spring-petclinic dashboard is configured
  • Selenium

    • 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

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