DEV Community

Supraja Tangella
Supraja Tangella

Posted on

๐—ช๐—ต๐˜† ๐—˜๐—ป๐˜๐—ฒ๐—ฟ๐—ฝ๐—ฟ๐—ถ๐˜€๐—ฒ๐˜€ ๐—ฃ๐—ฟ๐—ฒ๐—ณ๐—ฒ๐—ฟ ๐—ฌ๐—”๐— ๐—Ÿ ๐—ฃ๐—ถ๐—ฝ๐—ฒ๐—น๐—ถ๐—ป๐—ฒ๐˜€ ๐—ถ๐—ป ๐—”๐˜‡๐˜‚๐—ฟ๐—ฒ ๐——๐—ฒ๐˜ƒ๐—ข๐—ฝ๐˜€

Our team recently migrated from the Classic Editor to YAML pipelines.
As part of this transition, I am actively practicing the use of ๐—ฌ๐—”๐— ๐—Ÿ ๐—ณ๐—ถ๐—น๐—ฒ๐˜€ ๐—ถ๐—ป ๐—”๐˜‡๐˜‚๐—ฟ๐—ฒ ๐——๐—ฒ๐˜ƒ๐—ข๐—ฝ๐˜€ and exploring how they improve the way CI/CD pipelines are built and managed.

๐—ช๐—ต๐—ฎ๐˜ ๐—ถ๐˜€ ๐—ฎ ๐—ฌ๐—”๐— ๐—Ÿ ๐—™๐—ถ๐—น๐—ฒ ๐—ถ๐—ป ๐—”๐˜‡๐˜‚๐—ฟ๐—ฒ ๐——๐—ฒ๐˜ƒ๐—ข๐—ฝ๐˜€?

  • YAML (Yet Another Markup Language) is a text-based format used to define CI/CD pipeline processes.
  • It allows pipeline configuration to be stored as code within the same repository as the application.

๐—”๐—ฑ๐˜ƒ๐—ฎ๐—ป๐˜๐—ฎ๐—ด๐—ฒ๐˜€ ๐—ผ๐—ณ ๐—ฌ๐—”๐— ๐—Ÿ ๐—ข๐˜ƒ๐—ฒ๐—ฟ ๐—–๐—น๐—ฎ๐˜€๐˜€๐—ถ๐—ฐ ๐—˜๐—ฑ๐—ถ๐˜๐—ผ๐—ฟ:

  • ๐—ฉ๐—ฒ๐—ฟ๐˜€๐—ถ๐—ผ๐—ป ๐—–๐—ผ๐—ป๐˜๐—ฟ๐—ผ๐—น ๐—™๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฑ๐—น๐˜† โ€“ Pipeline definitions are stored with the application code and versioned through Git.
  • ๐—ฅ๐—ฒ๐˜‚๐˜€๐—ฎ๐—ฏ๐—น๐—ฒ ๐—ฎ๐—ป๐—ฑ ๐— ๐—ผ๐—ฑ๐˜‚๐—น๐—ฎ๐—ฟ โ€“ Supports templates and parameters for reusable pipeline logic.
  • ๐—™๐˜‚๐—น๐—น ๐—”๐˜‚๐˜๐—ผ๐—บ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ฆ๐˜‚๐—ฝ๐—ฝ๐—ผ๐—ฟ๐˜ โ€“ Ideal for Infrastructure as Code (IaC) and GitOps workflows.
  • ๐—œ๐—บ๐—ฝ๐—ฟ๐—ผ๐˜ƒ๐—ฒ๐—ฑ ๐—–๐—ผ๐—น๐—น๐—ฎ๐—ฏ๐—ผ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป โ€“ Teams can review and approve pipeline changes via pull requests.
  • ๐—–๐—ผ๐—ป๐˜€๐—ถ๐˜€๐˜๐—ฒ๐—ป๐˜ ๐—”๐—ฐ๐—ฟ๐—ผ๐˜€๐˜€ ๐—˜๐—ป๐˜ƒ๐—ถ๐—ฟ๐—ผ๐—ป๐—บ๐—ฒ๐—ป๐˜๐˜€ โ€“ Reduces manual setup and supports promotion across Dev, QA, and Production.

๐—ช๐—ต๐˜† ๐—˜๐—ป๐˜๐—ฒ๐—ฟ๐—ฝ๐—ฟ๐—ถ๐˜€๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ท๐—ฒ๐—ฐ๐˜๐˜€ ๐—ฃ๐—ฟ๐—ฒ๐—ณ๐—ฒ๐—ฟ ๐—ฌ๐—”๐— ๐—Ÿ:

  • Enables ๐—ฎ๐˜‚๐—ฑ๐—ถ๐˜๐—ฎ๐—ฏ๐—น๐—ฒ, ๐˜€๐—ฐ๐—ฎ๐—น๐—ฎ๐—ฏ๐—น๐—ฒ, and ๐—ฟ๐—ฒ๐—ฝ๐—ฒ๐—ฎ๐˜๐—ฎ๐—ฏ๐—น๐—ฒ CI/CD practices.
  • Promotes ๐˜๐—ฟ๐—ฎ๐—ป๐˜€๐—ฝ๐—ฎ๐—ฟ๐—ฒ๐—ป๐—ฐ๐˜† and ๐—ฎ๐—ด๐—ถ๐—น๐—ถ๐˜๐˜† by integrating pipeline management into the development workflow.
  • Supports ๐—บ๐˜‚๐—น๐˜๐—ถ-๐—ฒ๐—ป๐˜ƒ๐—ถ๐—ฟ๐—ผ๐—ป๐—บ๐—ฒ๐—ป๐˜ ๐—ฑ๐—ฒ๐—ฝ๐—น๐—ผ๐˜†๐—บ๐—ฒ๐—ป๐˜๐˜€ and ๐—ฏ๐—ฟ๐—ฎ๐—ป๐—ฐ๐—ต-๐—ฏ๐—ฎ๐˜€๐—ฒ๐—ฑ ๐˜€๐˜๐—ฟ๐—ฎ๐˜๐—ฒ๐—ด๐—ถ๐—ฒ๐˜€ with better control and visibility.

๐—œ๐˜€ ๐˜†๐—ผ๐˜‚๐—ฟ ๐˜๐—ฒ๐—ฎ๐—บ ๐˜€๐˜๐—ถ๐—น๐—น ๐˜‚๐˜€๐—ถ๐—ป๐—ด ๐˜๐—ต๐—ฒ ๐—–๐—น๐—ฎ๐˜€๐˜€๐—ถ๐—ฐ ๐—˜๐—ฑ๐—ถ๐˜๐—ผ๐—ฟ ๐—ณ๐—ผ๐—ฟ ๐—–๐—œ/๐—–๐—— ๐—ฝ๐—ถ๐—ฝ๐—ฒ๐—น๐—ถ๐—ป๐—ฒ๐˜€, ๐—ผ๐—ฟ ๐—ต๐—ฎ๐˜ƒ๐—ฒ ๐˜†๐—ผ๐˜‚ ๐—ฎ๐—ฑ๐—ผ๐—ฝ๐˜๐—ฒ๐—ฑ ๐—ฌ๐—”๐— ๐—Ÿ? ๐—ช๐—ต๐—ฎ๐˜ ๐—ต๐—ฎ๐˜€ ๐˜†๐—ผ๐˜‚๐—ฟ ๐—ฒ๐˜…๐—ฝ๐—ฒ๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ ๐—ฏ๐—ฒ๐—ฒ๐—ป ๐˜„๐—ถ๐˜๐—ต ๐˜๐—ต๐—ถ๐˜€ ๐˜€๐—ต๐—ถ๐—ณ๐˜?

Top comments (0)