GEDOPLAN

Git Workflows course

Optimizing your own Git workflow

  • Git for advanced users – optimize your own and team workflows
  • Managing larger projects with modules in Git: What are the approaches, what are the advantages and disadvantages?
  • GitOps: Use Git as a basis for continuous integration and continuous deployment

Beschreibung

Description

This seminar introduces the advanced use of Git, it will Presents solutions that cover both personal use of Git and the Optimizing teamwork. Git has now become the lynchpin for typical DevOps tasks, commonly referred to as GitOps. The underlying issues are introduced using the example of Gitlab CI in combination with Docker. A Spring Boot REST API serves as a hands-on project that integrates Docker and Docker Compose for the local development are integrated. The resulting Docker images are then used as a basis for Gitlab CI, where step by step the possibilities, the Gitlab CI for Continuous Integration and Continuous Deployment can be integrated.

Agenda

Course content

I. Git Workflows

  • Optimizing your own Git workflow
    • git hooks
    • commit in advance
    • What are the options? Style guides, linting, prettier, whitespace, code analysis…
  • Git workflows in the team
    • SVN/CVS workflow: The core "un-workflow" to illustrate the problem
    • github workflow (also called feature branch workflow)
    • What is the best way to use Pull Request/Merge Request?
    • Code review using the web interface
    • Who is doing the merge?
    • What to do if the pull request has premature and sudden conflicts?
    • When and why to use git rebase?
    • Repository management with the web interface – permissions, default branches etc.
    • gitflow workflow
    • Develop your own workflows – that's why it matters? Which model fits best when?
    • tags and releases
  • project organization
    • Monorepo vs. Multirepo – the crucial question
    • What are the advantages and disadvantages of both solutions?
    • How do I decide which one suits me best?

2.  CI/CD & GitOps

We'll develop a minimalistic web application to illustrate the concepts.

  • continuous integration
    • Introduction to Gitlab CI and the gitlab.yml file
    • Docker Basics: Images and Containers
    • Building a Docker image
    • Local development with Docker
    • Use Gitlab CI to build the Docker image
    • Gitlab runner
    • Leverage Gitlab's Docker Registry
    • Extending the CI pipeline using unit tests as an example
    • Daily/nightly builds
    • Expanding the CI pipelineusing test coverage reports as an example
  • continuous deployment
    • Create release and tagged images
    • Install your own private Gitlab runners
    • Automatic deployment using private runners
    • Manual deployment at the push of a button (e.g. for staging or production)
    • Deployment options
    • Manage environment variables and passwords/keys/secrets
  • Infrastructure As Code
    • What is "IAC"?
    • What does GitOps mean? (Spoilers: there is no clear definition, the term encompasses a multitude of aspects)
    • Which aspects are these, how do I use them?
    • The merge request as the linchpin
    • Outlook: cloud deployment with Kubernetes

     


 
 

 

 

 

 

 

 

Teilnehmerkreis und Voraussetzungen

Who should take part

The course is aimed at developers and administrators who want to deepen their knowledge of Git, as well as project managers and architects who want an overview of the possibilities of GitOps. Basic knowledge of Git and Gitlab is required.

Schulungstermine

Diese Schulung bieten wir auch als maßgeschneiderte Firmenschulung an

GEDOPLAN erstellt für Sie auf Ihre Unternehmensziele zugeschnittene Firmenschulung.
Durch unser modulares Schulungssystem sind wir in der Lage, anhand Ihrer Angaben eine individuelle Schulung zu gestalten. Denn die optimale Weiterbildung Ihrer Mitarbeiter nach Ihren Vorgaben und Anforderungen stehen bei uns im Mittelpunkt.
Bei Interesse nehmen Sie bitte Kontakt, wir führen dann gerne mit Ihnen ein unverbindliches Gespräch

GEDOPLAN - Telefonkontakt

030 / 20 89 82 63 0

GEDOPLAN - E-Mail Kontakt

Tim.Neumann@GEDOPLAN.de

Weitere Schulungen

Vorträge & News zum Thema

News aus Schulung, Beratung & Softwareentwicklung