Serverless application development is fabulous…but, if you can’t automate your delivery pipeline, you’ll likely fail.
In this session, MongoDB Developer Advocate Lauren Schaefer will walk you through the process of crafting test automation and DevOps pipelines for serverless apps that are built on the MongoDB Data Platform. Then, she’ll jump in to the always-terrifying-for-the-presenter live demo so you can see how this all works in a very practical way. She’ll make some changes to her code base, update her automated tests, and push her code changes. You’ll watch as the various pieces of the pipeline fail and (hopefully) succeed.
If you’re a DevOps engineer or a developer responsible for creating your own Continuous Integration/Continuous Delivery automation, you won’t want to miss this talk! You’ll walk away from this session equipped to build DevOps pipelines for your serverless apps.
Register for the webinar at https://www.mongodb.com/webinar/devops-with-mongodb-serverless
35. Local
Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.
Local Copy
of Dev Repo
36. Git Logo by Jason Long is licensed under the Creative
Commons Attribution 3.0 Unported License.
Git Push
DevAtlas ProjectDevStitch App
Dev Build
DevRepo
Tests
37. Git Logo by Jason Long is licensed under the Creative
Commons Attribution 3.0 Unported License.
DevAtlas ProjectDevStitch App
Development
DevRepo
TestsLocal Machine
38. Git Logo by Jason Long is licensed under the Creative
Commons Attribution 3.0 Unported License.
Staging Atlas ProjectStaging Stitch App
Staging RepoPull Request
Staging Build Tests
push to prod
39. Git Logo by Jason Long is licensed under the Creative
Commons Attribution 3.0 Unported License.
Staging Atlas ProjectStaging Stitch App
Staging
Staging Repo
TestsLocal Machine
40. Git Logo by Jason Long is licensed under the Creative
Commons Attribution 3.0 Unported License.
ProdAtlas ProjectProdStitch App
ProdRepo
ProdBuild Tests
Staging Build
Pushes to Prod
41. Git Logo by Jason Long is licensed under the Creative
Commons Attribution 3.0 Unported License.
ProdAtlas ProjectProdStitch App
Production
ProdRepo
TestsLocal Machine
44. CI/CD makes developing serverless apps
faster and easier.
Use my digital binder to jumpstart the
creation of your CI/CD infrastructure:
https://github.com/mongodb-
developer/SocialStats
51. CI/CD makes developing serverless apps
faster and easier.
Use my digital binder to jumpstart the
creation of your CI/CD infrastructure:
https://github.com/mongodb-
developer/SocialStats
LaurenSchaefer|DeveloperAdvocate| MongoDB| @Lauren_Schaefer
53. Local Dev Staging Prod
Git Local copy of
the Dev repo
Push Forked copy of
Staging repo
Pull Request Staging
(mirrored copy
of Production
repo)
Push via Travis
CI (could be
manual)
Production repo
Atlas n/a Dev Project.
OR Single Atlas
project with Dev
cluster.
Dev Project.
OR Single Atlas
project with Dev
cluster.
Staging Project.
OR Single Atlas
project with
Staging cluster.
Staging Project.
OR Single Atlas
project with
Staging cluster.
Prod Project.
OR Single Atlas
project with
Prod cluster.
Prod Project.
OR Single Atlas
project with
Prod cluster.
Stitch n/a Git push triggers
deploy to Dev
App
Dev App Merging of Pull
Request triggers
deploy to
Staging App
Staging App Push from
successful
Staging build
triggers deploy
to Prod App
Prod App
Travis CI (runs
tests – does not
deploy)
n/a Git push triggers
build
n/a Merging of Pull
Request triggers
build
n/a Push from
successful
Staging build
triggers build.
OR manual test
and push.
n/a
Automated
Tests
Unit Unit, Integration,
& UI run as part
of Travis CI
build
Unit, Integration,
& UI
Unit, Integration,
& UI run as part
of Travis CI
build
Unit, Integration,
& UI
Unit run as part
of Travis CI
build
Unit
54. Local Development Staging Production
Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.
Local Copy
ofDev Repo
Forked Copy
ofStaging Repo
MirroredCopy
ofProduction Repo
Production RepoPush PR Auto
55. Local Development Staging Production
DevAtlas Project
DevStitch App
Staging Atlas Project
Staging Stitch App
ProdAtlas Project
ProdStitch AppPush PR Merge Auto
56. Local Development Staging Production
Git Push
Triggers
DevBuild
PRMerge
Triggers
Staging Build
ProdBuild
✅ Tests
Triggers
Push to
Prod