GitHub Actions Cookbook

GitHub Actions Cookbook PDF

Author: Michael Kaufmann

Publisher: Packt Publishing Ltd

Published: 2024-04-30

Total Pages: 250

ISBN-13: 1835469140

DOWNLOAD EBOOK →

Authored by a Microsoft Regional Director, this book shows you how to leverage the power of the community-driven GitHub Actions workflow platform to automate repetitive engineering tasks Key Features Automate CI/CD workflows and deploy securely to cloud providers like Azure, AWS, or GCP using OpenID Create your own custom actions with Docker, JavaScript programming, or shell scripts and share them with others Discover ways to automate complex scenarios beyond the basic ones documented in GitHub Book DescriptionSay goodbye to tedious tasks! GitHub Actions is a powerful workflow engine that automates everything in the GitHub ecosystem, letting you focus on what matters most. This book explains the GitHub Actions workflow syntax, the different kinds of actions, and how GitHub-hosted and self-hosted workflow runners work. You’ll get tips on how to author and debug GitHub Actions and workflows with Visual Studio Code (VS Code), run them locally, and leverage the power of GitHub Copilot. The book uses hands-on examples to walk you through real-world use cases that will help you automate the entire release process. You’ll cover everything, from automating the generation of release notes to building and testing your software and deploying securely to Azure, Amazon Web Services (AWS), or Google Cloud using OpenID Connect (OIDC), secrets, variables, environments, and approval checks. The book goes beyond CI/CD by demonstrating recipes to execute IssueOps and automate other repetitive tasks using the GitHub CLI, GitHub APIs and SDKs, and GitHub Token. You’ll learn how to build your own actions and reusable workflows to share building blocks with the community or within your organization. By the end of this GitHub book, you'll have gained the skills you need to automate tasks and work with remarkable efficiency and agility.What you will learn Author and debug GitHub Actions workflows with VS Code and Copilot Run your workflows on GitHub-provided VMs (Linux, Windows, and macOS) or host your own runners in your infrastructure Understand how to secure your workflows with GitHub Actions Boost your productivity by automating workflows using GitHub's powerful tools, such as the CLI, APIs, SDKs, and access tokens Deploy to any cloud and platform in a secure and reliable way with staged or ring-based deployments Who this book is for This book is for anyone looking for a practical approach to learning GitHub Actions, regardless of their experience level. Whether you're a software developer, a DevOps engineer, anyone who has already experimented with Actions, or someone completely new to CI/CD tools like Jenkins or Azure Pipelines, you’ll find expert insights in this book. Basic knowledge of using Git and command lines is a must.

Automating Workflows with GitHub Actions

Automating Workflows with GitHub Actions PDF

Author: Priscila Heller

Publisher: Packt Publishing Ltd

Published: 2021-11-11

Total Pages: 216

ISBN-13: 1800569033

DOWNLOAD EBOOK →

Build, test, and deploy code right from your GitHub repository by automating, customizing, and executing software development workflows with GitHub Actions Key FeaturesEnhance your CI/CD and DevOps workflows using GitHub ActionsDiscover how to create custom GitHub Actions using Docker and JavaScriptGet up and running with building a CI/CD pipeline effectivelyBook Description GitHub Actions is one of the most popular products that enables you to automate development tasks and improve your software development workflow. Automating Workflows with GitHub Actions uses real-world examples to help you automate everyday tasks and use your resources efficiently. This book takes a practical approach to helping you develop the skills needed to create complex YAML files to automate your daily tasks. You'll learn how to find and use existing workflows, allowing you to get started with GitHub Actions right away. Moving on, you'll discover complex concepts and practices such as self-hosted runners and writing workflow files that leverage other platforms such as Docker as well as programming languages such as Java and JavaScript. As you advance, you'll be able to write your own JavaScript, Docker, and composite run steps actions, and publish them in GitHub Marketplace! You'll also find instructions to migrate your existing CI/CD workflows into GitHub Actions from platforms like Travis CI and GitLab. Finally, you'll explore tools that'll help you stay informed of additions to GitHub Actions along with finding technical support and staying engaged with the community. By the end of this GitHub book, you'll have developed the skills and experience needed to build and maintain your own CI/CD pipeline using GitHub Actions. What you will learnGet to grips with the basics of GitHub and the YAML syntaxUnderstand key concepts of GitHub ActionsFind out how to write actions for JavaScript and Docker environmentsDiscover how to create a self-hosted runnerMigrate from other continuous integration and continuous delivery (CI/CD) platforms to GitHub ActionsCollaborate with the GitHub Actions community and find technical help to navigate technical difficultiesPublish your workflows in GitHub MarketplaceWho this book is for This book is for anyone involved in the software development life cycle, for those looking to learn about GitHub Actions and what can be accomplished, and for those who want to develop a new skill to help them advance their software development career. If you are new to GitHub and GitHub Actions in general, then this book is for you. Basic knowledge of GitHub as a platform will help you to get the most out of this book.

Git Recipes

Git Recipes PDF

Author: Wlodzimierz Gajda

Publisher: Apress

Published: 2014-01-20

Total Pages: 411

ISBN-13: 1430261048

DOWNLOAD EBOOK →

Whether you're relatively new to git or you need a refresher, or if you just need a quick, handy reference for common tasks in git, Git Recipes is just the reference book you need. With recipes to cover any task you can think of, including working with GitHub and git on BitBucket, Git Recipes shows you how to work with large repositories, new repositories, forks, clones, conflicts, differences, and it even gives you practical scenarios you may find yourself dealing with while using git. If you work with Git at all, you need this hands-on, practical reference for all things Git.

Clojure Cookbook

Clojure Cookbook PDF

Author: Luke VanderHart

Publisher: "O'Reilly Media, Inc."

Published: 2014-03-05

Total Pages: 474

ISBN-13: 1449366414

DOWNLOAD EBOOK →

With more than 150 detailed recipes, this cookbook shows experienced Clojure developers how to solve a variety of programming tasks with this JVM language. The solutions cover everything from building dynamic websites and working with databases to network communication, cloud computing, and advanced testing strategies. And more than 60 of the world’s best Clojurians contributed recipes. Each recipe includes code that you can use right away, along with a discussion on how and why the solution works, so you can adapt these patterns, approaches, and techniques to situations not specifically covered in this cookbook. Master built-in primitive and composite data structures Create, develop and publish libraries, using the Leiningen tool Interact with the local computer that’s running your application Manage network communication protocols and libraries Use techniques for connecting to and using a variety of databases Build and maintain dynamic websites, using the Ring HTTP server library Tackle application tasks such as packaging, distributing, profiling, and logging Take on cloud computing and heavyweight distributed data crunching Dive into unit, integration, simulation, and property-based testing Clojure Cookbook is a collaborative project with contributions from some of the world’s best Clojurians, whose backgrounds range from aerospace to social media, banking to robotics, AI research to e-commerce.

Mockito Cookbook

Mockito Cookbook PDF

Author: Marcin Grzejszczak

Publisher: Packt Publishing Ltd

Published: 2014-06-24

Total Pages: 465

ISBN-13: 1783982756

DOWNLOAD EBOOK →

This is a focused guide with lots of practical recipes with presentations of business issues and presentation of the whole test of the system. This book shows the use of Mockito's popular unit testing frameworks such as JUnit, PowerMock, TestNG, and so on. If you are a software developer with no testing experience (especially with Mockito) and you want to start using Mockito in the most efficient way then this book is for you. This book assumes that you have a good knowledge level and understanding of Java-based unit testing frameworks.

R Markdown Cookbook

R Markdown Cookbook PDF

Author: Yihui Xie

Publisher: CRC Press

Published: 2020-10-21

Total Pages: 353

ISBN-13: 1000290883

DOWNLOAD EBOOK →

This new book written by the developers of R Markdown is an essential reference that will help users learn and make full use of the software. Those new to R Markdown will appreciate the short, practical examples that address the most common issues users encounter. Frequent users will also benefit from the wide ranging tips and tricks that expose ‘hidden’ features, support customization and demonstrate the many new and varied applications of the software. After reading this book users will learn how to: Enhance your R Markdown content with diagrams, citations, and dynamically generated text Streamline your workflow with child documents, code chunk references, and caching Control the formatting and layout with Pandoc markdown syntax or by writing custom HTML and LaTeX templates Utilize chunk options and hooks to fine-tune how your code is processed Switch between different language engineers to seamlessly incorporate python, D3, and more into your analysis

Vulkan Cookbook

Vulkan Cookbook PDF

Author: Pawel Lapinski

Publisher: Packt Publishing Ltd

Published: 2017-04-28

Total Pages: 692

ISBN-13: 1786464705

DOWNLOAD EBOOK →

Work through recipes to unlock the full potential of the next generation graphics API—Vulkan About This Book This book explores a wide range of modern graphics programming techniques and GPU compute methods to make the best use of the Vulkan API Learn techniques that can be applied to a wide range of platforms desktop, smartphones, and embedded devices Get an idea on the graphics engine with multi-platform support and learn exciting imaging processing and post-processing techniques Who This Book Is For This book is ideal for developers who know C/C++ languages, have some basic familiarity with graphics programming, and now want to take advantage of the new Vulkan API in the process of building next generation computer graphics. Some basic familiarity of Vulkan would be useful to follow the recipes. OpenGL developers who want to take advantage of the Vulkan API will also find this book useful. What You Will Learn Work with Swapchain to present images on screen Create, submit, and synchronize operations processed by the hardware Create buffers and images, manage their memory, and upload data to them from CPU Explore descriptor sets and set up an interface between application and shaders Organize drawing operations into a set of render passes and subpasses Prepare graphics pipelines to draw 3D scenes and compute pipelines to perform mathematical calculations Implement geometry projection and tessellation, texturing, lighting, and post-processing techniques Write shaders in GLSL and convert them into SPIR-V assemblies Find out about and implement a collection of popular, advanced rendering techniques found in games and benchmarks In Detail Vulkan is the next generation graphics API released by the Khronos group. It is expected to be the successor to OpenGL and OpenGL ES, which it shares some similarities with such as its cross-platform capabilities, programmed pipeline stages, or nomenclature. Vulkan is a low-level API that gives developers much more control over the hardware, but also adds new responsibilities such as explicit memory and resources management. With it, though, Vulkan is expected to be much faster. This book is your guide to understanding Vulkan through a series of recipes. We start off by teaching you how to create instances in Vulkan and choose the device on which operations will be performed. You will then explore more complex topics such as command buffers, resources and memory management, pipelines, GLSL shaders, render passes, and more. Gradually, the book moves on to teach you advanced rendering techniques, how to draw 3D scenes, and how to improve the performance of your applications. By the end of the book, you will be familiar with the latest advanced techniques implemented with the Vulkan API, which can be used on a wide range of platforms. Style and approach This recipe-based guide will empower you to implement modern graphic programming techniques and help gain a solid understanding of the new Vulkan API.

CMake Cookbook

CMake Cookbook PDF

Author: Radovan Bast

Publisher: Packt Publishing Ltd

Published: 2018-09-26

Total Pages: 600

ISBN-13: 1788472349

DOWNLOAD EBOOK →

Learn CMake through a series of task-based recipes that provide you with practical, simple, and ready-to-use CMake solutions for your code Key FeaturesLearn to configure, build, test, and package software written in C, C++, and FortranProgress from simple to advanced tasks with examples tested on Linux, macOS, and WindowsManage code complexity and library dependencies with reusable CMake building blocksBook Description CMake is cross-platform, open-source software for managing the build process in a portable fashion. This book features a collection of recipes and building blocks with tips and techniques for working with CMake, CTest, CPack, and CDash. CMake Cookbook includes real-world examples in the form of recipes that cover different ways to structure, configure, build, and test small- to large-scale code projects. You will learn to use CMake's command-line tools and master modern CMake practices for configuring, building, and testing binaries and libraries. With this book, you will be able to work with external libraries and structure your own projects in a modular and reusable way. You will be well-equipped to generate native build scripts for Linux, MacOS, and Windows, simplify and refactor projects using CMake, and port projects to CMake. What you will learnConfigure, build, test, and install code projects using CMakeDetect operating systems, processors, libraries, files, and programs for conditional compilationIncrease the portability of your codeRefactor a large codebase into modules with the help of CMakeBuild multi-language projectsKnow where and how to tweak CMake configuration files written by somebody elsePackage projects for distributionPort projects to CMakeWho this book is for If you are a software developer keen to manage build systems using CMake or would like to understand and modify CMake code written by others, this book is for you. A basic knowledge of C++, C, or Fortran is required to understand the topics covered in this book.

Android Cookbook

Android Cookbook PDF

Author: Ian Darwin

Publisher: "O'Reilly Media, Inc."

Published: 2012-04-20

Total Pages: 687

ISBN-13: 1449388418

DOWNLOAD EBOOK →

Jump in and build working Android apps with the help of over 200 tested recipes contributed by more than three dozen developers.

Libgdx Cross-platform Game Development Cookbook

Libgdx Cross-platform Game Development Cookbook PDF

Author: David Saltares Márquez

Publisher: Packt Publishing Ltd

Published: 2014-10-29

Total Pages: 816

ISBN-13: 1783287306

DOWNLOAD EBOOK →

If you want to make cross-platform games without the hassle and dangers of writing platform-specific code, or If you are a game programmer who may have some experience with Java and you want to learn everything you need to know about Libgdx to produce awesome work, this is the book for you. To take full advantage of the recipes in this book, you are expected to be familiar with java with good game programming knowledge.