~/talk

Dev and Test Agility for your Database with Docker

Talkat NDC Oslo 2019 · 2019-06-17..06-21· [databases, devops-and-delivery]
slides:none on file

Shows how to run SQL Server for Linux in Docker to make the database a first-class, versioned component for dev and test, with a real ASP.NET Core API, integration tests and automated schema changes applied by Flyway migrations. Uses docker-compose to orchestrate three containers (DB, migration, API), maps ports and volumes for persistence, and runs tests in CI via Azure Pipelines. Demonstrates a full cycle: images pulled (~4 min), fixes a race-condition with a short sleep, and ends with 9/9 tests passing.

AI-written summary · about

  1. 0:00Introduction
  2. 3:43Unit testing
  3. 4:57Sharing source code
  4. 6:46Persistence
  5. 8:05Relational Database
  6. 9:14Database in Docker
  7. 11:23Sequel Server
  8. 12:53Docker Image
  9. 16:13Containers and Databases
  10. 18:45Docker is already running
  11. 18:59Docker is just like pulling packages
  12. 19:35Docker pull command
  13. 23:36Demo applications
  14. 23:54Docker run
  15. 24:45Docker entry point
  16. 25:42Small solution
  17. 28:07Visual Studio Code
  18. 30:18Migrations
  19. 30:52Test Data
  20. 31:16Running the API
  21. 32:36Testing the API
  22. 32:59Troubleshooting
  23. 33:47Moving Parts
  24. 34:43Running Again
  25. 36:01Race Condition
  26. 36:29Docker File Overview
  27. 37:18Docker Image Overview
  28. 37:58Compose Overview
  29. 43:09Connecting to the Database
  30. 44:35Connection string
  31. 44:47Migration
  32. 47:15Start from scratch
  33. 48:13DockerCompose
  34. 49:47Docker Compose
  35. 51:34Docker Compose vs API
  36. 53:18Docker Logs
  37. 54:48Tracking Secondary Data
  38. 56:28Sharing Secondary Data in a Normal World
  39. 57:11Changing to a New Branch
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.