• Like
  • Save
Continuous integration
Upcoming SlideShare
Loading in...5
×

Continuous integration

  • 307 views
Uploaded on

A challenge that many of us face today – Performing a rapid development on SQL Server, while having the need to constantly integrate and test our code/schema against various apps/DALs. Continuous …

A challenge that many of us face today – Performing a rapid development on SQL Server, while having the need to constantly integrate and test our code/schema against various apps/DALs. Continuous integration is one of the solutions available today for such challenge! We'll discuss the need, the benefits and the 'how-to' of performing a Continuous Integration and automatic deployment of the 'latest database' (schema/code).

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
307
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • We’re a visual search engine.We can perform quick, yet powerful image comparisonsWe crawl the web…
  • Match samples
  • <Sometimes, the 1st step is only taking an existing database into a source-control solution, while not following guidelines & recommendations>
  • <For example, sometimes you’d change an existing object for a certain feature, and without knowing, will break another app>
  • Focus on:Compilation orderProject dependenciesReferences

Transcript

  • 1. Continuous Integration
    Presented by Adi Sapir
  • 2. Who am I?
    Adi –
    Database TL @ PicScout
    Author of SQL Stripes
    http://about.me/adisapir
    http://il.linkedin.com/in/adisapir
  • 3. Who is PicScout
    • Visual Search Engine
    • 4. Everything around Image copyrights
    • 5. Recently Acquired by Getty Images
  • PicScout…
  • 6. PicScout…
    Image Registry
    Copyright Enforcements
  • 7. Our Development platforms
    • (Mostly) Microsoft-based
    • 8. Team Foundation Server
    • 9. SQL Server…
  • Our Databases
    • Using SQL Server 2008
    • 10. (& looking forward to next version)
    • 11. Developing on Visual Studio 2010
    • 12. Multiple production servers
    • 13. Multiple geographical environment
    • 14. Shared Components
  • Problems we had
  • 15. Problems we had…
    You find multiple database “clones” that, well, are not in top shape
  • 16. Problems we had…
    Dev teams often worked against outdated database instances
  • 17. Problems we had…
    • Pre “DB-Dude”, there were a lot of compilation errors
    • 18. Database/Project deployment was not possible
  • The challenge
    • Compiled Databases
    • 19. All Code against our databases is compatible with any changes we make
    • 20. Provide a “Latest” database version for dev/stage/prod environments (for development & integration/unit tests)
  • The idea behind Continuous integration
    An approach which, instead of deploying everything together at the end of a milestone, continuously deploying all pieces of software as frequent as possible.
  • 21. Traditional methods:
    Daily Build
    Upon Check-in
  • 22. Before we begin
    • Solution & Projects must all exist on VS environment
    • 23. Entire solution should be buildable & deployable (no errors what so ever)
  • DEMO
  • 24. So…
    • We have our projects in Visual Studio
    • 25. We know how to use MSBUILD
    • 26. Now, we need to automate the process
  • TeamCity
    • Triggers:
    • 27. Schedule
    • 28. Check-in
    • 29. Can deploy multiple solutions from different braches on server
  • Main Screen
    Screenshots
    Last Run’s Status
  • 30. Quick overview – latest runs
    Screenshots
  • 31. Build Configuration
    Screenshots
  • 32. TFS Configuration
    Screenshots
  • 33. Execution…
    Screenshots
  • 34. Q&A
  • 35. Good Luck!
    adi.sapir@picscout.com >>
    << http://www.linkedin.com/in/adisapir