Mohammad Umair Khan
Trainer, Mentor, Foo, Bar !
from manual to automation
Cherry is a standard
"Let's build an MVP"
May, 2017
Mar, 2018
version: "3"
services:
app:
container_name: cherry-api
build:
context: .
dockerfile: Dockerfile
...
orient:
image: orientdb:2.2.28-spatial
container_name: orientdb
volumes:
- "orientdb:/orientdb/databases"
- "orientdb_backup:/orientdb/backup"
ports:
- 2424:2424
- 2480:2480
env_file:
- ./env/development
volumes:
orientdb:
orientdb_backup:
Standard docker-compose.yml
Host OS
Docker Engine
docker network (foldername_default)
Node App
OrientDB
run
Create image
Push image
SSH to remote
Pull image
Run compose
Create image
Push image
SSH to remote
Pull image
Run compose
#!/bin/sh
Create new task definition
what to deploy
Create Service
Deployment
Deployment
Where to deploy
(1) Build
(2) Push
(3) Create new task definition
(5) Update service
(6) Deploy
(6) Deploy
app.cherry.expert
api.cherry.expert
We follow a hybrid agile methodology
Requirements and solutions evolve through the collaborative effort of self-organizing cross-functional teams and their customer/end users
Which also means
Node App
OrientDB
JMeter
Cherry
#!/bin/sh
1) Create PR
2) Invokes hook
3) Run tests
4a) Failed/Rejected
4b) Passed/Merged
By Mohammad Umair Khan