using continuouspipe to speed up our workflows
TRANSCRIPT
![Page 1: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/1.jpg)
Speedup our workflowby using ContinuousPipe
@samuelroze
![Page 2: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/2.jpg)
@samuelroze
![Page 3: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/3.jpg)
These few technical problems
@samuelroze
![Page 4: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/4.jpg)
Sprint 0
@samuelroze
![Page 5: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/5.jpg)
Consistency
@samuelroze
![Page 6: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/6.jpg)
I believe this is an old problem
@samuelroze
![Page 7: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/7.jpg)
Containers
@samuelroze
![Page 8: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/8.jpg)
@samuelroze
![Page 9: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/9.jpg)
We want a Docker configuration
@samuelroze
![Page 10: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/10.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/11.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/12.jpg)
How do we deploy them?with ContinuousPipe
@samuelroze
![Page 13: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/13.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/14.jpg)
@samuelroze
![Page 15: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/15.jpg)
@samuelroze
![Page 16: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/16.jpg)
@samuelroze
![Page 17: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/17.jpg)
@samuelroze
![Page 18: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/18.jpg)
Done !
@samuelroze
![Page 19: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/19.jpg)
@samuelroze
![Page 20: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/20.jpg)
Speed problems
@samuelroze
![Page 21: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/21.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/22.jpg)
@samuelroze
![Page 23: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/23.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/24.jpg)
Project Lifecycle
4 Actions
4 Decisions
Steps
4 Build
4 Measure
4 Learn
@samuelroze
![Page 25: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/25.jpg)
How good is our change?
@samuelroze
![Page 26: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/26.jpg)
@samuelroze
![Page 27: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/27.jpg)
@samuelroze
![Page 28: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/28.jpg)
@samuelroze
![Page 29: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/29.jpg)
@samuelroze
![Page 30: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/30.jpg)
@samuelroze
![Page 31: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/31.jpg)
@samuelroze
![Page 32: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/32.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/33.jpg)
@samuelroze
![Page 34: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/34.jpg)
That allows us many future options.
@samuelroze
![Page 35: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/35.jpg)
@samuelroze
![Page 36: Using continuouspipe to speed up our workflows](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/36.jpg)
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](https://reader033.vdocuments.mx/reader033/viewer/2022051520/58ed19e51a28abf6268b45b7/html5/thumbnails/37.jpg)
Thank you!
@samuelroze