Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Managing the chaos

No description
by

Jakub Wasielak

on 22 June 2016

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Managing the chaos

Managing the chaos
Jakub Wasielak
One person
One computer
One code
Zero conflicts
Two people
Two computers
Two versions
Dude, you overwrote my code
Ten people
14 computers
41 versions
Help?
Git can be simple
or not
Introducing gitflow
With many thanks to
Master + Develop
git branch develop
git push -u origin develop
Feature branches
git checkout -b feature/PROJ-01-payments
SYNC
git checkout develop
git pull
git checkout -
git merge -
Releases
git checkout -b release/v0.1.0 develop
Hotfixes
git checkout -b hotfix/PROJ-6 master
git checkout master
git merge hotfix/PROJ-6
git push
https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
Much more on:
The ultimate
answer:
Operating systems:
All you need is:
Foundations
Getting started
Getting serious:
Vagrantfile
Not finished!
vagrant ssh
vagrant ssh -c "/env/bin/python /vagrant/src/manage.py runserver 0.0.0.0:8000
vagrant provision
The magic of
runserver.sh
The deployment
(and provisioning)
If you do it manually for the second time, it should be the last one
Project structure
Playbook
Inventory
or simple:

[dev]
172.16.0.120
Roles
Variables
Let's go!
ansible-playbook -i dev develop.yml
or in term of vagrant
vagrant provision
The output
Let's check, what you've learned
with this little quiz.
1. How should you create feature branches?

A. git checkout -b feature/<feature-name> from master branch

B. git checkout -b feature/<feature-name> from develop branch

C. git checkout -b feature/<feature-name> from any release branch

D. sudo make feature branch
2. How to build our latest changes (for example install new requirement) on vagrant environment?

A. vagrant up

B. vagrant provision

C. vagrant reload

D. try turning it off and on again
3. How do you declare a variable in ansible?

A. what = love

B. what: love

C. what := love

D. what is love
4. How did you like this presentation?

A. I liked it and I would start using gitflow, vagrant and ansible in real life.

B. It was perfect - I would start using gitflow, vagrant and ansible in real life.

C. It was fantastic I would start using gitflow, vagrant and ansible in real life.

D. I was very poor, but nevertheless I would start using gitflow, vagrant and ansible in real life.
Thank you.
kuba.wasielak@gmail.com
Questions?
git flow feature start PROJ-01-payments
git flow init
git flow release start v0.1.0
git flow hotfix start VERSION
Modules
pip, git, PostgreSQL, Django, apt, npm...

Overall 575 official modules.

And a whole galaxy to explore.
Full transcript