GitHub Pull Request Builder for Drupal

23
DevOps - https://amsterdam2014.drupal.org/session/github-pull-request-builder-drupal GitHub Pull Request Builder for Drupal Juampy Novillo Requena @juampy72 about.me/juampy

description

https://amsterdam2014.drupal.org/session/github-pull-request-builder-drupal

Transcript of GitHub Pull Request Builder for Drupal

Page 1: GitHub Pull Request Builder for Drupal

DevOps - https://amsterdam2014.drupal.org/session/github-pull-request-builder-drupal

GitHub Pull Request Builder for Drupal

Juampy Novillo Requena@juampy72

about.me/juampy

Page 2: GitHub Pull Request Builder for Drupal

About me, @juampy72

Drupal contributor & writer AngularJS fan

Developer at Lullabot

Page 3: GitHub Pull Request Builder for Drupal

Tools that we will use

Page 4: GitHub Pull Request Builder for Drupal

Let's go straight to the point

Page 5: GitHub Pull Request Builder for Drupal

Dev workflow within a team

Page 6: GitHub Pull Request Builder for Drupal

1. I create a Pull Request at GitHub

Page 7: GitHub Pull Request Builder for Drupal

2. Jenkins posts environment links

Page 8: GitHub Pull Request Builder for Drupal

3. Peer review process starts

Page 9: GitHub Pull Request Builder for Drupal

4. Pull Request is approved

Page 10: GitHub Pull Request Builder for Drupal

How does it helps?It makes everyone jiggle :D

Page 11: GitHub Pull Request Builder for Drupal

ClientsBrowse over a testing environment and

confirm that a project meets expectations.

QA teamVerify changes one by one each in their

own environment.

How does it help?

Page 12: GitHub Pull Request Builder for Drupal

External teamsVerify the use of their API and make

adjustments before merging it into master branch.

How does it help? (2)

Page 13: GitHub Pull Request Builder for Drupal

Peer reviewersTest the branch in action without having to set it up

locally.

DevelopersTest changes against a fresh

copy of the production environment.

How does it help? (3)

Page 14: GitHub Pull Request Builder for Drupal

Architecture

Page 15: GitHub Pull Request Builder for Drupal

What does the Build job do?

Page 16: GitHub Pull Request Builder for Drupal

What does the Tear Down job do?

Page 17: GitHub Pull Request Builder for Drupal

Extra Jenkins Jobs

Clean up stalled testing environments

Run CasperJS tests

Take screenshots with Resemble.js

Post a login link

Create a spare database

Page 18: GitHub Pull Request Builder for Drupal

What's next?http://tugboat.qa

Page 19: GitHub Pull Request Builder for Drupal

Tugboat at at glance

Core written in node.js

Platform independent (not tied to GitHub)

Vagrant to spin-up new environments

Closed source (will be open soon ;D)

Page 20: GitHub Pull Request Builder for Drupal

What to do now?

Fork https://github.com/Lullabot/jenkins_github_drupal and set it up for your project

Subscribe at http://tugboat.qa to be up to date on how the new project evolves

Page 21: GitHub Pull Request Builder for Drupal

Follow @drupalmentoringhttps://amsterdam2014.drupal.org/sprints

Help improve Drupal: Sprint with the community on Friday.

● We have tasks for every skill set. ● Mentors are available for new contributors.● An optional Friday morning workshop will help you set up community tools.

SPRINT: FRIDAY

Page 22: GitHub Pull Request Builder for Drupal

http://2015.drupalcamp.es/en

Page 23: GitHub Pull Request Builder for Drupal

WHAT DID YOU THINK?EVALUATE THIS SESSION - AMSTERDAM2014.DRUPAL.ORG/SCHEDULE

THANK YOU!

@juampy72about.me/juampy

Juampy Novillo Requena@juampy72

about.me/juampy