The Road to Database CI

  • Steve Thompson-454462

    SSCrazy

    Points: 2594

    Comments posted to this topic are about the item The Road to Database CI

  • gbritton1

    SSCertifiable

    Points: 6520

    Steve Thompson-454462 - Tuesday, May 16, 2017 10:52 PM

    Comments posted to this topic are about the item The Road to Database CI

    Thanks for the article!  Just wondering if you also use SSIS/SSAS/SSRS and have to integrate those into your CI workflow?  If so, how's it going?

  • Steve Thompson-454462

    SSCrazy

    Points: 2594

    gbritton1 - Wednesday, May 17, 2017 8:55 AM

    Steve Thompson-454462 - Tuesday, May 16, 2017 10:52 PM

    Comments posted to this topic are about the item The Road to Database CI

    Thanks for the article!  Just wondering if you also use SSIS/SSAS/SSRS and have to integrate those into your CI workflow?  If so, how's it going?

    Thanks for reading and really good question. I'm sorry to say that the short answer is no: even though we do use SSIS quite a bit, we didn't dedicate the resources needed to operationalize those deploys to the same degree that we did db schema. We've started putting our greenfield projects into Git, but haven't done anything about automating deploys through Bamboo. There were a coupe of reasons, including the fact that we really only have one SSIS engineer right now, so there weren't many issues with tracking changes; and that our roadmap has us pivoting away from encapsulating ETL logic within SSIS. With that said, I do think that any shop that's serious about CI and has SSIS (or SSRS/SSAS) dependencies should most definitely look into building a process around them.

  • Data Wrangler

    SSC Enthusiast

    Points: 150

    This is a great view into how you approach database CI. Thank you!

    How do you manage code reviews after code is deployed to the Development environment?

  • Steve Thompson-454462

    SSCrazy

    Points: 2594

    Data Wrangler - Thursday, May 18, 2017 5:29 PM

    This is a great view into how you approach database CI. Thank you!

    How do you manage code reviews after code is deployed to the Development environment?

    Thanks, Data Wrangler! I'm glad you liked it.

    Generally, the engineer will generate a Pull Request for his/her feature branch against the Test branch; our definition of done for Test says that you need at least one approval before you can merge (Bitbucket can be set up to enforce this). This is a bit of a departure from standard GitFlow where you'd promote Dev in its entirety. But because our dbs are shared across several apps, and our Product Owners don't always approve an entire Sprint's worth of work for immediate release, we need to promote at a feature granularity.

  • Data Wrangler

    SSC Enthusiast

    Points: 150

    Steve Thompson-454462 - Thursday, May 18, 2017 5:54 PM

    Data Wrangler - Thursday, May 18, 2017 5:29 PM

    This is a great view into how you approach database CI. Thank you!

    How do you manage code reviews after code is deployed to the Development environment?

    Thanks, Data Wrangler! I'm glad you liked it.

    Generally, the engineer will generate a Pull Request for his/her feature branch against the Test branch; our definition of done for Test says that you need at least one approval before you can merge (Bitbucket can be set up to enforce this). This is a bit of a departure from standard GitFlow where you'd promote Dev in its entirety. But because our dbs are shared across several apps, and our Product Owners don't always approve an entire Sprint's worth of work for immediate release, we need to promote at a feature granularity.

    That sounds like just the approach we should use, and we happen to have Bitbucket Server. We too, have databases shared by multiple applications, so we'll probably go with feature branches. Now if only we can get our hands on Red Gate SQL Source Control--it's been a struggle budget-wise recently.

  • Steve Thompson-454462

    SSCrazy

    Points: 2594

    Data Wrangler - Thursday, May 18, 2017 7:00 PM

    That sounds like just the approach we should use, and we happen to have Bitbucket Server. We too, have databases shared by multiple applications, so we'll probably go with feature branches. Now if only we can get our hands on Red Gate SQL Source Control--it's been a struggle budget-wise recently.

    I feel you on the budget issues. Highly recommend the Redgate tools if you can swing it, but if you can't you could look into Flyway. It's migration-based instead of state-based which I feel takes a bit of getting used to, but it is open sourced (we use it for our Postgres repos).

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply