38
CHAPTER 3 | Continuous integration and deployment with Azure DevOps
Feature
Description
GitHub
Actions
Azure
Pipelines
Approvals
Define approval
conditions before moving
further in the pipeline
Yes
Yes
Artifacts
Upload, store, and download artifacts from
jobs
Yes
Yes
Caching
Cache folders or files
for subsequent runs
Yes
Yes
Conditions
Specify conditions for steps or jobs
Yes
Yes
Container Jobs
Run jobs inside a container
Yes
Yes
Demands
Specify demands that must be
met to match
jobs to agents
Yes
Yes
Dependencies
Specify dependencies between jobs or stages
Yes
Yes
Deployment Groups
A logical set
of target machines for
deployments
No
Yes
Deployment Jobs
Job that targets a deployment group
No
Yes
Environments
A collection of resources to target or a logical
environment
Yes
Yes
Gates
Automatic collection and evaluation of signals
to control
continuation
No
Yes
Jobs
Sequence of steps that are executed on an
agent
Yes
Yes
Service Containers
Manage the lifecycle of a containerized service
instance available during a job
Yes
Yes
Service Connections
Abstract credentials to external systems
No
Yes
Passwordless
connections to cloud
providers
Provide technologies
and support use cases
that reduce and potentially eliminate the use
of passwords
Yes
No
Stages
Group jobs in a pipeline
No
Yes
Templates
Define reusable, parameterized building
blocks
for steps, jobs, or variables
Yes
Yes
Starter Templates
Defines a starter workflow based on the type
of code detected in a repository
Yes
No
Triggers
Set of events that cause the pipeline to trigger Yes
Yes
Variables
Variables
that can be passed in, statically or
dynamically defined
Yes
Yes
Variable Groups
Store values for use across multiple pipelines
No
Yes
39
CHAPTER 3 | Continuous integration and deployment with Azure DevOps
Important
GitHub Actions is rapidly evolving. Since the first version of the above table,
GitHub Actions has
release Composite Actions and Reusable Workflows, both of which significantly improve reusability of
GitHub Actions. Passwordless deployment via OpenID Connect (OIDC)
support for Azure, AWS and
Hashi have also been released to beta. Be sure to check documentation carefully before deciding
which platform is right for you.
Recommendation table for common scenarios
The following table shows some common scenarios and platform recommendations for each. As
always, there will be exceptions. Consider your exact scenario carefully.
Do'stlaringiz bilan baham: