Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering GitLab 12

You're reading from   Mastering GitLab 12 Implement DevOps culture and repository management solutions

Arrow left icon
Product type Paperback
Published in Aug 2019
Publisher Packt
ISBN-13 9781789531282
Length 608 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Joost Evertse Joost Evertse
Author Profile Icon Joost Evertse
Joost Evertse
Arrow right icon
View More author details
Toc

Table of Contents (30) Chapters Close

Preface 1. Section 1: Install and Set Up GitLab On-Premises or in the Cloud FREE CHAPTER
2. Introducing the GitLab Architecture 3. Installing GitLab 4. Configuring GitLab Using the Web UI 5. Configuring GitLab from the Terminal 6. Section 2: Migrating Data from Different Locations
7. Importing Your Project from GitHub to GitLab 8. Migrating from CVS 9. Switching from SVN 10. Moving Repositories from TFS 11. Section 3: Implement the GitLab DevOps Workflow
12. GitLab Vision - the Whole Toolchain in One Application 13. Create Your Product, Verify, and Package it 14. The Release and Configure Phase 15. Monitoring with Prometheus 16. Integrating GitLab with CI/CD Tools 17. Section 4: Utilize GitLab CI and CI Runners
18. Setting Up Your Project for GitLab Continuous Integration 19. Installing and Configuring GitLab Runners 20. Using GitLab Runners with Docker or Kubernetes 21. Autoscaling GitLab CI Runners 22. Monitoring CI Metrics 23. Section 5: Scale the Server Infrastructure (High Availability Setup)
24. Creating a Basic HA Architecture Using Horizontal Scaling 25. Managing a Hybrid HA Environment 26. Making Your Environment Fully Distributed 27. Using Geo to Create Distributed Read-Only Copies of GitLab 28. Assessments 29. Other Books You May Enjoy

Creating your own Dockerized GitLab Runner

Most people will use prebuilt Docker containers, but there are reasons to build your own. Maybe you have special requirements when building your software that aren't installed in the default Docker images that are available or maybe it's just not possible because of security restrictions. A lot of default images have software included that contain vulnerabilities.

Let's create our own Dockerized GitLab Runner for the project from Chapter 10, Create Your Product, Verify, and Package it, that is, the event manager documentation, using a Dockerfile. You will find our first attempt in the next section.

Let me stress that this Dockerfile is purely for demonstration purposes. We don't recommend building containers like this for production-like systems or even your own development systems. It's being used here to show...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime