Spesso durante lo sviluppo e la manutenzione di un progetto siamo costretti a svolgere attività ripetitive o noiose (dall’esecuzione di un task alla replicazione e aggiornamento del sistema). Per risolvere alcuni di questi problemi proveremo ad usare Zaratan, un comodo strumento basato su Docker per installare tutte le componenti necessarie al funzionamento di Drupal, e Robo, un task runner scritto in PHP in grado di eseguire sia comandi Drush che azioni sul filesystem, sul database, ecc...
di Marco Capobussi
4. DevOps Drupal 8 - talk
• Why this talk?
• What is Docker? And docker-compose?
• Help me! A new tool?
• Zaratan (demo)
• Future of this tool
4
5. Why this talk
• There are so many operational things that consume
our time (setups, tasks…). Can we manage them
more efficiently?
5
6. Why this talk
• There are so many operational things that consume
our time (setups, tasks…). Can we manage them
more efficiently?
• Yes, we can. And in this talk we will have a look at
some useful technologies (Docker and containers)
and tools (Zaratan) that can help us in these
activities.
6
7. What - Docker
• Docker let package your application into a
standardized unit for software development
(image -> container)
7
Image credits: https://www.docker.com
8. What - Docker
8
• There are three keywords that describe Docker:
• Build (compose the application bricks)
• Ship (manage the distribution)
• Run (deploy & exec)
10. What - Docker and Drupal8
10
• DEMO with asciinema (next slide as static content)
11.
12. What - Docker Compose
• Docker help us to wrap and manage software
• But… what if we need to orchestrate complex
projects?
• Docker-Compose!
12 Image credits: https://www.docker.com
17. Zaratan - why?
• Docker and containers world is growing fast!
Containers is based on old ideas but now, with
Docker, containers are the future!
17
18. Zaratan - why?
• Docker and containers world is growing fast!
Containers is based on old ideas but now, with
Docker, containers are the future!
• Managing containers needs technical skills
(and time!)
18
19. Zaratan - why?
• Docker and containers world is growing fast!
Containers is based on old ideas but now, with
Docker, containers are the future!
• Managing containers needs technical skills
(and time!)
Image credits: https://www.xkcd.com/1764/
19
20. Zaratan - why?
• Docker and containers world is growing fast!
Containers is based on old ideas but now, with
Docker, containers are the future!
• Managing containers needs technical skills
(and time!)
• And we need a tool that can easily allow to
manage Docker projects (for non developers too!)
20
28. Zaratan - F[ea|u]ture?
• integrated local dns and domain proxy manager (.pac
file)
• autocomplete for zsh, bash fish shell
• a beautiful GUI
• a new, shiny template registry
• new templates! (Play stack, MEAN stack, Drupal9 …)
• … and continuos improvement!
28
29. Thank you!
• Time is out! Let us know what you think! (for better or
worse, we love listen opinions, ideas and more!)
• http://zaratan.io
• For more info
@Wellnet
@lussoluca (Luca Lusso)
@r3vit (Marco Capobussi)
⏰
29