• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 17 páginas
Examen

Github Actions Test With Complete Solution

Document preview thumbnail
Vista previa 3 fuera de 17 páginas

Github Actions Test With Complete Solution...

Vista previa del contenido

Github Actions Test With
Complete Solution

The Workflow Syntax is written in? - ANSWER YAML

The Workflow Syntax must have what file extensions? - ANSWER .yml or
.yaml

The Workflow is stored in what directory? - ANSWER .github/workflows/

Each different YAML file corresponds to what? - ANSWER A different
workflow.

Where is the Workflow's name displayed? - ANSWER In the repository's
actions page

What is the Workflow, Job, or Step ENV? - ANSWER A map of environment
variables that are available within each Workflow.

What is the On Event used for? - ANSWER The event type that triggers the
Workflow.

How can you provide arguments to the On Event in your Workflow? -
ANSWER As a single event string, an array of events, or a configuration map
that restricts the execution of a workflow.

With regards to the On Event, Paths specify what? - ANSWER Specify which
files must have been modified in order to run a workflow.




With regards to the On Event, if your rules are made up of only exclusions,

,you can use what keywords? - ANSWER Branches-ignore, tags-ignore, and
paths-ignore.




With regards to the On Event, what keyword forms cannot be mixed. -
ANSWER The "-ignore' form and the inclusive version.




With regards to the On Event, what types of keywords allow us to narrow
down activities? - ANSWER Opened, Created, Edited, etc...




A workflow is made up of one or more...? - ANSWER One or more Jobs




Jobs are identified by what? - ANSWER A unique Job ID or name. Starts with
a letter or underscore.




How do jobs run as a default? - ANSWER Jobs run in parallel




Where does each job run? - ANSWER Each job runs in a fresh instance
specified by `runs-on`.




What is the Job Name used for? - ANSWER It's the name displayed on
GitHub.

, What is the Needs keyword? - ANSWER Identifies any job that must complete
successfully before this job can run. Makes the jobs run sequentially.




How can arguments be passed to the Needs keyword? - ANSWER Arguments
can be passed as a string or as an array of strings.




What happens if a job needs another job and it fails? - ANSWER All jobs that
need a failed job are skipped unless the job uses a conditional statement that
causes the job to continue.




What does the 'runs-on' keyword determine? - ANSWER It determines the
type of virtual host machine to run the job on.




Where can the jobs virtual host run? - ANSWER It can run either in a Github, a
self-hosted runner, or a user-specified container.




What can be ran in a container? - ANSWER A container can run any steps in a
job that don't already specify a container.




If you have steps that use both script and container actions, what will happen
to the two containers? - ANSWER The container actions will run as siblings

Información del documento

Subido en
27 de octubre de 2024
Número de páginas
17
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$12.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Smooth
4.1
(67)
Vendido
353
Seguidores
216
Artículos
3029
Última venta
1 mes hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes