More Related Content Similar to Tutorial Expert How-To - Docker-based automation (20) More from PascalDesmarets1 (19) Tutorial Expert How-To - Docker-based automation3. Role of Data Modeling in an Agile/DevOps context
Copyright © 2016-2022 Hackolade 3
Domain-Driven
Design
Physical Data
Modeling
Iterative
Evolution
Fake data
Generation
Optimization
Governance
& Compliance
Maintenance &
Performance,
Documentation
& Facilitation
5. Data models
Schema contracts
Application code
Git repository DevOps CI/CD
pipeline
Application
Database
Copyright © 2016-2023 Hackolade 5
Using GIT to Co-locate metadata with application code
Environments:
• Dev
• Test
• Integration
• Production
ALTER scripts
6. … …
Consumers
Subject area models
Project models
Models
Local
Repo
Local
Repo
Local
Repo
Clone
Push
Pull
Merge …
Copyright © 2016-2022 Hackolade 6
Hackolade Studio to Schema Repo workflow
CLI
Schemas
DDL files
OAS files
JSON Schema files
Avro Schema files
…
11. Run concurrent multi-threaded CLI commands in Docker containers
• Resources:
• Documentation: https://github.com/hackolade/docker/tree/main/Studio
• Script for this tutorial:
https://github.com/hackolade/docker/blob/main/Studio/tutorial/Docker%2B
CLI-tutorial.md
• GitHub Actions procedure: https://docs.github.com/en/actions/creating-
actions/creating-a-docker-container-action
• Using provided Dockerfile.app in the repo
Copyright © 2016-2023 Hackolade 11
12. Example scenarios
1. Reverse-engineer database instance overnight
2. Compare reverse-engineered model with baseline model, and
generate delta model
3. Generate documentation in html+pdf format for reverse-
engineered data model
Copyright © 2016-2023 Hackolade 12
13. Reading material
• See Hackolade online documentation
• The Hackolade Blog
• Hackolade’s on social media: LinkedIn page, Twitter page
• Download Hackolade Studio for free
• This excellent new book:
MongoDB Data Modeling & Schema Design
• Many of the principles in the book are related to query
driven modeling based on access patterns
Copyright © 2016-2023 Hackolade 13