
عنوان:
Automating DevOps with GitLab CI/CD Pipelines
نویسنده:
Christopher Cowell, Nicholas Lotz, Chris Timberlake
انتشارات:
Packt Publishing
تاریخ انتشار
2023
حجم:
4.7MB
معرفی کتاب: " خودکارسازی DevOps با GitLab CI/CD: ساخت پایپلاینهای کارآمد برای بررسی، ایمنسازی و استقرار کد با استفاده از مثالهای واقعی"
کتاب خودکارسازی دواپس با GitLab CI/CD راهنمایی کامل برای ساخت پایپلاینهای کارآمد، ایمن و خودکار در تمام مراحل چرخه توسعه نرمافزار است. با تمرکز بر بهترین شیوهها و روشهای رفع اشکال، این کتاب به شما کمک میکند کد خود را سریعتر و با اطمینان بیشتر بررسی و مستقر کنید.
ویژگیهای کلیدی:
- بهرهگیری از قدرت GitLab CI/CD در تمام مراحل چرخه عمر توسعه نرمافزار
- یادگیری نحوه سادهتر و قدرتمندتر شدن Git با GitLab برای commit و بازبینی کد
- تقویت درک مفاهیم از طریق آموزشهای عملی و تمرینهای خودارزیابی
توضیح کتاب:
این کتاب با معرفی مفاهیم اولیه Git و GitLab آغاز میشود و سپس به شما نشان میدهد چگونه GitLab Runnerها را تنظیم کرده و پایپلاینهای CI/CD را برای مراحل مختلف توسعه نرمافزار بسازید و پیکربندی کنید. همچنین میآموزید چگونه نتایج پایپلاین را در GitLab مشاهده و تفسیر کنید، کد را به محیطهای مختلف استقرار دهید، GitLab را به ابزارهایی مانند Kubernetes و Terraform متصل کرده و عملکرد پایپلاین را بهبود ببخشید.
آنچه در این کتاب میآموزید:
- درک اصول Git، GitLab و مفاهیم DevOps
- ساخت، مشاهده و اجرای پایپلاینهای GitLab CI/CD
- بررسی، ایمنسازی و استقرار کد با پایپلاینهای GitLab
- پیکربندی GitLab Runnerها برای اجرای پایپلاین
- استفاده از ویژگیهای پیشرفته مانند DAG و شرطیسازی در پایپلاین
- پیادهسازی گردشکار کامل توسعه نرمافزار با مثالهای عملی
مناسب چه کسانی است؟
این کتاب برای مهندسان DevOps، توسعهدهندگان نرمافزار، مهندسان استقرار، QA، مهندسان امنیت، SREها و مدیران سیستم طراحی شده که به دنبال خودکارسازی، ایمنسازی و تسریع فرآیندهای توسعه نرمافزار با استفاده از پایپلاینهای CI/CD در GitLab هستند.
فهرست مطالب:
- بررسی زندگی قبل از دواپس
- تمرین دستورات پایه Git
- آشنایی با اجزای GitLab
- ساختار پایپلاین GitLab CI/CD
- نصب و پیکربندی GitLab Runnerها
- بررسی صحت کد
- ایمنسازی کد
- بستهبندی و استقرار کد
- افزایش سرعت و نگهداشت پایپلاینها
- گسترش قابلیتهای پایپلاین
- مثال کامل از انتها به انتها
- رفع اشکال و ادامه مسیر با GitLab
- ضمیمه: سؤالات و پاسخهای خودارزیابی
در پایان این کتاب:
توانایی ساخت پایپلاینهایی ایمن، سریع و انعطافپذیر خواهید داشت که مراحل توسعه، تست و استقرار را بهصورت کاملاً خودکار انجام میدهند و درک عمیقی از چرخه DevOps در GitLab کسب خواهید کرد.
فهرست مطالب
- Cover
- Title Page
- Copyright and Credit
- Dedicated
- Contributors
- Table of Contents
- Preface
- Part 1: Getting Started with DevOps, Git, and GitLab
- Chapter 1: Understanding Life Before DevOps
- Introducing the Hats for Cats web app
- Building and verifying code manually
- Security-testing code manually
- Packaging and deploying code manually
- Problems with manual software development life cycle practices
- Solving problems with DevOps
- Summary
- Chapter 2: Practicing Basic Git Commands
- Technical requirements
- Why use Git?
- Committing code to keep it safe
- Tagging commits to identify versions of code
- Branching code for developing in an isolated space
- Syncing local and remote copies of repositories
- Additional resources for learning Git
- Summary
- Chapter 3: Understanding GitLab Components
- Technical requirements
- Emphasizing the “why” over the “how”
- Introducing the GitLab platform
- Organizing work into projects and groups
- Tracking work with issues
- Editing files safely with commits, branches, and merge requests
- Enabling DevOps practices with GitLab flow
- Summary
- Chapter 4: Understanding GitLab’s CI/CD Pipeline Structure
- Technical requirements
- Defining the terms pipeline, CI, and CD
- Parts of a pipeline – stages, jobs, and commands
- Running GitLab CI/CD pipelines
- Reading GitLab CI/CD pipeline statuses
- Configuring GitLab CI/CD pipelines
- Summary
- Part 2: Automating DevOps Stages with GitLab CI/CD Pipelines
- Chapter 5: Installing and Configuring GitLab Runners
- Technical requirements
- Defining GitLab runners and their relationship to CI/CD
- The runner architecture and supported platforms
- Installing the Runner agent
- Considerations regarding the various runner types and executors
- Summary
- Chapter 6: Verifying Your Code
- Technical requirements
- Building code in a CI/CD pipeline
- Checking code quality in a CI/CD pipeline
- Running automated functional tests in a CI/CD pipeline
- Fuzz testing in a CI/CD pipeline
- Checking accessibility in a CI/CD pipeline
- Additional ways to verify your code
- Summary
- Chapter 7: Securing Your Code
- Technical requirements
- Understanding GitLab’s security scanning strategy
- Using SAST to scan your source code for vulnerabilities
- Using Secret Detection to find private information in your repository
- Using DAST to find vulnerabilities in web applications
- Using Dependency Scanning to find vulnerabilities in dependencies
- Using Container Scanning to find vulnerabilities in Docker images
- Using License Compliance to manage licenses of dependencies
- Using IaC Scanning to find problems in infrastructure configuration files
- Understanding the different types of security reports
- Managing security vulnerabilities
- Integrating outside security scanners
- Summary
- Chapter 8: Packaging and Deploying Code
- Technical requirements
- Storing code in GitLab’s package registry for later re-use
- Storing code in GitLab’s container and package registries for later deployment
- Deploying to different environments using GitLab Flow
- Deploying to a review app for testing
- Deploying to real-world production environments
- Deploying to a Kubernetes cluster
- Summary
- Part 3: Next Steps for Improving Your Applications with GitLab
- Chapter 9: Enhancing the Speed and Maintainability of CI/CD Pipelines
- Accelerating pipelines with directed acyclic graphs and parent-child architecture
- Building code for multiple architectures
- When and how to leverage caching or artifacts
- Reducing repeated configuration code with anchors and extensions
- Improving maintainability by combining multiple pipelines and leveraging parent-child pipelines
- Securing and accelerating jobs with purpose-built containers
- Summary
- Chapter 10: Extending the Reach of CI/CD Pipelines
- Using CI/CD pipelines to spot performance problems
- Integrating third-party tools into your CI/CD pipelines
- Using CI/CD pipelines for developing mobile apps
- Summary
- Chapter 11: End-to-End Example
- Technical requirements
- Setting up your environment
- Writing code
- Establishing the pipeline infrastructure
- Verifying your code
- Securing your code
- Improving your pipeline
- Delivering your code to the right environment
- Summary
- Chapter 12: Troubleshooting and the Road Ahead with GitLab
- Technical requirements
- Troubleshooting and best practices for common pipeline problems
- Managing your operational infrastructure using GitOps
- Future industry trends
- Conclusion and next steps
- Index
- Other Books You May Enjoy
مشخصات
نام کتاب
Automating DevOps with GitLab CI/CD Pipelines
نویسنده
Christopher Cowell, Nicholas Lotz, Chris Timberlake
انتشارات
Packt Publishing
تاریخ انتشار
2023
ISBN
9781803233000
تعداد صفحات
348
زبان
انگلیسی
فرمت
حجم
4.7MB
موضوع
Computers\Networking