Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/liatrio-chef/hygieia-dev-baked

A baked vagrant box that spins up a pipeline consisting of archiva, github, sonarqube, jenkins, tomcat, selenium, and hygieia.
https://github.com/liatrio-chef/hygieia-dev-baked

Last synced: 3 months ago
JSON representation

A baked vagrant box that spins up a pipeline consisting of archiva, github, sonarqube, jenkins, tomcat, selenium, and hygieia.

Awesome Lists containing this project

README

        

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 [email protected]:liatrio/hygieia-dev-baked.git`

`vagrant up`

![Alt text](media/pipeline.png)

Pipeline (Internal IP 192.168.100.10)
- Jenkins - Browse to [http://localhost:18083/](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/](http://localhost:18081/)
- admin :: admin1
- snapshots :: snapshots1
- deploy :: deploy1

- Sonarqube - Browse to [http://localhost:19000/](http://localhost:19000/)
- admin :: admin

- Tomcat - Browse to [http://localhost:18082/](http://localhost:18082/)
- petclinic is deployed to a link in the form of [http://localhost:18082/spring-petclinic-4.2.4-20160314.054124-1/](http://localhost:18082/spring-petclinic-4.2.4-20160314.054124-1/) - which can be be derived from the jenkins build console output

- Hygieia - Browse to [http://localhost:13000/](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: [email protected]