جلد کتاب کاربرد عملی GitHub Actions – نسخه اول

اثر  Michael Kaufmann, Rob Ros, Marcel de Vries

عنوان:

GitHub Actions in Action Edition: 1

نویسنده:

Michael Kaufmann, Rob Ros, Marcel de Vries

انتشارات:

Manning City: Shelter Island, NY

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

2024

حجم:

3.3MB

دانلود

معرفی کتاب:" کاربرد عملی GitHub Actions – نسخه اول "

کتاب «GitHub Actions in Action» راهنمایی عملی و گام‌به‌گام برای ساخت، آزمون و استقرار خودکار پروژه‌های نرم‌افزاری با استفاده از GitHub Actions است. این کتاب به توسعه‌دهندگان و مهندسان DevOps کمک می‌کند تا با بهره‌گیری از ابزارهای بومی GitHub، فرآیندهای CI/CD را به‌طور کامل خودکارسازی کنند.

درباره کتاب:

در این کتاب، با یک اپلیکیشن واقعی فروش بلیط همراه خواهید شد و از مراحل ساخت تا استقرار نهایی در فضای ابری را به‌طور عملی تجربه می‌کنید. در فصل‌های ابتدایی با مفاهیم پایه‌ای مانند workflow و action آشنا می‌شوید. سپس به سراغ موضوعاتی پیشرفته‌تر مانند امنیت، runtime، معماری پلتفرم و بهینه‌سازی عملکرد خواهید رفت. در نهایت یاد می‌گیرید چگونه action اختصاصی بسازید و آن را در مارکت‌پلیس GitHub منتشر کنید.

آنچه خواهید آموخت:

  • ایجاد و به‌اشتراک‌گذاری workflowهای GitHub Actions
  • خودکارسازی وظایف CI/CD و سایر فرآیندهای GitHub
  • ایمن‌سازی پایپ‌لاین‌ها با استفاده از secrets، متغیرها و محیط‌ها
  • پشتیبانی از چارچوب‌های انطباق سازمانی
  • ساخت runnerهای self-hosted ایمن و مقیاس‌پذیر

چرا این کتاب مهم است؟

کتاب GitHub Actions in Action با روش‌هایی آزموده‌شده در پروژه‌های واقعی، راهکارهایی کاربردی برای خودکارسازی توسعه و استقرار ارائه می‌دهد. این کتاب نه‌تنها برای پیاده‌سازی Infrastructure-as-Code مفید است، بلکه به شما کمک می‌کند تا فرآیند انتشار را سریع‌تر، مطمئن‌تر و هوشمندتر اجرا کنید.

مناسب برای:

توسعه‌دهندگان نرم‌افزار، مهندسان DevOps و تیم‌هایی که از GitHub استفاده می‌کنند و قصد دارند مهارت خود را در زمینه GitHub Actions ارتقا دهند.

درباره نویسندگان:

مایکل کافمن، Microsoft Regional Director و MVP
راب باس، مدرس GitHub و Azure در LinkedIn Learning و MVP مایکروسافت
مارسل دی‌فریس، مدیرکل فناوری در شرکت Xebia، با بیش از ۱۷ سال عنوان MVP و تجربه طولانی در نقش Microsoft Regional Director

فهرست مطالب

  • Foreword
  • Preface
  • Acknowledgments
  • About this book
  • About the authors
  • About the cover illustration
  • Part 1: Action fundamentals
  • Chapter 1: Introduction to GitHub Actions
  • 1.1 An introduction to the GitHub universe
  • 1.2 What are GitHub Actions and workflows?
  • 1.3 GitHub Actions: More than CI/CD pipelines
  • 1.4 Hosting and pricing for GitHub and GitHub Actions
  • 1.5 Conclusion
  • Chapter 2: Hands-on: My first Actions workflow
  • 2.1 Creating a new workflow
  • 2.2 Using the workflow editor
  • 2.3 Using actions from the marketplace
  • 2.4 Running the workflow
  • 2.5 Conclusion
  • Chapter 3: Workflows
  • 3.1 YAML
  • 3.2 The workflow syntax
  • 3.3 Events and triggers
  • 3.4 Workflow jobs and steps
  • 3.5 Expressions and contexts
  • 3.6 Workflow commands
  • 3.7 Secrets and variables
  • 3.8 Workflow permissions
  • 3.9 Authoring and debugging workflows
  • 3.10 Conclusion
  • Chapter 4: GitHub Actions
  • 4.1 Types of actions
  • 4.2 Authoring actions
  • 4.3 Hands-on lab: My first Docker container action
  • 4.4 Sharing actions
  • 4.5 Advanced action development
  • 4.6 Best practices
  • 4.7 Conclusion
  • Workflow runtime
  • Part 2: Workflow runtime
  • Chapter 5: Runners
  • 5.1 Targeting a runner
  • 5.2 Queuing jobs
  • 5.3 The runner application
  • 5.4 GitHub-hosted runners
  • 5.5 Hosted operating systems
  • 5.6 Installed software
  • 5.7 Default shells
  • 5.8 Installing extra software
  • 5.9 Location and hardware specifications of the hosted runners
  • 5.10 Concurrent jobs
  • 5.11 Larger GitHub-hosted runners
  • 5.12 GitHub-hosted runners in your own Azure Virtual Network
  • 5.13 Billing GitHub-hosted runners
  • 5.14 Analyzing the usage of GitHub-hosted runners
  • 5.15 Self-hosted runners
  • Chapter 6: Self-hosted runners
  • 6.1 Setting up self-hosted runners
  • 6.2 Security risks of self-hosted runners
  • 6.3 Single-use runners
  • 6.4 Disabling self-hosted runner creation
  • 6.5 Autoscaling options
  • Chapter 7: Managing your self-hosted runners
  • 7.1 Runner groups
  • 7.2 Monitoring your runners
  • 7.3 Runner utilization and capacity needs
  • 7.4 Monitoring network access
  • 7.5 Internal billing for action usage
  • Part 3: CI/CD with GitHub Actions
  • Chapter 8: Continuous integration
  • 8.1 GloboTicket: A sample application
  • 8.2 Why continuous integration?
  • 8.3 Types of CI
  • 8.4 Generic CI workflow steps
  • 8.5 Preparing for deployment
  • 8.6 The CI workflows for GloboTicket
  • 8.7 Conclusion
  • Chapter 9: Continuous delivery
  • 9.1 CD workflow steps
  • 9.2 Using environments
  • 9.3 Deployment strategies
  • Chapter 10: Security
  • 10.1 Preventing pwn requests
  • 10.2 Managing untrusted input
  • 10.3 GitHub Actions security
  • 10.4 Supply chain security
  • Chapter 11: Compliance
  • 11.1 How to ensure traceability of work
  • 11.2 How to enforce the four-eyes principle
  • 11.3 Mandatory workflows
  • Summary
  • Chapter 12: Improving workflow performance and costs
  • 12.1 Dealing with high-volume builds
  • 12.2 Reducing the costs of maintaining artifacts
  • 12.3 Improving performance
  • 12.4 Optimizing your jobs
  • Index

مشخصات

نام کتاب

GitHub Actions in Action Edition: 1

نویسنده

Michael Kaufmann, Rob Ros, Marcel de Vries

انتشارات

Manning City: Shelter Island, NY

تاریخ انتشار

2024

ISBN

9781633437302

تعداد صفحات

257

زبان

انگلیسی

فرمت

pdf

حجم

3.3MB

موضوع

Security; Docker; GitHub