Boost PC performance: How more available memory can improve productivity
Docker, your best ally to migrate & upgrading your Drupal - Drupal Dev Days Seville 2017
1. Docker, your best ally to migrate
& upgrading your Drupal
Alejandro Gómez - @agomezmoron
#DrupalDevDays 2017
2. First of all! A selfie with you!
#DrupalDevDays / @drupaldevdays @agomezmoron
3. About me
#DrupalDevDays / @drupaldevdays @agomezmoron
agomezmoron.info.yml
name: Alejandro Gómez
description: “QA & Tech lover”
package: #DrupalDevDays
works_on:
- company: { name: @ladrupalera by @emergya, role: QA & Team lead }
- company: { name: @EPSUPO, role: QA teacher }
type: Non-stop learner
core: DDD.2017
community: @SevillaQA organizer
4. Roadmap
● Introduction
● Is updating important?
● What do we need?
● The update approach
● How can I automate it?
#DrupalDevDays / @drupaldevdays @agomezmoron
5. Roadmap
● Introduction
● Is updating important?
● What do we need?
● The update approach
● How can I automate it?
#DrupalDevDays / @drupaldevdays @agomezmoron
6. ● Learning about how to keep our system updated safety.
● Learning some useful procedures & tools :).
Introduction
#DrupalDevDays / @drupaldevdays @agomezmoron
7. Roadmap
● Introduction
● Is updating important?
● What do we need?
● The update approach
● How can I automate it?
#DrupalDevDays / @drupaldevdays @agomezmoron
9. Roadmap
● Introduction
● Is updating important?
● What do we need?
● The update approach
● How can I automate it?
#DrupalDevDays / @drupaldevdays @agomezmoron
10. What do we need?
Testing tools
#DrupalDevDays / @drupaldevdays @agomezmoron
11. ● It rocks...but can you imagine doing the process by hand?
● You should keep the core, modules, etc updated.
● What about automating the process?
What do we need?
#DrupalDevDays / @drupaldevdays @agomezmoron
12. Roadmap
● Introduction
● Is it important updating?
● What do we need?
● The update approach
● How can I automate it?
#DrupalDevDays / @drupaldevdays @agomezmoron
16. The update approach
#DrupalDevDays / @drupaldevdays @agomezmoron
For each update, deploy a container,
apply it and run all the regression tests.
Validation
Pull Request
20170202_update
20. Roadmap
● Introduction
● Is updating important?
● What do we need?
● The update approach
● How can I automate it?
#DrupalDevDays / @drupaldevdays @agomezmoron
21. @agomezmoron
How can I automate it?
Testing tools
#DrupalDevDays / @drupaldevdays
One Jenkins to rule them all!
22. How can I manage my dockers?
● Managing your docker images can be easy.
● What about the containers?
● What about the network bridgings, volumes...?
#DrupalDevDays / @drupaldevdays @agomezmoron
23. How can I manage my dockers?
#DrupalDevDays / @drupaldevdays @agomezmoron
24. How can I manage my dockers?
# Option 1
#DrupalDevDays / @drupaldevdays @agomezmoron
25. How can I manage my dockers?
# Option 2
#DrupalDevDays / @drupaldevdays @agomezmoron
26. How can I manage my dockers?
#DrupalDevDays / @drupaldevdays @agomezmoron
docker run -d -p 9000:9000 --privileged -v
/var/run/docker.sock:/var/run/docker.sock
portainer/portainer --name myportainer
28. Conclusions
#DrupalDevDays / @drupaldevdays @agomezmoron
● Updates are important but they can break your system.
● A continuous core update should be applied in our code
and all the tests should be running.