Soumettre la recherche
Mettre en ligne
Git Submodules
•
0 j'aime
•
6,557 vues
Maciej Lasyk
Suivre
A few words about git submodules and how to use it in the devops world.
Lire moins
Lire la suite
Technologie
Affichage du diaporama
Signaler
Partager
Affichage du diaporama
Signaler
Partager
1 sur 15
Télécharger maintenant
Télécharger pour lire hors ligne
Recommandé
This presentation is not to explain why we use Git and the benefits of using Git over SVN. But, it is about how to use the simplest and basic functionalities of Git. And small hacks to make our lives easy.
[@NaukriEngineering] Git Basic Commands and Hacks
[@NaukriEngineering] Git Basic Commands and Hacks
Naukri.com
20160921線上讀書會git教學
20160921線上讀書會git教學
20160921線上讀書會git教學
彥銘 黄
GRUNT - The JavaScript Task Runner
GRUNT - The JavaScript Task Runner
GRUNT - The JavaScript Task Runner
Larry Nung
YAPC Asia 2009 - 株式会社paperboy&co. でのPerl使い方についての発表
Yapc Asia 2009 ペパボでのPerlの使い方
Yapc Asia 2009 ペパボでのPerlの使い方
hiboma
Talk I have given at T-Dose about git submodules and git slave and different worklow around them
Working with multiple git repositories
Working with multiple git repositories
Julien Pivotto
A quick (but not comprehensive) overview of git submodule.
Git submodule
Git submodule
Olaf Alders
Recycling
Recycling
guestd12f51
Conference given at LOADays.org 2014
Linux HA anno 2014
Linux HA anno 2014
Julien Pivotto
Recommandé
This presentation is not to explain why we use Git and the benefits of using Git over SVN. But, it is about how to use the simplest and basic functionalities of Git. And small hacks to make our lives easy.
[@NaukriEngineering] Git Basic Commands and Hacks
[@NaukriEngineering] Git Basic Commands and Hacks
Naukri.com
20160921線上讀書會git教學
20160921線上讀書會git教學
20160921線上讀書會git教學
彥銘 黄
GRUNT - The JavaScript Task Runner
GRUNT - The JavaScript Task Runner
GRUNT - The JavaScript Task Runner
Larry Nung
YAPC Asia 2009 - 株式会社paperboy&co. でのPerl使い方についての発表
Yapc Asia 2009 ペパボでのPerlの使い方
Yapc Asia 2009 ペパボでのPerlの使い方
hiboma
Talk I have given at T-Dose about git submodules and git slave and different worklow around them
Working with multiple git repositories
Working with multiple git repositories
Julien Pivotto
A quick (but not comprehensive) overview of git submodule.
Git submodule
Git submodule
Olaf Alders
Recycling
Recycling
guestd12f51
Conference given at LOADays.org 2014
Linux HA anno 2014
Linux HA anno 2014
Julien Pivotto
Presentation about integrating Rundeck with Ansible as well as about Rundeck itself.
Rundeck & Ansible
Rundeck & Ansible
Maciej Lasyk
Slides from my lightning talk about changes in Docker 1.11
Docker 1.11
Docker 1.11
Maciej Lasyk
Slides from presentation about various methods of provisioning and deploying on AWS cloud.
Programowanie AWSa z CLI, boto, Ansiblem i libcloudem
Programowanie AWSa z CLI, boto, Ansiblem i libcloudem
Maciej Lasyk
What you should know about devops? Slides from presentation I gave during 10th J-Labs Academy meetup.
Co powinieneś wiedzieć na temat devops?f
Co powinieneś wiedzieć na temat devops?f
Maciej Lasyk
In this presentation I try to explain how and why we should use SELinux to keep our Linux containers secure.
"Containers do not contain"
"Containers do not contain"
Maciej Lasyk
How to devops effectively with Linux containers? This is yet another story about Docker containerization
Linux containers & Devops
Linux containers & Devops
Maciej Lasyk
Under the Dome (of failure driven pipeline)
Under the Dome (of failure driven pipeline)
Under the Dome (of failure driven pipeline)
Maciej Lasyk
Continuous Security in DevOps
Continuous Security in DevOps
Continuous Security in DevOps
Maciej Lasyk
Is Devops CAMS only? What about people and communication? How to embrace Devops culture in a stiff environments?
About cultural change w/Devops
About cultural change w/Devops
Maciej Lasyk
Slightly different version (original is here http://www.slideshare.net/d0cent/orchestrating-docker-containersatscale). This version was presented during first #Docker meetup in Kraków / Poland.
Orchestrating docker containers at scale (#DockerKRK edition)
Orchestrating docker containers at scale (#DockerKRK edition)
Maciej Lasyk
Slightly changed version (original is here http://www.slideshare.net/d0cent/orchestrating-docker-containersatscale). This version was presented during Polish Java User Group meetup JavaCamp#13 in Kraków / Poland.
Orchestrating docker containers at scale (PJUG edition)
Orchestrating docker containers at scale (PJUG edition)
Maciej Lasyk
Many of us already poked around Docker. Let's recap what we know and then think what do we know about scaling apps & whole environments which are Docker - based? Should we PaaS, IaaS or go with bare? Which tools to use on a given scale?
Orchestrating Docker containers at scale
Orchestrating Docker containers at scale
Maciej Lasyk
Slides from the talk I gave during 2014 edition of IT Night. This lecture is about working in terminal: from choosing a term through picking proper shell, applications and finally finishes on GitHub project which covers this talks' topics.
Ghost in the shell
Ghost in the shell
Maciej Lasyk
Slides from lecture I gave on Atmosphere Conference 2014 edition. It's all about node.js scalability and security.
Scaling and securing node.js apps
Scaling and securing node.js apps
Maciej Lasyk
This presentation covers node.js security related issues. I gave this talk during 2014 edition of SEConference @Kraków / Poland on 9th May.
Node.js security
Node.js security
Maciej Lasyk
I gave this talk at one of the biggest Linux conferences in Poland: 11 Liux Session that took place in Wrocław on 5/6-04-2014. It was a lightning talk covering subject of High Availability solutions, architecture, planning and deploying.
High Availability (HA) Explained - second edition
High Availability (HA) Explained - second edition
Maciej Lasyk
How could one create very sophisticated, open - source based monitoring solution that is very scalable and easy to deploy? I gave this talk during on of the biggest Linux conferences in Poland: 11 Linux Session which took place in Wrocław on 5/6-04-2013
Monitoring with Nagios and Ganglia
Monitoring with Nagios and Ganglia
Maciej Lasyk
I gave this talk during first Infosec meetup in Kraków/Poland on 13th March 2014. After viewing this presentation you'll know how and why you should use SELinux (or others LSMs).
Stop disabling SELinux!
Stop disabling SELinux!
Maciej Lasyk
Is Red Hat / Fedora / Centos ready for lightweight Docker containers? Is Docker secure enough? How about SELinux? How could we deploy Jboss or Django within Docker / RHEL? I gave this talk at DevOPS meetup in Krakow at 2014-02-26.
RHEL/Fedora + Docker (and SELinux)
RHEL/Fedora + Docker (and SELinux)
Maciej Lasyk
I gave this talk at Krakow/Poland DevOPS meetup. It was a lightning talk covering subject of High Availability solutions, architecture, planning and deploying.
High Availability (HA) Explained
High Availability (HA) Explained
Maciej Lasyk
Contenu connexe
Plus de Maciej Lasyk
Presentation about integrating Rundeck with Ansible as well as about Rundeck itself.
Rundeck & Ansible
Rundeck & Ansible
Maciej Lasyk
Slides from my lightning talk about changes in Docker 1.11
Docker 1.11
Docker 1.11
Maciej Lasyk
Slides from presentation about various methods of provisioning and deploying on AWS cloud.
Programowanie AWSa z CLI, boto, Ansiblem i libcloudem
Programowanie AWSa z CLI, boto, Ansiblem i libcloudem
Maciej Lasyk
What you should know about devops? Slides from presentation I gave during 10th J-Labs Academy meetup.
Co powinieneś wiedzieć na temat devops?f
Co powinieneś wiedzieć na temat devops?f
Maciej Lasyk
In this presentation I try to explain how and why we should use SELinux to keep our Linux containers secure.
"Containers do not contain"
"Containers do not contain"
Maciej Lasyk
How to devops effectively with Linux containers? This is yet another story about Docker containerization
Linux containers & Devops
Linux containers & Devops
Maciej Lasyk
Under the Dome (of failure driven pipeline)
Under the Dome (of failure driven pipeline)
Under the Dome (of failure driven pipeline)
Maciej Lasyk
Continuous Security in DevOps
Continuous Security in DevOps
Continuous Security in DevOps
Maciej Lasyk
Is Devops CAMS only? What about people and communication? How to embrace Devops culture in a stiff environments?
About cultural change w/Devops
About cultural change w/Devops
Maciej Lasyk
Slightly different version (original is here http://www.slideshare.net/d0cent/orchestrating-docker-containersatscale). This version was presented during first #Docker meetup in Kraków / Poland.
Orchestrating docker containers at scale (#DockerKRK edition)
Orchestrating docker containers at scale (#DockerKRK edition)
Maciej Lasyk
Slightly changed version (original is here http://www.slideshare.net/d0cent/orchestrating-docker-containersatscale). This version was presented during Polish Java User Group meetup JavaCamp#13 in Kraków / Poland.
Orchestrating docker containers at scale (PJUG edition)
Orchestrating docker containers at scale (PJUG edition)
Maciej Lasyk
Many of us already poked around Docker. Let's recap what we know and then think what do we know about scaling apps & whole environments which are Docker - based? Should we PaaS, IaaS or go with bare? Which tools to use on a given scale?
Orchestrating Docker containers at scale
Orchestrating Docker containers at scale
Maciej Lasyk
Slides from the talk I gave during 2014 edition of IT Night. This lecture is about working in terminal: from choosing a term through picking proper shell, applications and finally finishes on GitHub project which covers this talks' topics.
Ghost in the shell
Ghost in the shell
Maciej Lasyk
Slides from lecture I gave on Atmosphere Conference 2014 edition. It's all about node.js scalability and security.
Scaling and securing node.js apps
Scaling and securing node.js apps
Maciej Lasyk
This presentation covers node.js security related issues. I gave this talk during 2014 edition of SEConference @Kraków / Poland on 9th May.
Node.js security
Node.js security
Maciej Lasyk
I gave this talk at one of the biggest Linux conferences in Poland: 11 Liux Session that took place in Wrocław on 5/6-04-2014. It was a lightning talk covering subject of High Availability solutions, architecture, planning and deploying.
High Availability (HA) Explained - second edition
High Availability (HA) Explained - second edition
Maciej Lasyk
How could one create very sophisticated, open - source based monitoring solution that is very scalable and easy to deploy? I gave this talk during on of the biggest Linux conferences in Poland: 11 Linux Session which took place in Wrocław on 5/6-04-2013
Monitoring with Nagios and Ganglia
Monitoring with Nagios and Ganglia
Maciej Lasyk
I gave this talk during first Infosec meetup in Kraków/Poland on 13th March 2014. After viewing this presentation you'll know how and why you should use SELinux (or others LSMs).
Stop disabling SELinux!
Stop disabling SELinux!
Maciej Lasyk
Is Red Hat / Fedora / Centos ready for lightweight Docker containers? Is Docker secure enough? How about SELinux? How could we deploy Jboss or Django within Docker / RHEL? I gave this talk at DevOPS meetup in Krakow at 2014-02-26.
RHEL/Fedora + Docker (and SELinux)
RHEL/Fedora + Docker (and SELinux)
Maciej Lasyk
I gave this talk at Krakow/Poland DevOPS meetup. It was a lightning talk covering subject of High Availability solutions, architecture, planning and deploying.
High Availability (HA) Explained
High Availability (HA) Explained
Maciej Lasyk
Plus de Maciej Lasyk
(20)
Rundeck & Ansible
Rundeck & Ansible
Docker 1.11
Docker 1.11
Programowanie AWSa z CLI, boto, Ansiblem i libcloudem
Programowanie AWSa z CLI, boto, Ansiblem i libcloudem
Co powinieneś wiedzieć na temat devops?f
Co powinieneś wiedzieć na temat devops?f
"Containers do not contain"
"Containers do not contain"
Linux containers & Devops
Linux containers & Devops
Under the Dome (of failure driven pipeline)
Under the Dome (of failure driven pipeline)
Continuous Security in DevOps
Continuous Security in DevOps
About cultural change w/Devops
About cultural change w/Devops
Orchestrating docker containers at scale (#DockerKRK edition)
Orchestrating docker containers at scale (#DockerKRK edition)
Orchestrating docker containers at scale (PJUG edition)
Orchestrating docker containers at scale (PJUG edition)
Orchestrating Docker containers at scale
Orchestrating Docker containers at scale
Ghost in the shell
Ghost in the shell
Scaling and securing node.js apps
Scaling and securing node.js apps
Node.js security
Node.js security
High Availability (HA) Explained - second edition
High Availability (HA) Explained - second edition
Monitoring with Nagios and Ganglia
Monitoring with Nagios and Ganglia
Stop disabling SELinux!
Stop disabling SELinux!
RHEL/Fedora + Docker (and SELinux)
RHEL/Fedora + Docker (and SELinux)
High Availability (HA) Explained
High Availability (HA) Explained
Git Submodules
1.
1 Git submodules Devops Meetup Krk 20150617 Maciej Lasyk
2.
GIT submodules WTF? 2
3.
3 PL: moduły zależne
4.
4 git submodule add
<URL> <dirname> git status git diff --cached --submodule
5.
5 .gitmodules [submodule "ansible-piwik"] path =
ansible-piwik url = git@github.com:docent-net/ansible-piwik.git
6.
6 Cloning repos w/submodules? git clone <URL>
# just standard content without submodules data
7.
7 Cloning repos w/submodules? git submodule init git
sumobule update
8.
8 Cloning repos w/submodules? git clone --recursive
<URL>
9.
9 Update submodule code to the latest revision? # run in
submodule dir git fetch git merge <origin/master> # updates all submodules data # run from maindir git submodule update --remote
10.
10 Change submodule branch? .gitmodules ~/.git/config
11.
11 by default: detach HEAD state git checkout <branch> git
submodule update --remote merge
12.
12 Pushing changes? git push --recurse-submodules
13.
13 Removing submodule? # edit .gitmodules git
rm --cached <submodule-dir> # commit change
14.
14 foreach git submodule foreach
'git diff' git submodule foreach 'git pull'
15.
15 Thanks :) Maciej Lasyk @docentnet http://maciej.lasyk.info
Télécharger maintenant