DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > Hands-off Delivery of Builds to Targets

Hands-off Delivery of Builds to Targets

Rob Williams user avatar by
Rob Williams
·
Jun. 20, 10 · Java Zone · Interview
Like (0)
Save
Tweet
4.19K Views

Join the DZone community and get the full member experience.

Join For Free

I worked on a project a few years ago where the QA team pulled the builds. At first I thought, ok, nice vote of no confidence to the dev team, but then, I thought ‘cool, let‘s see how this goes.‘ It was bliss. Partially, of course, because the QA team was really good but also, because it is as it should be. Why have developers deliver builds? Especially to test and staging instances? There really is no good reason, and flow-wise, it is a dream to just be able to say ‘we believe the code is feature complete now, or the bug list is completed,‘ then just let QA jump in, perform smokes, and let it tell the business people that something is ready. The most painful part of interfacing with business is definitely seeing their faces when they go to grab what they think is going to be a pot and get wet clay instead.

For such a system to work, 2 big things are needed: some way to migrate the databases. On this project a few years ago, they had a junior db guy who worked for the DBA. Second is some way to automate the smokes.

So in my dba-free world, we spent some time looking around for tools to do database migrations and ended up with dbdeploy. To actually pull the build, we are using Hudson. Of course, this has the advantage of making it as simple as clicking an icon, but it‘s turned hudson into an even bigger mess than it was getting to be. So today, I started thinking, maybe I will use the matrix build feature in hudson and have the two dimensions be the branch we are building and the other be the target environment. There‘s not much documentation about the matrix builds. I am wondering how many people out there are doing hot deploys from hudson and if you have a better idea, please speak up!

By, the way, since I complain a lot, and I have said this before, but Hudson is not a, perhaps, the model these days for open source projects. Just looking around for a few minutes for the matrix build info, I tripped onto a discussion of doing pre-tested commits. I LOVE that idea. Ok, I am not going to do the stupid Windows marketing thing and say it was mine (great message, btw: our customers are a bunch of myopic, deluded narcissistic megalomaniacs), but it is something that has been big on my radar, per my earlier posts about scm.

From http://www.jroller.com/robwilliams/entry/hands_off_delivery_of_builds

Build (game engine) Delivery (commerce)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • How to Design a CRUD Web Service for Inheritable Entity
  • Pattern Matching for Switch
  • Why Performance Projects Fail
  • Adding Authentication to a Web Application with Auth0, React, and JWT

Comments

Java Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo