یادگیری GitHub Actions: خودکارسازی و یکپارچه‌سازی CI/CD با GitHub

عنوان:

Learning GitHub Actions

نویسنده:

Brent Laster

انتشارات:

O'Reilly Media

تاریخ انتشار:

2023

حجم:

9.08MB

دانلود

معرفی کتاب:" یادگیری GitHub Actions: خودکارسازی و یکپارچه‌سازی CI/CD با GitHub "

فرآیندهای توسعه نرم‌افزار خود را با GitHub Actions، پلتفرم continuous integration و continuous delivery که به‌صورت یکپارچه با GitHub ادغام می‌شود، خودکارسازی کنید. در این کتاب کاربردی، Brent Laster، نویسنده منبع‌باز، مدرس و مدیر DevOps، هر آنچه را که باید درباره استفاده و بهره‌برداری از GitHub Actions بدانید، توضیح می‌دهد.

شما یاد خواهید گرفت که actions و workflows چه هستند و چگونه می‌توان از آن‌ها استفاده کرد، آن‌ها را ایجاد کرد و در فرآیندها گنجاند تا کار خود را در GitHub ساده، استاندارد و خودکار کنید.

آنچه در این کتاب خواهید آموخت

این کتاب پلتفرم، مؤلفه‌ها، موارد استفاده، پیاده‌سازی و نقاط ادغام actions را توضیح می‌دهد تا بتوانید از آن‌ها برای ارائه قابلیت‌ها و ویژگی‌های موردنیاز در pipelineهای پیچیده امروزی و فرآیندهای توسعه نرم‌افزار بهره ببرید.

یاد می‌گیرید چگونه workflows خودکاری طراحی و پیاده‌سازی کنید که به رویدادهای رایجی مانند pushها، pull requestها و به‌روزرسانی‌های review واکنش نشان دهند. همچنین خواهید آموخت که چگونه از مؤلفه‌های پلتفرم GitHub Actions برای دستیابی به بیشترین سطح خودکارسازی و بهره‌وری استفاده کنید.

مباحث کلیدی کتاب

  • یاد می‌گیرید GitHub Actions چیست و چه کاربردهایی دارد
  • درک ساختار، syntax و semantics مربوط به GitHub Actions
  • خودکارسازی فرآیندها و پیاده‌سازی قابلیت‌های پیشرفته
  • ایجاد actions سفارشی با استفاده از Docker، jаvascript یا shell
  • عیب‌یابی و debug کردن workflows دارای actions
  • ادغام actions با GitHub APIها و سایر ابزارها
  • بررسی روش‌های امن‌سازی workflows
  • مقایسه GitHub Actions با سایر گزینه‌های CI/CD

مخاطبان هدف

این کتاب برای توسعه‌دهندگان نرم‌افزار، مهندسان DevOps، SREها و کلیه علاقه‌مندان به خودکارسازی فرآیندهای توسعه طراحی شده است. اگر تجربه‌ای اولیه با Git و GitHub دارید و حالا می‌خواهید GitHub Actions را وارد جریان کاری خود کنید، این کتاب یک راهنمای جامع برای شما خواهد بود. حتی اگر پیش‌تر با Jenkins یا Travis CI کار کرده‌اید، این کتاب می‌تواند راهی ساده‌تر و یکپارچه‌تر برای حرکت به سوی CI/CD در GitHub باشد.

دیدگاه کارشناسی

اگرچه GitHub Actions محصولی پیچیده است، اما یادگیری آن نباید دشوار باشد. Brent Laster کتابی عالی نوشته که با روش افشای تدریجی از مفاهیم پایه شروع می‌کند و به ویژگی‌های پیشرفته می‌رسد. چه تازه‌کار باشید چه متخصص، این کتاب تعادل مناسبی از اطلاعات برای بهره‌وری سریع شما فراهم می‌کند.
— Julian C. Dunn، مدیر ارشد محصول GitHub Actions

فهرست مطالب

  • Contents
  • Foreword
  • Preface
  • Part I. Foundations
  • Chapter 1. The Basics
  • What Is GitHub Actions?
  • What Are the Use Cases for GitHub Actions?
  • What Costs Are Involved?
  • When Does Moving to GitHub Actions Make Sense?
  • Conclusion
  • Chapter 2. How Does Actions Work?
  • An Overview
  • Triggering Workflows
  • Components
  • Workflow Execution
  • Conclusion
  • Chapter 3. What’s in an action?
  • The Structure of an action
  • Interfacing with actions
  • Using actions
  • Public actions and the Marketplace
  • Conclusion
  • Chapter 4. Working with Workflows
  • Creating the First Workflow in a Repository
  • Committing the Initial Workflow
  • Using the VS Code GitHub Actions Extension
  • Conclusion
  • Chapter 5. Runners
  • GitHub-Hosted Runners
  • Self-Hosted Runners
  • Autoscaling Self-Hosted Runners
  • Just-in-Time Runners
  • Conclusion
  • Part II. Building Blocks
  • Chapter 6. Managing Your Workflow Environments
  • Naming Your Workflow and Workflow Runs
  • Contexts
  • Environment Variables
  • Secrets and Configuration Variables
  • Managing Permissions for Your Workflow
  • Deployment Environments
  • Conclusion
  • Chapter 7. Managing Data Within Workflows
  • Working with Inputs and Outputs in Workflows
  • Defining Artifacts
  • Uploading and Downloading Artifacts
  • Using Caches in GitHub Actions
  • Conclusion
  • Chapter 8. Managing Workflow Execution
  • Advanced Triggering from Changes
  • Triggering Workflows Without a Change
  • Dealing with Concurrency
  • Running a Workflow with a Matrix
  • Workflow Functions
  • Conclusion
  • Part III. Security and Monitoring
  • Chapter 9. Actions and Security
  • Security by Configuration
  • Security by Design
  • Security by Monitoring
  • Conclusion
  • Chapter 10. Monitoring, Logging, and Debugging
  • Gaining More Observability
  • Working with Past States
  • Debugging Workflows
  • Augmenting and Customizing Logging
  • Conclusion
  • Part IV. Advanced Topics
  • Chapter 11. Creating Custom actions
  • Anatomy of an action
  • Types of Actions
  • Completing Your Action Creation
  • Publishing Actions on the GitHub Marketplace
  • The Actions Toolkit
  • Local actions
  • Conclusion
  • Chapter 12. Advanced Workflows
  • Creating Your Own Starter Workflows
  • Reusable Workflows
  • Required Workflows
  • Conclusion
  • Chapter 13. Advanced Workflow Techniques
  • Driving GitHub from Your Workflow
  • Using a Matrix Strategy to Automatically Create Jobs
  • Using Containers in Your Workflow
  • Conclusion
  • Chapter 14. Migrating to GitHub Actions
  • Prep
  • Azure Pipelines
  • CircleCI
  • GitLab CI/CD
  • Jenkins
  • Travis CI
  • GitHub Actions Importer
  • Conclusion
  • Index
  • About the Author

مشخصات

نام کتاب

Learning GitHub Actions: Automation and Integration of CI/CD with GitHub

نویسنده

Brent Laster

انتشارات

O'Reilly Media

تاریخ انتشار

2023

ISBN

9781098131074

تعداد صفحات

572

زبان

انگلیسی

فرمت

pdf

حجم

9.08MB

موضوع

GitHub