All Projects → geerlingguy → drupalci-sonar-jenkins

geerlingguy / drupalci-sonar-jenkins

Licence: other
DEPRECATED - Drupal CI environment with SonarQube and Jenkins for Drupal Core code analysis.

Projects that are alternatives of or similar to drupalci-sonar-jenkins

generator-mitosis
A micro-service infrastructure generator based on Yeoman/Chatbot, Kubernetes/Docker Swarm, Traefik, Ansible, Jenkins, Spark, Hadoop, Kafka, etc.
Stars: ✭ 78 (+95%)
Mutual labels:  jenkins, vagrant, sonarqube
Beetbox
Pre-provisioned L*MP stack
Stars: ✭ 94 (+135%)
Mutual labels:  vagrant, vm, drupal
Drupal Vm
A VM for Drupal development
Stars: ✭ 1,348 (+3270%)
Mutual labels:  vagrant, vm, drupal
acquia-cloud-vm
VirtualBox/Vagrant-based VM to closely match Acquia Cloud environment.
Stars: ✭ 20 (-50%)
Mutual labels:  vagrant, vm, drupal
cikit
Continuous Integration Kit (CIKit)
Stars: ✭ 21 (-47.5%)
Mutual labels:  jenkins, vagrant, vm
Book k8sInfra
< 컨테이너 인프라 환경 구축을 위한 쿠버네티스/도커 >
Stars: ✭ 176 (+340%)
Mutual labels:  jenkins, vagrant
buildserver
Multiplatform development environment with Vagrant and Ansible
Stars: ✭ 18 (-55%)
Mutual labels:  jenkins, sonarqube
vagrant-alm
An excerpt of an ALM environment built on top of Vagrant, Libvirt and Ansible
Stars: ✭ 44 (+10%)
Mutual labels:  jenkins, vagrant
Jenkins Bootstrap Shared
Jenkins as immutable infrastructure made easy. A repository of shared scripts meant to be used as a git submodule. Packing Jenkins, plugins, and scripts into immutable packages and images.
Stars: ✭ 270 (+575%)
Mutual labels:  jenkins, vagrant
2021-nolto
부담없이 자랑하는 작고 소중한 내 프로젝트 🧸✨
Stars: ✭ 34 (-15%)
Mutual labels:  jenkins, sonarqube
Ansible Playbooks
Ansible playbook collection that have been written for Ubuntu. Some of the playbooks are Elasticsearch, Mesos, AWS, MySql, Sensu, Nginx etc..
Stars: ✭ 429 (+972.5%)
Mutual labels:  jenkins, vagrant
ods-jenkins-shared-library
Shared Jenkins library which all ODS projects & components use - provisioning, SonarQube code scanning, Nexus publishing, OpenShift template based deployments and repository orchestration
Stars: ✭ 51 (+27.5%)
Mutual labels:  jenkins, sonarqube
learn-ansible-and-jenkins-in-30-days
Ansible + Jenkins in 30 days tutorial.
Stars: ✭ 35 (-12.5%)
Mutual labels:  jenkins, vagrant
docker
collection of docker / docker-compose files, dind, gitlab, jenkins, mongo, mysql, oracle, rabbitmq, redis, sonarqube
Stars: ✭ 25 (-37.5%)
Mutual labels:  jenkins, sonarqube
SeleniumTDD
A Selenium TDD framework that incorporates key features of Selenium and TestNG which can be used to create web-based automation scripts.
Stars: ✭ 23 (-42.5%)
Mutual labels:  jenkins, sonarqube
ansible-roles
Library of Ansible plugins and roles for deploying various services.
Stars: ✭ 14 (-65%)
Mutual labels:  jenkins, vagrant
Docker For All
Docker applied in development, devops, testing, product management etc.
Stars: ✭ 88 (+120%)
Mutual labels:  jenkins, sonarqube
Dashboard
📺 Create your own team dashboard with custom widgets. Built with Next.js, React, styled-components and polished.
Stars: ✭ 1,007 (+2417.5%)
Mutual labels:  jenkins, sonarqube
Zebrunner
Zebrunner is a Test Automation Management Tool
Stars: ✭ 131 (+227.5%)
Mutual labels:  jenkins, sonarqube
vagrant-jenkins
Vagrant box running Ubuntu with an installed Jenkins instance
Stars: ✭ 39 (-2.5%)
Mutual labels:  jenkins, vagrant

DEPRECATED - Jenkins and SonarQube Drupal CI and Static Code Analysis

DEPRECATION NOTICE: This project has been deprecated as of 2018; please see Issue #27: Deprecate this project for details and further discussion.

Drupal CI SonarQube Dashboard

This Vagrant configuration (with Ansible for provisioning) will install Jenkins, PHP, SonarQube, and Drupal CI profiles for code analysis (along with a bunch of other required software).

How is this helpful? It's easy to track things like code complexity, lines of code, comment percentage, coding standards compliance, and test coverage over time. Code quality helps make Drupal more maintainable, especially as the project continues to grow!

Quick Start Guide

1 - Install dependencies (VirtualBox, Vagrant, Ansible)

  1. Download and install VirtualBox.
  2. Download and install Vagrant.
  3. [Mac/Linux only] Install Ansible.
  4. Install Ansible roles: ansible-galaxy install -r requirements.yml (inside this directory).

Note for Windows users: This guide assumes you're on a Mac or Linux host. Windows support may be added when I get a little more time; the main difference is Ansible needs to be bootstrapped from within the VM after it's created. See JJG-Ansible-Windows for more information.

2 - Build the Virtual Machine

  1. Download this project and put it wherever you want.
  2. Open Terminal, cd to this directory (containing the Vagrantfile and this REAMDE file).
  3. Type in vagrant up, and let Vagrant do its magic.

Note: If there are any errors during the course of running vagrant up, and it drops you back to your command prompt, just run vagrant provision to continue building the VM from where you left off. If there are still errors after doing this a few times, post an issue to this project's issue queue on GitHub with the error.

3 - Configure your host machine to access the VM.

  1. Edit your hosts file, adding the line 192.168.99.9 drupalci.dev so you can connect to the VMs.
  2. Open your browser and access http://drupalci.dev/.

Notes

  • If you're running this on a production server (visible to the Internet), make sure you configure Jenkins and Sonar security, and set secret/complex MySQL passwords for both the root and sonar users! (When setting up Jenkins security, be careful to not lock yourself out; if you do, you need to edit the Jenkins config.xml file and restart Jenkins).
  • To shut down the virtual machine, enter vagrant halt in the Terminal in the same folder that has the Vagrantfile. To destroy it completely (if you want to save a little disk space, or want to rebuild it from scratch with vagrant up again), type in vagrant destroy.
  • Find out more about local development with Vagrant + VirtualBox + Ansible in this presentation: Local Development Environments - Vagrant, VirtualBox and Ansible.
  • Learn about how Ansible can accelerate your ability to innovate and manage your infrastructure by reading Ansible for DevOps.

Author Information

This project was created in 2014 by Jeff Geerling, author of Ansible for DevOps.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].