using continuouspipe to speed up our workflows

37
Speedup our workflow by using ContinuousPipe @samuelroze

Upload: samuel-roze

Post on 12-Apr-2017

310 views

Category:

Engineering


1 download

TRANSCRIPT

Page 1: Using continuouspipe to speed up our workflows

Speedup our workflowby using ContinuousPipe

@samuelroze

Page 2: Using continuouspipe to speed up our workflows

@samuelroze

Page 3: Using continuouspipe to speed up our workflows

 These few technical problems

@samuelroze

Page 4: Using continuouspipe to speed up our workflows

Sprint 0

@samuelroze

Page 5: Using continuouspipe to speed up our workflows

Consistency

@samuelroze

Page 6: Using continuouspipe to speed up our workflows

I believe this is an old problem

@samuelroze

Page 7: Using continuouspipe to speed up our workflows

Containers

@samuelroze

Page 8: Using continuouspipe to speed up our workflows

@samuelroze

Page 9: Using continuouspipe to speed up our workflows

We want a Docker configuration

@samuelroze

Page 10: Using continuouspipe to speed up our workflows

Dockerfile

# Base imageFROM php:5.6-apache

# Install composerRUN curl -sS https://getcomposer.org/installer | php \ && mv composer.phar /usr/bin/composer

# Add the applicationADD . /appWORKDIR /app

# Install dependenciesRUN composer install -o

@samuelroze

Page 11: Using continuouspipe to speed up our workflows

docker-compose.yml

web: build: . links: - mysql expose: - 80 volumes: - .:/app

mysql: image: mysql environment: MYSQL_ROOT_PASSWORD: root expose: - 3306

@samuelroze

Page 12: Using continuouspipe to speed up our workflows

How do we deploy them?with ContinuousPipe

@samuelroze

Page 13: Using continuouspipe to speed up our workflows

continuous-pipe.ymltasks: images: build: services: api: image: docker.io/sroze/docker-example

deployment: deploy: cluster: fra-01 services: api: specification: accessibility: from_external: true mysql: locked: true

@samuelroze

Page 14: Using continuouspipe to speed up our workflows

@samuelroze

Page 15: Using continuouspipe to speed up our workflows

@samuelroze

Page 16: Using continuouspipe to speed up our workflows

@samuelroze

Page 17: Using continuouspipe to speed up our workflows

@samuelroze

Page 18: Using continuouspipe to speed up our workflows

Done !

@samuelroze

Page 19: Using continuouspipe to speed up our workflows

@samuelroze

Page 20: Using continuouspipe to speed up our workflows

Speed problems

@samuelroze

Page 21: Using continuouspipe to speed up our workflows

An environment

4 Few environments(staging, UAT, ..., production)

4 All features at the same time

4 No real room for experiment

@samuelroze

Page 22: Using continuouspipe to speed up our workflows

@samuelroze

Page 23: Using continuouspipe to speed up our workflows

Code Repository

4 Commits

4 Branches

Steps

4 Open pull-request

4 Feedback

4 Merge/Close pull-request

@samuelroze

Page 24: Using continuouspipe to speed up our workflows

Project Lifecycle

4 Actions

4 Decisions

Steps

4 Build

4 Measure

4 Learn

@samuelroze

Page 25: Using continuouspipe to speed up our workflows

How good is our change?

@samuelroze

Page 26: Using continuouspipe to speed up our workflows

@samuelroze

Page 27: Using continuouspipe to speed up our workflows

@samuelroze

Page 28: Using continuouspipe to speed up our workflows

@samuelroze

Page 29: Using continuouspipe to speed up our workflows

@samuelroze

Page 30: Using continuouspipe to speed up our workflows

@samuelroze

Page 31: Using continuouspipe to speed up our workflows

@samuelroze

Page 32: Using continuouspipe to speed up our workflows

An environmentper feature

4 QA don't have to wait the staging deployment

4 Client don't have to wait

That means...

4 Faster feedbacks

4 Less risks

@samuelroze

Page 33: Using continuouspipe to speed up our workflows

@samuelroze

Page 34: Using continuouspipe to speed up our workflows

That allows us many future options.

@samuelroze

Page 35: Using continuouspipe to speed up our workflows

@samuelroze

Page 36: Using continuouspipe to speed up our workflows

A/B testing

Let's simply ask the final users.

Explicitly- Feedback forms?- Simple rating?

Implicitly- Google Analytics integration?- Any business metric?

@samuelroze

Page 37: Using continuouspipe to speed up our workflows

Thank you!

@samuelroze