From YAML to Automation

2.3. From YAML to Automation#

How is a YAML file turned into an automated workflow?

Note

A runner is a machine or a process that executes the jobs defined in your pipeline. It can be a physical server, a virtual machine, or a container.

  1. Syntax Parsing: Check for syntax errors.

  2. Parsing and Validating Structure: Validate the YAML structure.

  3. Generating Execution Instructions: Create a queue of jobs.

  4. Runner Polling for Jobs: Fetch jobs for execution.

  5. Running on Runners: Execute jobs in the specified environment.

  6. Job Completion and Result Reporting: Report job status.

  7. Artifact and Log Collection: Upload artifacts and logs.

  8. Pipeline Status Update and Notifications: Update pipeline status and notify team members.

  9. Retention and Cleanup: Manage artifacts and logs.